trellis-spec-bootstrap
What it does
The skill builds the project's coding guideline files from the actual code. It is for teams that want accurate, project-specific rules for an AI agent.
When to use it
- ✓When you start using Trellis and need coding guidelines for your codebase.
- ✓When the project's spec files are missing, outdated, or still full of template text.
- ✓When your codebase has changed a lot and the guidelines need a refresh.
Skill link
https://github.com/mindfold-ai/Trellis/blob/main/.agents/skills/trellis-spec-bootstrap/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Create coding guidelines for this repository from the real code, with examples and no placeholder text.”
5 new skills a week. 1 minute to read.
How it works
The agent analyzes the repository's structure with code tools and direct source reads, decides where the package and layer boundaries are, writes concrete guideline files with file paths and examples, and checks them for leftover placeholders.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Trellis Spec Bootstrap
Use this skill to create or refresh .trellis/spec/ guidelines from the real codebase. One capable agent owns the full loop: analyze the repository, choose the spec boundaries, write the docs, and verify the result. The workflow does not depend on a specific host, CLI, or agent brand.
Workflow
- Confirm Trellis is initialized and inspect the current
.trellis/spec/tree. - Analyze the repository architecture with the best available tools: GitNexus, ABCoder, language tooling, and direct source reads.
- Decompose the spec work by package and layer only when that reflects the actual codebase.
- Fill or reshape the spec files with concrete patterns, file paths, examples, and anti-patterns from the project.
- Verify that the final specs are internally consistent and contain no template placeholders.
Reference Routing
| Need | Read |
|---|---|
| Repository architecture analysis | references/repository-analysis.md |
| Spec work decomposition and task planning | references/spec-task-planning.md |
| Writing high-signal Trellis spec files | references/spec-writing.md |
| GitNexus and ABCoder MCP setup | references/mcp-setup.md |
Operating Rules
- Treat templates as starting points, not contracts. Delete, rename, split, or add spec files when the repository calls for it.
- Prefer source-backed rules over generic advice. Every important recommendation should point at a real file or repeated local pattern.
- Keep execution single-owner by default. Optional helper agents are an implementation detail, not a requirement or user-visible dependency.
- Do not write platform-specific instructions unless the target project already standardizes on that platform.
- Do not leave placeholder text, empty headings, or copied boilerplate in
.trellis/spec/.
Done Criteria
.trellis/spec/describes the project as it exists now.- Each relevant package or layer has practical coding guidance with real examples.
- Non-applicable template sections are removed.
index.mdfiles match the final spec file set.- Any required setup or analysis assumptions are documented in the relevant spec or task notes.
FAQ
Does it keep template text?
No. The skill treats templates as starting points and removes placeholder text.
Which tools does it use to analyze code?
It uses available tools such as GitNexus and ABCoder, plus language tools and direct source reads.
Does it need a specific AI product?
No. The workflow is platform-neutral and runs with a single capable agent.
Details
Original description by the author
Bootstrap project-specific Trellis coding specs with a platform-neutral single-agent workflow. Use when creating or refreshing .trellis/spec guidelines, analyzing a codebase with GitNexus, ABCoder, or source inspection, decomposing package/layer spec work, and writing real codebase-backed spec docs without placeholder text.
repo: mindfold-ai/Trellis
Popularity
- GitHub stars
- 15k
- Ranking position
- #11033
- License
- AGPL-3.0
- Updated
- 9/29/2026
Comments
- …
More skills from this repository
first-principles-thinking
15kHelps your agent test a plan or design by breaking it into basic truths and reasoning up from them, instead of relying on habit or convention.
python-design
15kHelps your agent write and review Python command-line scripts with clear modules, simple interfaces, and fewer hidden complications.
trellis-before-dev
15kHelps your agent read the project's coding guidelines and task notes before it starts writing code, so it follows the team's conventions.
trellis-brainstorm
15kHelps your agent clarify a new feature or unclear task by asking one useful question at a time, checking the code, and agreeing on a narrow scope.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.