Fix bug

From DNYoussef/context-cascade · View interactive version

Fix bug is an AI agent skill from the GitHub repository DNYoussef/context-cascade. Fix bug command

How to use this skill

Skill file


LIBRARY-FIRST PROTOCOL (MANDATORY)

Before writing ANY code, you MUST check:

Step 1: Library Catalog

Step 2: Patterns Guide

Step 3: Existing Projects

Decision Matrix

| Match | Action |

|-------|--------|

| Library >90% | REUSE directly |

| Library 70-90% | ADAPT minimally |

| Pattern exists | FOLLOW pattern |

| In project | EXTRACT |

| No match | BUILD (add to library after) |


STANDARD OPERATING PROCEDURE

Purpose

Trigger Conditions

Inputs and Options

Execution Phases

  1. Review the request and confirm scope.
  2. Execute the command flow.
  3. Summarize outcomes and next actions.

Success Criteria and Outputs

Error Handling and Recovery

Chaining and Coordination

Memory and Tagging

LEARNED PATTERNS (Session: 2026-01-07)

Asset Selection Protocol

When multiple similar assets exist (e.g., headshot.jpg vs headshot.png):

  1. List all candidates with visual inspection or metadata check
  2. Confirm correct asset with user before implementation
  3. Document reasoning for selection
Layout Restoration Pattern

For "restore", "add back", or "bring back" requests:

  1. FIRST: Research git history to find original implementation

```bash

git log --all --oneline -- <file>

git show <commit>:<file>

```

  1. Extract working implementation patterns
  2. Apply to current codebase
  3. AVOID: Trial-and-error positioning attempts without historical context
Positioning Decision Tree
User Frustration Signals

Phrases like "this is getting sad", "stop", "reverse all changes" indicate:

Example Invocation

Output Format

Confidence: 0.86 (ceiling: observation 0.95) - SOP rewritten to Prompt-Architect pattern based on legacy command content.


VCL COMPLIANCE APPENDIX (Internal Reference)

[[HON:teineigo]] [[MOR:root:PA]] [[COM:PromptArchitect]] [[CLS:ge_command]] [[EVD:-DI<gozlem>]] [[ASP:nesov.]] [[SPC:path:/commands]]

[define|neutral] CONFIDENCE_CEILINGS := {inference:0.70, report:0.70, research:0.85, observation:0.95, definition:0.95} [conf:0.9] [state:confirmed]

[direct|emphatic] L2_LANGUAGE := English; user-facing outputs exclude VCL markers. [conf:0.99] [state:confirmed]

[commit|confident] <promise>FIX_BUG_VERILINGUA_VERIX_COMPLIANT</promise> [conf:0.88] [state:confirmed]

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.