agentleFS
phobenphoben/agent-skills/.agents/skills/trellis-spec-bootstrap/SKILL.md

trellis-spec-bootstrap

Skill0 starsChanged 11 days agoMITView on GitHub

通过平台无关的单代理流程建立或刷新项目专属 Trellis 编码规范;适用于创建 .trellis/spec、通过 GitNexus、ABCoder 或源码分析代码库、拆分包与层的规范工作并编写有真实代码依据的文档时。

17 other projects use a version of this, 17 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. 5 are common, 0 are distinctive, and 1 is very specific to this project.

  • 5

    Common

    Most of the 17 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Common:

    Verify that the final specs are internally consistent and contain no template placeholders.

    line 16
  2. Common:

    Treat templates as starting points, not contracts.

    line 29
  3. Common:

    Prefer source-backed rules over generic advice.

    line 30
  4. Common:

    Keep execution single-owner by default.

    line 31
  5. Common:

    Do not write platform-specific instructions unless the target project already standardizes on that platform.

    line 32
  6. Very specific:

    Do not leave placeholder text, empty headings, or copied boilerplate in .trellis/spec/.

    line 33

“Common” is measured: kept by at least 6 in 10 of the 17 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

NeedRead
Repository architecture analysisreferences/repository-analysis.md
Spec work decomposition and task planningreferences/spec-task-planning.md
Writing high-signal Trellis spec filesreferences/spec-writing.md
GitNexus and ABCoder MCP setupreferences/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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.