Skip to content
Skillpedia
General coding15k · #11033

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.md

Copy 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

Use this skill to help me: https://github.com/mindfold-ai/Trellis/blob/main/.agents/skills/trellis-spec-bootstrap/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

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

  1. Confirm Trellis is initialized and inspect the current .trellis/spec/ tree.
  2. Analyze the repository architecture with the best available tools: GitNexus, ABCoder, language tooling, and direct source reads.
  3. Decompose the spec work by package and layer only when that reflects the actual codebase.
  4. Fill or reshape the spec files with concrete patterns, file paths, examples, and anti-patterns from the project.
  5. 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.md files 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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills