Thanks for your interest in contributing to StackMemory!
git clone https://github.com/stackmemoryai/stackmemory.git
cd stackmemory
npm install
npm run build
npm run test:run- Fork the repository
- Create a feature branch:
git checkout -b feature/your-feature - Make your changes
- Run validation:
npm run lint && npm run test:run && npm run build - Commit with conventional format:
type(scope): message - Open a pull request against
main
Follow conventional commits:
feat(scope):new featurefix(scope):bug fixrefactor(scope):code restructuringtest(scope):adding or updating testschore(scope):maintenance tasksdocs(scope):documentation changes
- TypeScript strict mode is enabled
- ESM modules with
.jsextensions on relative imports - Run
npm run lintbefore committing (pre-commit hooks enforce this) - New features require tests in
src/**/__tests__/ - Maintain or improve test coverage
src/
cli/ # CLI commands and entry point
core/ # Core business logic (context, database, query)
integrations/ # External integrations (Linear, MCP)
services/ # Business services
utils/ # Shared utilities
npm run test:run # Run all tests once
npm test # Watch mode
npm run test:pre-publish # Full pre-publish validationBy contributing, you agree that your contributions will be licensed under the project's BSL 1.1 license.