~/agent-config
Browse
KitCursor, Claude Code · 5 steps · 5 resources

Quality & Testing Kit

Turn your agent into a disciplined engineer — test-driven development, a systematic debugging loop, safe refactoring, a built-in code reviewer, and a format-on-save hook so every change lands clean.

  1. Skill

    Add the TDD skill

    Write the failing test first

    npx skills add https://github.com/obra/superpowers --skill tdd
  2. Skill

    Add the debugging skill

    npx skills add https://github.com/obra/superpowers --skill debugging
  3. Skill

    Add the refactoring skill

    Restructure only with tests green

    npx skills add https://github.com/obra/superpowers --skill refactoring
  4. Skill

    Add the code review skill

    Self-review before every PR

    npx skills add https://github.com/obra/superpowers --skill code-review
  5. Hook

    Add the format-on-save hook

    Cursor only — keeps diffs formatted

    {
      "version": 1,
      "hooks": {
        "afterFileEdit": [
          {
            "command": "npx prettier --write \"$CURSOR_FILE_PATH\""
          }
        ]
      }
    }