Fix feature bug

From markmhendrickson/neotoma · View interactive version

Fix feature bug is an AI agent skill from the GitHub repository markmhendrickson/neotoma. Fix Feature Bug

How to use this skill

Skill file

<!-- Source: .cursor/skills/fix-feature-bug/SKILL.md -->

Fix Feature Bug

Fix a bug in a feature or module.

Configuration is read from foundation-config.yaml.

This workflow can also be triggered automatically via .claude/rules/bug_fix_detection.md (or foundation/agent_instructions/cursor_rules/bug_fix_detection.md) when you mention bug/error-related patterns in natural language (e.g., "bug", "error", "fix", "broken"). Both paths execute the same workflow.

Workflow

  1. Load configuration:
  1. Identify feature/module from error, path, or context.
  1. Load relevant documents:
  1. Classify bug (if error classification configured):
  1. Apply correction rules:
  1. Always add a regression test.
  1. Run tests:
  1. Output:

Error Classification (Configurable)

If development.bug_fix.error_classification.enabled: true in foundation-config:

Configuration

Bug fix workflow uses settings from foundation-config.yaml:

development:
  bug_fix:
    enabled: true
    error_classification:
      enabled: false  # Enable if you have error classification system
      classes:
        - name: "Class 1"
          description: "Implementation bug"
          correction: "Patch code only"
        - name: "Class 2"
          description: "Spec bug"
          correction: "Update spec first, then code"
        - name: "Class 3"
          description: "Architectural bug"
          correction: "Update architecture docs first"
    require_regression_test: true
    test_commands:  # Optional, repo-specific test commands
      - "npm test"
      - "npm run test:integration"

Inputs

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.