Skip to content

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'feat: add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request
Terminal window
git clone https://github.com/LuiggiVal08/toon-memory.git
cd toon-memory
npm install
npm run build
npm test
toon-memory/
├── src/
│ ├── bin/ # Entry point (CLI + MCP router)
│ ├── cli/ # CLI commands (setup, capture, session-start)
│ ├── lib/ # Core libraries (graph, quality, sessions, context, vocab, lock)
│ └── mcp/ # MCP server (35 tools, 4 resources)
├── tests/ # Unit tests (vitest)
├── docs/ # Documentation site (Astro + Starlight)
├── bin/ # Build output (entry point)
├── mcp/ # Build output (MCP server)
└── package.json
Terminal window
npm run build # Build all
npm run build:cli # Build CLI
npm run build:mcp # Build MCP server
npm test # Run tests
npm run test:watch # Run tests in watch mode
  • TypeScript with strict mode
  • 2 spaces indentation
  • camelCase for variables/functions
  • PascalCase for classes
  • Write clear commit messages
  • Add tests for new features
  • Update documentation if needed
  • Follow existing code style

Please read our Code of Conduct before contributing.