trellis-spec-bootstrap
できること
このスキルは、実際のコードからプロジェクトのコーディング指針ファイルを作成します。AIエージェント向けに、正確でプロジェクトに即したルールを求めるチーム向けです。
使う場面
- ✓Trellisを使い始めて、コードベースのコーディング指針が必要なとき。
- ✓プロジェクトの仕様ファイルが不足している、古い、またはテンプレートの文章のままのとき。
- ✓コードベースが大きく変わり、指針を更新する必要があるとき。
スキルのリンク
https://github.com/mindfold-ai/Trellis/blob/main/.agents/skills/trellis-spec-bootstrap/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“このリポジトリの実際のコードからコーディング指針を作成してください。例を入れ、仮のテキストは残さないでください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、コード分析ツールと直接のソース読み取りでリポジトリの構造を分析し、パッケージや層の境界を決めます。ファイルパスと例を入れた具体的な指針ファイルを書き、残っている仮のテキストがないかを確認します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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.
よくある質問
テンプレートの文章は残りますか?
いいえ。このスキルはテンプレートを出発点として扱い、仮のテキストを取り除きます。
コードを分析するのにどのツールを使いますか?
GitNexusやABCoderなどの利用可能なツール、言語ごとのツール、直接のソース読み取りを使います。
特定のAI製品が必要ですか?
いいえ。この手順はプラットフォームに依存せず、一つの有能なエージェントで実行できます。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 15k
- ランキング
- #11033
- ライセンス
- AGPL-3.0
- 更新日
- 2026/9/29
コメント
- …
このリポジトリの他のスキル
first-principles-thinking
15k計画や設計を基本的な真理に分解し、そこから積み上げて検討することで、慣習や習慣に頼らずに、それが本当に最良の方法かを確かめるよう、エージェントを手助けします。
python-design
15k明確なモジュール、単純なインターフェース、隠れた複雑さの少ないPythonのコマンドラインスクリプトを、エージェントが書きレビューするのを手助けします。
trellis-before-dev
15k書き始める前に、プロジェクトのコーディングのガイドラインとタスクのメモを読み、エージェントがチームの慣例に従うよう手助けします。
trellis-brainstorm
15k新しい機能や不明確なタスクを、一度に一つの有益な質問をし、コードを確認し、狭いスコープに合意することで、明確にする手助けをします。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。