Thanks for your interest in BetterPrompt! Here's how to get started.
git clone https://github.com/onlycastle/BetterPrompt.git
cd BetterPrompt
npm install
npm run devThe plugin (packages/plugin) works standalone without any API keys.
| Directory | What it does |
|---|---|
packages/plugin/ |
Claude Code plugin (MCP tools + analysis skills) |
app/ |
Next.js app router (team dashboard) |
src/components/ |
React components |
src/lib/ |
Models, parser, persistence, and domain logic |
tests/ |
Unit, integration, and E2E tests |
- Create a branch from
main. - Make your changes.
- Run the checks below.
- Open a pull request.
Run before opening a PR:
npm run typecheck # TypeScript compilation check
npm run lint # ESLint
npm test # Unit tests
npm run build # Production build- Do not commit
.envfiles, generated caches, or session transcripts. - Do not add hardcoded production URLs, webhook endpoints, or API keys.
- Prefer local-first behavior and make hosted integrations opt-in.
- TypeScript strict mode is enabled.
- ESLint enforces style rules -- run
npm run lintto check. - Keep LLM prompts and all code in English (see
CLAUDE.mdlanguage policy).
- Bugs: Use the bug report template.
- Features: Use the feature request template.
- Security: See SECURITY.md for private vulnerability reporting.