alpacahq/alpaca-trade-api-js/starter-dashboard
Claude Code and agent skill by alpacahq/alpaca-trade-api-js
- community
Checking that the SKILL.md file is still in the repository.
Scaffold a local Next.js Alpaca dashboard using the published @alpacahq/alpaca-trade-api SDK for paper Trading API and Market Data API workflows. Use when the user asks for starter-dashboard, a starter Alpaca dashboard, a local Trading API demo, a Market Data API dashboard, or a greenfield Next.js Alpaca SDK prototype.
Install
npx vskill@latest install alpacahq/alpaca-trade-api-js/starter-dashboardSKILL.md
Alpaca Starter Dashboard
Create a local Next.js dashboard for Alpaca paper trading and market data demos. The generated app uses the published @alpacahq/alpaca-trade-api package and calls the Trading API and Market Data API directly through the SDK.
Workflow
- Confirm the target directory and app name.
- Create the app locally with
scripts/scaffold.ts. - Default to paper trading (
APCA_PAPER="true"). Do not configure live trading. - Report the target path and give next commands. Do not print secrets from
.env.local.
Run The Scaffolder
From this skill directory:
If the local runtime supports it, node scripts/scaffold.ts or bun scripts/scaffold.ts are also acceptable. Prefer npx tsx for Node 20 compatibility.
The script reads these credential environment variables when flags are omitted:
APCA_API_KEY_IDAPCA_API_SECRET_KEY
If credentials are not locally available, pass --allow-placeholder-credentials; the generated .env.local will contain placeholders the user must fill before running the app.
Useful flags:
--create-subdirectory: treat--target-directoryas the parent and createtarget/app-name.--key-id/--secret: write explicit paper credentials without reading environment variables.--paper: set the generatedAPCA_PAPERvalue. Defaults totrue; keep this enabled for demos.
The target directory may already contain unrelated files. The scaffolder merges the template into the target, but refuses to overwrite any existing generated path, including .env.local.
Common failures:
- TypeScript runner unavailable: use
npx tsx,nodewith native TypeScript support, orbun. - Missing credentials: set
APCA_API_KEY_IDandAPCA_API_SECRET_KEY, pass--key-id/--secret, or use--allow-placeholder-credentials. - Invalid app name: use a lowercase npm package name with no spaces, uppercase letters, leading dot, or leading underscore.
- Unsafe target: the target must not be a file or symlink, and generated paths must not already exist.
Safety Rules
- Paper trading only by default. Do not configure live trading unless the user explicitly asks and understands the risk.
- Allow non-empty targets, but never overwrite existing files or write through symlinked generated paths.
- Never echo
APCA_API_SECRET_KEYin chat or command output. - Do not run
npm installornpm run devunless the user asks.
Expected Result
The generated app contains package.json, app/, components/, lib/, and .env.local. It includes dashboard, positions, stocks, stock detail, trade, and orders pages.
Next commands:
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/starter-dashboard/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/alpacahq/alpaca-trade-api-js/starter-dashboard)