Set up your local environment to contribute to funkai.
- Node.js >= 24.0.0
- pnpm 9.x (
corepack enableto activate) - Git
- Claude Code CLI (optional but recommended)
gh repo fork joggrdocs/funkai --clone
cd funkaipnpm installRun the full check suite to confirm everything works:
pnpm typecheck && pnpm buildpnpm testRead the project docs in this order:
AGENTS.md-- tech stack, project structure, available commandscontributing/concepts/architecture.md-- package ecosystem, design principles, data flowcontributing/concepts/tech-stack.md-- tools, libraries, and design rationale- Relevant standards in
contributing/standards/as needed - Package docs:
@funkai/agentsand@funkai/prompts
The repo includes built-in configuration for Claude Code:
| File | Purpose |
|---|---|
AGENTS.md |
Persona, project structure, tech stack, commands |
CLAUDE.md |
Symlink to AGENTS.md |
.claude/settings.json |
Claude Code settings and hooks |
Confirm all checks pass:
pnpm typecheck && pnpm build
pnpm testIssue: Running pnpm returns "command not found."
Fix:
corepack enableIssue: Build or install fails after checking out a different branch.
Fix:
pnpm install