How nbbaier/agent-skills works
Purpose and Distribution
This repository is a portable collection of instruction-driven “skills” for coding agents, not an executable application or service. Each skill packages a primary agent workflow in a SKILL.md, optionally supported by reference material and static assets. Consumers install or copy selected skill directories into an agent’s skill location.
Plugin metadata is provided at .claude-plugin/plugin.json; OpenCode-oriented metadata/configuration lives in .oc/config.json and .oc/config.md.
Primary Entry Points
The repository-level catalog and installation path are defined in README.md. Agent runtimes discover individual capabilities through their skill instruction documents, especially:
• skills/blueprint/SKILL.md
• skills/goal-refiner/SKILL.md
• skills/implementation-guide/SKILL.md
There is no server, build pipeline, database, or application runtime represented in the tree.
Skill Package Boundary
Each skills/<name>/ directory is an independently consumable capability boundary. Its SKILL.md is the authoritative operational prompt/workflow; colocated references/ files provide deeper procedures, templates, or domain guidance without necessarily being loaded first.
Representative packages include:
• Planning/specification: skills/blueprint/SKILL.md, skills/blueprint/references/plan-template.md
• Design discovery: skills/ideation/SKILL.md, skills/goal-refiner/SKILL.md
• Implementation/review guidance: skills/implementation-guide/SKILL.md, skills/code-refactor-review/SKILL.md
Planning and Execution Flow
The core planning-oriented flow is: refine an ambiguous goal, investigate and shape options, produce a decision-level specification, then generate execution-ready implementation guidance. blueprint explicitly contains supporting stages for reconnaissance, decomposition, destinations, and validation/closure:
• skills/blueprint/references/recon.md
• skills/blueprint/references/decomposition.md
• skills/blueprint/references/closing-the-loop.md
These documents make the repository particularly suited to downstream agent planning: they separate problem framing and evidence gathering from plan decomposition and completion criteria.
Specialized Guidance Modules
Several standalone skills constrain or improve particular engineering activities rather than orchestrating a full delivery lifecycle:
• UI/prototyping: skills/wireframe/SKILL.md, skills/html-tools/SKILL.md
• Frontend correctness: skills/react-effect-patterns/SKILL.md
• Operations/observability: skills/logging-best-practices/SKILL.md
• Visualization critique: skills/tufte-viz/SKILL.md
• Knowledge validation: skills/quiz-gate/SKILL.md
wireframe is the notable asset-bearing package, including a reusable static viewer template at skills/wireframe/assets/site-template.html.
External Dependencies and Lifecycle
The repository relies primarily on agent-host runtimes that understand installed skill directories, with explicit integration signals for Claude plugins and OpenCode. Installation may use Vercel’s external skills CLI (npx skills add ...), but no package manifest or runtime dependency is present here.
Legacy capabilities are intentionally isolated under skills/deprecated/, including a historical npm supply-chain audit shell script at skills/deprecated/npm-supply-chain-security/scripts/audit.sh. They should not be treated as part of the active architecture unless explicitly revived.
Main entry points: blueprint/SKILL.md Blueprint · goal-refiner/SKILL.md Goal refiner · ideation/SKILL.md Ideation · implementation-guide/SKILL.md Implementation guide
Components 18
Distribution
Repository catalog and host-runtime integration metadata.
- Skill catalog · Documents installation and available skills.
README.md - Claude plugin metadata · Signals integration with Claude plugin hosts.
.claude-plugin/plugin.json - OpenCode metadata · Provides OpenCode-oriented configuration and documentation.
.oc/config.json - Agent skill hosts · Discover and run installed skill directories.
- Skills CLI · Optional npx-based installer for selected packages.
Planning Flow
Composable skills for moving from an ambiguous goal to execution guidance.
- Goal refiner · Turns an ambiguous goal into a clearer problem framing.
skills/goal-refiner/SKILL.md - Ideation · Investigates and shapes solution options.
skills/ideation/SKILL.md - Blueprint · Produces a decision-level specification and planning workflow.
skills/blueprint/SKILL.md - Reconnaissance · Guides evidence gathering before planning.
skills/blueprint/references/recon.md - Decomposition · Guides plan breakdown into actionable work.
skills/blueprint/references/decomposition.md - Validation and closure · Defines completion and validation criteria.
skills/blueprint/references/closing-the-loop.md - Implementation guide · Generates execution-ready implementation guidance.
skills/implementation-guide/SKILL.md
Specialized Skills
Standalone guidance for focused engineering activities.
- Refactor review
skills/code-refactor-review/SKILL.md - Wireframe · UI prototyping skill with reusable viewer assets.
skills/wireframe/SKILL.md - Viewer template
skills/wireframe/assets/site-template.html - React effect patterns
skills/react-effect-patterns/SKILL.md - Logging practices
skills/logging-best-practices/SKILL.md
Legacy
Intentionally isolated historical capabilities.
- Deprecated audit script · Historical npm supply-chain audit capability; not active architecture.
skills/deprecated/npm-supply-chain-security/scripts/audit.sh
Connections 15
- Skill catalog → Skills CLI: documents install via
- Skills CLI → Agent skill hosts: installs selected skills into
- Claude plugin metadata → Agent skill hosts: integrates with
- OpenCode metadata → Agent skill hosts: configures
- Agent skill hosts → Goal refiner: discovers
- Agent skill hosts → Blueprint: discovers
- Agent skill hosts → Implementation guide: discovers
- Goal refiner → Ideation: frames work for
- Ideation → Blueprint: shapes options into
- Blueprint → Reconnaissance: uses
- Blueprint → Decomposition: uses
- Blueprint → Validation and closure: uses
- Blueprint → Implementation guide: feeds specification to
- Wireframe → Viewer template: uses
- Deprecated audit script → Agent skill hosts: excluded from active capabilities