vibe.capability-loop
SolidUse when the same agent or tool failure repeats, or a missing capability blocks progress, to reproduce the cause and build a permanent repository capability.
AI & Automation 0 stars
1 forks Updated today MIT
Install
Quality Score: 78/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Capability Loop — Failure → Capability Building
> **Principle**: "Ask what capability is missing, not why it failed." Every failure is a missing tool, guardrail, abstraction, or piece of documentation. Build the capability so the failure NEVER recurs.
## When to Use
| Trigger | Signal |
|---------|--------|
| Agent fails a task | Error, wrong output, timeout, confusion |
| Same error occurs twice | Pattern of missing capability |
| Agent asks clarifying question | Information not discoverable |
| Review finds recurring issue | Systemic gap, not one-off mistake |
| Manual intervention needed | Agent should have been self-sufficient |
## Core Flow
```
FAILURE → DIAGNOSE → CLASSIFY → BUILD → VERIFY → PERSIST
```
### Step 1: DIAGNOSE — What Capability is Missing?
Do NOT ask "why did it fail?" Instead ask: **"What would have prevented this failure?"**
```
Diagnosis questions (answer ALL):
1. TOOL: Did the agent lack a tool to accomplish the task?
→ Missing CLI command, missing API, missing utility function
2. GUARDRAIL: Did the agent do something it shouldn't have?
→ Missing lint rule, missing test, missing hook check
3. ABSTRACTION: Did the agent struggle with unnecessary complexity?
→ Missing helper, missing wrapper, missing shared module
4. DOCUMENTATION: Did the agent lack discoverable information?
→ Missing CLAUDE.md entry, missing code comment, missing type definition
5. FEEDBACK: Did the agent not know it was doing the wrong thing?
→ Missing er...
Details
- Author
- su-record
- Repository
- su-record/vibe
- Created
- 8 months ago
- Last Updated
- today
- Language
- TypeScript
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Solid
diagnose
Load when a task needs hard bugs and performance regressions, failing commands, hard-to-reproduce behavior, or unknown root causes diagnosed; use agent-introspection-debugging instead for agent/tool harness failures.
84 Updated 5 days ago
JasonxzWen AI & Automation Solid
agent-introspection-debugging
Load when a task needs agent run, tool loop, context drift, or recoverable harness/tool failure debugging; use diagnose for product/runtime bugs.
84 Updated 5 days ago
JasonxzWen AI & Automation Listed
verify-loop
Close the feedback loop on a change - define a runnable success check, run it, articulate each failure before fixing, iterate to green (max 5 rounds).
0 Updated today
Vinylfigure