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/ # CLI commands
│ ├── mcp/ # MCP server
│ └── memory.ts # Custom tool
├── tests/ # Unit tests
├── docs/ # Documentation (Astro)
└── 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.