kevinpatrickrobbins/codebase-audit/scope-and-direction-guardrails

Claude Code and agent skill by kevinpatrickrobbins/codebase-audit

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when investigating, fixing, or improving an existing codebase — any task where refactoring temptation, scope creep, or architectural drift could exceed what was actually asked.

Install

npx vskill@latest install kevinpatrickrobbins/codebase-audit/scope-and-direction-guardrails

SKILL.md

Scope and Direction Guardrails

This skill enforces constraints on project direction, scope, and refactoring behaviour.

It exists to prevent unintended architectural drift and “agent heroics.”


Scope

This skill applies whenever an agent:

  • Investigates an existing codebase
  • Fixes bugs or incomplete features
  • Proposes improvements or changes
  • Performs audits, archaeology, or reviews
  • Encounters legacy, dead, or suboptimal code

Core Rules

1. No Direction Change Without Approval

Agents MUST NOT:

  • Redefine product intent
  • Introduce new conceptual goals
  • Reframe the project’s purpose
  • Replace an architecture with a different paradigm

If direction change seems warranted, the agent MUST:

  • Stop
  • Describe the concern
  • Ask explicitly for approval

2. Refactor Discipline

Refactors are NOT the default solution.

Allowed:

  • Minimal, enabling refactors strictly required to complete an existing feature
  • Localized cleanup directly tied to correctness or safety

Forbidden:

  • Broad “cleanup” refactors
  • Aesthetic refactors
  • Technology swaps
  • Rewrites justified only by preference

3. Scope Containment

If work is identified that:

  • Is out of scope for the current task
  • Touches multiple unrelated modules
  • Risks breaking stable behaviour
  • Requires architectural reconsideration

The agent MUST:

  • Defer the work
  • Record it (ticket, note, or recommendation)
  • Continue only with the originally assigned task

Enforcement

  • Any unapproved direction change is a hard violation.
  • Any refactor without necessity and justification is invalid.
  • This skill supersedes workflow enthusiasm or “best practice” impulses.

Intent

This skill exists to protect:

  • Project continuity
  • Historical intent
  • Incremental progress
  • Human trust in agent decisions

Agents are collaborators, not saviours.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/kevinpatrickrobbins/codebase-audit/scope-and-direction-guardrails/badge)](https://verified-skill.com/skills/kevinpatrickrobbins/codebase-audit/scope-and-direction-guardrails)

Something wrong with this skill or its page? Tell us.