Contribute with AI assistance
The easiest way to contribute is with Claude Code. We have a built-in skill that guides you through the process.Step 1: Fork and clone
Step 2: Tell Claude what you want to contribute
Open Claude Code in the project and describe what you want to add:- “I want to add a new spec template for Next.js projects”
- “I want to improve the multi-agent documentation”
Step 3: Claude uses the contribute skill automatically
Claude will read thecontribute skill and guide you through:
- Where to put your files
- What related files need updating (docs.json, index pages)
- Bilingual requirements (EN + ZH)
- How to test locally
Step 4: Review and submit PR
Review the changes, test withpnpm dev, push to your fork, then open a PR to the original repo.
Ways to contribute
Report issues
Found a problem with the docs? Open an issue: https://github.com/mindfold-ai/docs/issues Include:- Which page has the issue
- What’s wrong or confusing
- Suggested fix (if you have one)
Suggest improvements
Have an idea for better docs? Open a discussion: https://github.com/mindfold-ai/docs/discussionsContribute a Skill
Skills extend AI capabilities. To add a new skill:- Fork the Trellis repo
- Create skill directory:
- Open a PR to the Trellis repo
- (Optional) Create documentation pages in docs repo (
skills-market/your-skill.mdx+ Chinese version)
Skills are hosted in the Trellis main repo, not in docs.
Contribute a Spec Template
Spec templates are Trellis project guidelines (not Claude features). To add one:- Fork the repo
- Create
marketplace/specs/your-template/with guideline files - Create documentation pages (
templates/specs-your-template.mdx+ Chinese version) - Update
docs.jsonnavigation - Open a PR
- Specific and actionable
- Well-documented
- Tested on real projects
Fix typos and improve clarity
Small fixes: edit directly on GitHub and submit a PR. Larger changes: clone locally, make changes, test withpnpm dev.
Development setup
Bilingual requirement
All user-facing content must have both English and Chinese versions:| English | Chinese |
|---|---|
guides/example.mdx | zh/guides/example.mdx |
templates/example.mdx | zh/templates/example.mdx |
docs.json navigation for both languages.
Commit messages
Use conventional commits:PR process
- Create a PR with a clear description
- Ensure CI checks pass (lint, verify)
- Wait for review
- Address feedback
- Merge after approval