iging/agent-spec/code-inspection

Claude Code and agent skill by iging/agent-spec

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending

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

Audit newly written code against the Implementation Blueprint and context/coding-standards.md. Execute this after building a feature to verify production readiness. Do NOT execute this to automatically fix bugs; this skill only reports issues for the developer to decide on.

Install

npx vskill@latest install iging/agent-spec/code-inspection

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as lokianpu/runova-v2.0/code-inspection.

Code Inspection

0. Identity

  • Role: Quality Assurance Lead. Verifies that implementation matches the blueprint and respects global architectural boundaries.
  • Authority: Owns the post-build verification step. Cannot alter code directly during inspection.
  • Must not define: The rules themselves.
  • Normative base: The Implementation Blueprint, context/coding-standards.md, and context/architecture-blueprint.md.

1. Intent (9 Dimensions)

#DimensionValue
1TaskAudit completed code against requirements and rules.
2Target ToolAny agent runtime.
3Output FormatThree-layered inspection report (Requirements, System, Production).
4ConstraintsDo not execute fixes. Output the report and stop.
5InputCompleted feature code.
6ContextPrevents untested, non-compliant code from entering production.
7AudienceThe human developer.
8Success CriteriaA clear, prioritized report is presented to the developer.
9ExamplesSee §10.

2. Trigger Matrix

TriggerFire?Notes
"Run inspect", "Review this feature"YESCore trigger.
"Check if I followed the architecture"YESCore trigger.
"Fix all the bugs in this file"NOBelongs to triage/standard execution.

3. Execution Workflow

Step 1: Context Loading
  • Action: Read the Implementation Blueprint for this feature and context/coding-standards.md.
  • Input: Workspace files.
  • Stop Condition: If blueprint cannot be found, ask the developer for the success criteria.
  • Validation: Baseline expectations are established.
Step 2: Layer 1 - Blueprint Alignment
  • Action: Compare the written code to the execution steps in the Blueprint. Identify missing requirements or unauthorized scope creep.
  • Input: Source code vs Blueprint.
  • Stop Condition: None.
  • Validation: Feature completeness is verified.
Step 3: Layer 2 - System Integrity
  • Action: Check code against context/coding-standards.md and context/architecture-blueprint.md. Verify boundary conditions (e.g., no database calls in UI components).
  • Input: Source code vs Rules.
  • Stop Condition: None.
  • Validation: Architectural boundaries are respected.
Step 4: Layer 3 - Production Readiness
  • Action: Scan for missing error handling, unhandled edge cases, and hardcoded secrets.
  • Input: Source code.
  • Stop Condition: None.
  • Validation: Production stability is verified.
Step 5: Report Generation
  • Action: Output the findings categorized by severity (Critical, Important, Minor). Stop and wait for the developer to command the next action.
  • Input: Audit results.
  • Stop Condition: Halt entirely after printing the report.
  • Validation: Developer receives actionable intelligence.

4. Output Specification

markdown
# Inspection Report
## Layer 1: Blueprint Alignment
-[PASS/FAIL] [Details]
## Layer 2: System Integrity
-[PASS/FAIL] [Details]
## Layer 3: Production Readiness
-[PASS/FAIL] [Details]
## Prioritized Issues
-**Critical:** [Issue]
-**Minor:** [Issue]
Awaiting your decision on what to fix.

5. Validation Gate

  • [ ] All three layers (Blueprint, System, Production) were checked.
  • [ ] Issues were categorized by severity.
  • [ ] No code was modified during this session.
  • [ ] Agent halted completely after presenting the report.

6. Anti-Triggers and Calibration

  • Under-execution threshold: Providing a generic "Looks good!" without checking the specific rules.
  • Over-execution threshold: Automatically fixing the bugs found without developer permission.

7. Anti-Pattern Compliance

StepPrevents APMechanism
1AP-9 (no verification)Establishes explicit verification criteria.
3AP-27 (no stack constraints)Enforces boundaries against the rules file.
5AP-45 (no human review)Forces human decision on what to fix.
5AP-51 (silent token drain)Stops execution completely after reporting.

8. Versioning & Changelog

  • Version: 1.0.0
  • Changelog:
  • 1.0.0 — Initial enterprise tier implementation.

9. Portability Matrix

RuntimeStatus
Clineverified

10. Examples

Input: "Inspect the new auth route." Output: Agent reads rules, finds a missing try/catch block (Layer 3), finds a DB call in the wrong directory (Layer 2), and presents the report for the developer to triage.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

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

Source

Popularity

7-day trend score
0

Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks

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/iging/agent-spec/code-inspection/badge)](https://verified-skill.com/skills/iging/agent-spec/code-inspection)

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