Contributing
Contributing
Section titled “Contributing”Contributions are welcome! Please follow these steps:
How to Contribute
Section titled “How to Contribute”- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'feat: add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Development Setup
Section titled “Development Setup”git clone https://github.com/LuiggiVal08/toon-memory.gitcd toon-memorynpm installnpm run buildnpm testProject Structure
Section titled “Project Structure”toon-memory/├── src/│ ├── bin/ # Entry point│ ├── cli/ # CLI commands│ ├── mcp/ # MCP server│ └── memory.ts # Custom tool├── tests/ # Unit tests├── docs/ # Documentation (Astro)└── package.jsonScripts
Section titled “Scripts”npm run build # Build allnpm run build:cli # Build CLInpm run build:mcp # Build MCP servernpm test # Run testsnpm run test:watch # Run tests in watch modeCode Style
Section titled “Code Style”- TypeScript with strict mode
- 2 spaces indentation
- camelCase for variables/functions
- PascalCase for classes
Pull Request Guidelines
Section titled “Pull Request Guidelines”- Write clear commit messages
- Add tests for new features
- Update documentation if needed
- Follow existing code style
Code of Conduct
Section titled “Code of Conduct”Please read our Code of Conduct before contributing.