Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
vishalsachdev avatar

Codebase Singularity

  • 5 installs
  • 4 repo stars
  • Updated August 1, 2026
  • vishalsachdev/claude-code-skills

Apply a repeatable workflow with guardrails and verification gates to understand and change a codebase using minimal diffs and explicit exit criteria.

About

Provides a prime-plan-change-validate workflow with a maturity ladder for reliable repo work on features, bugfixes, refactors, and migrations. A developer uses it when they need high-trust changes with minimal diffs and explicit validation.

  • Quick-start loop: prime, summarize, plan, change, validate, wrap up
  • Maturity grades from prime-only up to closed-loop autonomy with hard exits

Codebase Singularity by the numbers

  • 5 all-time installs (skills.sh)
  • +1 installs in the week ending Jul 27, 2026 (Skillselion tracking)
  • Ranked #1,724 of 2,719 Automation & Workflows skills by installs in the Skillselion catalog
  • Data as of Aug 2, 2026 (Skillselion catalog sync)
npx skills add https://github.com/vishalsachdev/claude-code-skills --skill codebase-singularity

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs5
repo stars4
Last updatedAugust 1, 2026
Repositoryvishalsachdev/claude-code-skills

What it does

Apply a repeatable workflow with guardrails and verification gates to understand and change a codebase using minimal diffs and explicit exit criteria.

Files

SKILL.mdMarkdownGitHub ↗

Codebase Singularity

Quick start

1. Collect inputs: repo path, goal, constraints, risk tolerance, and validation commands. 2. Prime: list files, read README, and inspect entry points. 3. Summarize: explain repo shape and where the change belongs; ask questions if ambiguous. 4. Plan: write a short plan with success criteria and validation steps. 5. Change: implement the smallest viable patch; avoid unrelated refactors. 6. Validate: run the requested command(s) or the closest available; record results. 7. Wrap up: report changes, evidence, risks, and next steps.

Inputs

  • Repo path and task goal.
  • Constraints (files to avoid, time or risk limits, API stability).
  • Validation commands (tests, lint, build, or targeted checks).

Outputs

  • Short plan with success criteria.
  • Minimal patch.
  • Evidence: commands run and results.
  • Wrap-up: what changed, why, risks, and next steps.

Grades (maturity ladder)

Grade 1: Prime only

  • Prime, summarize, and stop on ambiguity.

Grade 2: Specialized roles + verification

  • Add role prompts (e.g., test_writer, docs_fetcher, reviewer).
  • Require a verification step for each role.

Grade 3: Tooling expansion

  • Declare required tools or services and expected outputs.
  • Prefer tools over guessing (e.g., query schema instead of inferring).

Grade 4: Closed-loop autonomy

  • Run cycles: request -> validate -> resolve.
  • Add hard exits: max iterations, evidence of progress, stop after repeated failures.

Guardrails

  • Keep diffs small.
  • Always validate; if you cannot, say so and propose a safe next step.
  • Ask before broad refactors or scope expansion.

Templates

Safe bugfix

Goal: Fix <bug> with minimal change.
Constraints: Do not modify public API; avoid touching <paths>.
Validation: Run `...` and paste output.
Exit conditions: Stop after 2 failed attempts; summarize hypotheses and logs.
Deliverables: Patch + explanation + risks.

Add a feature

Goal: Add <feature>.
Constraints: Keep scope to <module>; no new dependencies.
Validation: Run `...`.
Deliverables: Patch + tests + short doc update.

References

  • Read references/video.md for a concise source summary.
  • Read references/transcript.md for full context.
  • Read references/visual-notes.md for a visual outline.

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.