Contributing to Velith
May 29, 2026 · View on GitHub
Thank you for your interest in improving Velith! This guide covers how to contribute effectively.
Quick Links
How to Contribute
Reporting Issues
- Search existing issues before opening a new one to avoid duplicates.
- Use the appropriate issue template (Bug Report or Feature Request).
- For bugs, include:
- Claude Code version (
claude --version) - Velith command that failed
- Expected vs. actual behavior
- Your book's genre and current phase
- Claude Code version (
Improving Skills
Skills are the core of Velith. Each skill file lives in skills/Velith/:
skills/Velith/
├── SKILL.md # Main entry point
├── onboarding.md # Phase 0
├── ideation.md # Phase 1
├── outlining.md # Phase 2
├── drafting.md # Phase 3
├── editing.md # Phase 4
├── publishing.md # Phase 5
├── fiction.md # Fiction genre patterns
├── nonfiction.md # Non-fiction genre patterns
└── technical.md # Technical book patterns
When modifying a skill:
- Test with at least one complete book project of the relevant genre
- Verify the phase still transitions correctly to the next phase
- Keep prompts focused — avoid scope creep within a single phase
Improving Agents
Agents are specialized subagents defined in agents/:
- book-architect — Structure validation and outline scoring
- chapter-writer — Chapter draft generation
- continuity-editor — Cross-chapter consistency checks
- style-doctor — Voice/tone consistency and AI-slop detection
When modifying an agent:
- Respect the
toolsrestriction — each agent has minimal tool access by design - Test across all three genres (fiction, non-fiction, technical)
- Keep
modelselection appropriate:haikufor lightweight tasks,sonnetfor generation
Adding a New Genre
- Create a new skill file:
skills/book-{genre}/SKILL.md - Define genre-specific structure, templates, and validation rules
- Update
skills/loom/SKILL.mdto include the new genre in the Genre Support table - Update
README.mdgenre badges and skills table - Update
dashboard/src/views/HelpView.sveltegenre arrays and workflow data - Test end-to-end with a complete book project
Pull Request Process
- Fork the repository and create a feature branch.
- Make your changes with clear, descriptive commit messages.
- If changing a skill or agent, document the "why" in the PR description.
- Ensure your changes don't break existing phase transitions.
- Submit the PR — a maintainer will review within 48 hours.
Commit Style
Follow Conventional Commits:
feat(drafting): add parallel chapter generation for technical books
fix(style-doctor): improve AI-slop detection for Korean text
docs(readme): add comparison table
Development Setup
# Clone the repo
git clone https://github.com/epicsagas/Velith.git
# Install as a local plugin for testing
claude plugin install --local /path/to/velith
# Test changes by running a phase
> /velith
License
By contributing, you agree that your contributions will be licensed under the Apache-2.0 License.