trellis-spec-bootstrap
◉ 12.9k↓ 12.9k↺ 2026.07.20@mindfold-ai/trellis-spec-bootstrap从真实代码库引导/刷新 .trellis/spec 规范,支持 GitNexus/ABCoder 等分析与无占位正文。
| name | trellis-spec-bootstrap |
|---|---|
| description | 从真实代码库引导/刷新 .trellis/spec 规范,支持 GitNexus/ABCoder 等分析与无占位正文。 |
项目 Spec 引导
trellis-spec-bootstrap
从真实代码库引导/刷新 .trellis/spec 规范,支持 GitNexus/ABCoder 等分析与无占位正文。
核心说明
以下为上游 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
- 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](references/repository-analysis.md) | | Spec work decomposition and task planning | [references/spec-task-planning.md](references/spec-task-planning.md) | | Writing high-signal Trellis spec files | [references/spec-writing.md](references/spec-writing.md) | | GitNexus and ABCoder MCP setup | [references/mcp-setup.md](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 t
安装
随 Trellis 一并分发。执行 trellis init 后可在 .agents/skills/trellis-spec-bootstrap/(及各平台 skill 目录)使用。
npm install -g @mindfoldhq/trellis@latest
trellis init -u your-name
来源:mindfold-ai/Trellis · .agents/skills/trellis-spec-bootstrap