Why This Skill?
AI coding agents produce better code when they have project-specific coding guidelines. But writing those guidelines manually is tedious. This skill automates the bootstrap:- Claude Code analyzes your repo architecture using GitNexus + ABCoder
- Claude Code creates Trellis tasks with rich PRDs containing architectural context + MCP tool instructions
- Codex agents run those tasks in parallel, each filling one spec directory using the same MCP tools
Prerequisites
Install
| Flag | Description |
|---|---|
-g | Install globally (~/.claude/skills/) |
-a claude-code | Target a specific agent |
-y | Non-interactive mode |
Verify Installation
Check if the skill is available:cc-codex-spec-bootstrap in the response.
Usage
After installation, tell AI to bootstrap your specs:How It Works
Phase 1 — Analyze
Claude Code indexes the repo with GitNexus (knowledge graph) and ABCoder (AST), then maps the architecture: package boundaries, module clusters, key patterns, and cross-package data flows.Phase 2 — Plan
Claude Code creates one Trellis task per (package, layer) combination. Each task PRD contains the architectural context from Phase 1 plus MCP tool instructions so the Codex agent can independently explore the codebase.Phase 3 — Execute
Codex agents run all tasks in parallel. Each agent reads its PRD, uses GitNexus + ABCoder MCP tools to analyze the relevant code, and fills the spec files with real examples and patterns.What’s Included
| File | Contents |
|---|---|
SKILL.md | Full pipeline instructions (3 phases, checklists, PRD templates) |
references/mcp-setup.md | Detailed GitNexus + ABCoder MCP installation and configuration guide |