Agent Skillsmindfold-ai/Trellis › trellis-spec-bootstrap

trellis-spec-bootstrap

GitHub

用于基于实际代码库生成或刷新Trellis编码规范。通过单智能体工作流分析仓库架构,分解包层规范,编写含真实示例的代码指导文档,确保规范与实际项目一致且无占位符。

.omp/skills/trellis-spec-bootstrap/SKILL.md mindfold-ai/Trellis

Trigger Scenarios

创建或更新.trellis/spec/目录下的编码规范文件 需要基于现有代码库生成具体的开发指导文档

Install

npx skills add mindfold-ai/Trellis --skill trellis-spec-bootstrap -g -y
More Options

Non-standard path

npx skills add https://github.com/mindfold-ai/Trellis/tree/main/.omp/skills/trellis-spec-bootstrap -g -y

Use without installing

npx skills use mindfold-ai/Trellis@trellis-spec-bootstrap

指定 Agent (Claude Code)

npx skills add mindfold-ai/Trellis --skill trellis-spec-bootstrap -a claude-code -g -y

安装 repo 全部 skill

npx skills add mindfold-ai/Trellis --all -g -y

预览 repo 内 skill

npx skills add mindfold-ai/Trellis --list

SKILL.md

Frontmatter
{
    "name": "trellis-spec-bootstrap",
    "description": "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."
}

Trellis Spec Bootstarp

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.

Version History

  • 0e0f1f6 Current 2026-08-20 08:10

Same Skill Collection

.agents/skills/python-design/SKILL.md
.agents/skills/trellis-before-dev/SKILL.md
.agents/skills/trellis-brainstorm/SKILL.md
.agents/skills/trellis-break-loop/SKILL.md
.agents/skills/trellis-channel/SKILL.md
.agents/skills/trellis-check/SKILL.md
.agents/skills/trellis-continue/SKILL.md
.agents/skills/trellis-finish-work/SKILL.md
.agents/skills/trellis-spec-bootstrap/SKILL.md
.agents/skills/trellis-start/SKILL.md
.agents/skills/trellis-update-spec/SKILL.md
.claude/skills/gitnexus/gitnexus-cli/SKILL.md
.claude/skills/gitnexus/gitnexus-debugging/SKILL.md
.claude/skills/gitnexus/gitnexus-exploring/SKILL.md
.claude/skills/gitnexus/gitnexus-guide/SKILL.md
.claude/skills/gitnexus/gitnexus-impact-analysis/SKILL.md
.claude/skills/gitnexus/gitnexus-refactoring/SKILL.md
.claude/skills/python-design/SKILL.md
.claude/skills/trellis-before-dev/SKILL.md
.claude/skills/trellis-brainstorm/SKILL.md
.claude/skills/trellis-break-loop/SKILL.md
.claude/skills/trellis-channel/SKILL.md
.claude/skills/trellis-check/SKILL.md
.claude/skills/trellis-spec-bootstrap/SKILL.md
.claude/skills/trellis-update-spec/SKILL.md
.codex/skills/create-manifest/SKILL.md
.cursor/skills/trellis-before-dev/SKILL.md
.cursor/skills/trellis-brainstorm/SKILL.md
.cursor/skills/trellis-break-loop/SKILL.md
.cursor/skills/trellis-channel/SKILL.md
.cursor/skills/trellis-check/SKILL.md
.cursor/skills/trellis-spec-bootstrap/SKILL.md
.cursor/skills/trellis-update-spec/SKILL.md
.omp/skills/trellis-before-dev/SKILL.md
.omp/skills/trellis-brainstorm/SKILL.md
.omp/skills/trellis-break-loop/SKILL.md
.omp/skills/trellis-check/SKILL.md
.omp/skills/trellis-update-spec/SKILL.md
.opencode/skills/trellis-before-dev/SKILL.md
.opencode/skills/trellis-brainstorm/SKILL.md
.opencode/skills/trellis-break-loop/SKILL.md
.opencode/skills/trellis-channel/SKILL.md
.opencode/skills/trellis-check/SKILL.md
.opencode/skills/trellis-spec-bootstrap/SKILL.md
.opencode/skills/trellis-update-spec/SKILL.md
.pi/skills/trellis-before-dev/SKILL.md
.pi/skills/trellis-brainstorm/SKILL.md
.pi/skills/trellis-break-loop/SKILL.md
.pi/skills/trellis-channel/SKILL.md

Metadata

Files
0
Version
0e0f1f6
Hash
739a0710
Indexed
2026-08-20 08:10

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-25 00:27
浙ICP备14020137号-1 $방문자$