Production-grade AI coding instructions, curated skills, and a 3-stage review pipeline (Planning → Critical Review → Diff Audit) built after 4,500+ hours with AI agents. Agent-agnostic.
# Add to your Claude Code skills
git clone https://github.com/vaibhav-space/my-ai-coding-workflowGuides for using ai agents skills like my-ai-coding-workflow.
my-ai-coding-workflow is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by vaibhav-space. Production-grade AI coding instructions, curated skills, and a 3-stage review pipeline (Planning → Critical Review → Diff Audit) built after 4,500+ hours with AI agents. Agent-agnostic. It has 351 GitHub stars.
my-ai-coding-workflow's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/vaibhav-space/my-ai-coding-workflow" and add it to your Claude Code skills directory (see the Installation section above).
my-ai-coding-workflow is primarily written in HTML. It is open-source under vaibhav-space on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh my-ai-coding-workflow against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
The engineering instructions, curated skills, and three-stage review workflow I use to keep AI-assisted development fast, controlled, and verifiable.
At a glance
CLAUDE.md) and three prompts: plan, critique the plan, audit the result.For Claude Code. Needs bash. Tested on Linux.
git clone https://github.com/vaibhav-space/my-ai-coding-workflow
cd my-ai-coding-workflow
./install-commands.sh
Restart Claude Code and type /plan.
The script adds three slash commands, /plan, /review-plan and /review-prod, and copies the plan page template to ~/.claude/plan-template.html. It skips any file you already have. Pass --force to replace files, and it keeps a .bak copy.
For the global rules, copy CLAUDE.md to ~/.claude/CLAUDE.md (see the Adoption Guide). If you already have one, merge by hand instead of replacing it.
Using Gemini CLI or Cursor? Copy and paste the prompts from prompts/ instead.
| You want to... | Type | Why | You get |
|---|---|---|---|
| Fix a typo, or change 1 to 3 files you can name | Just ask. No command. | A plan would cost more than the change. | The change. |
| Build something bigger, or you are not sure how big it is | /plan |
The agent reads your code and shows a plan before it touches anything. | An interactive plan page with tickable steps. No code is written. |
| Check the plan before you build | /review-plan in a new chat |
A reviewer that did not write the plan has no reason to agree with it. | A verdict, the problems found, and a corrected plan. |
| Check the result before you commit | /review-prod in a new chat |
It reads the real file changes and runs the tests, not the agent's summary. | Proof it works, fixes for what broke, and a "Could not verify" list. |
The routine, in 5 steps
/plan and describe what you want. Read the page and tick the steps. Tell the agent what to change./clear or start a new session). Paste the plan and run /review-plan./review-prod. Read "Could not verify" first. It tells you what to test by hand.Why new chats? An agent that wrote something is the worst judge of it. A fresh chat has to look at the actual code.
Good to know
This repository is not a speculative prompt collection.
It is the setup I arrived at after spending an estimated 4,500+ hours actively building, debugging, refactoring, and deploying software alongside AI coding agents.
[!NOTE] The 4,500+ hours figure is a personal working estimate based on roughly six productive hours per day over a little more than two years of daily engineering work. It is not tracked automated telemetry.
My day-to-day workflow evolved across multiple waves of AI developer tooling:
I do not claim equal usage across all these platforms. What became clear through thousands of hours across all of them was a universal pattern:
Unconstrained AI coding agents fail predictably.
They suffer from confirmation bias, over-engineer simple utilities into speculative generic frameworks, write code against hallucinated APIs, quietly reformat adjacent files, and declare "tests pass!" without actually executing them.
This repository represents the guardrails, prompts, and behavioral directives I built to reduce those failure modes. It is a practical, personal setup designed for real production work.
| Principle | Why It Matters in AI-Assisted Engineering |
|---|---|
| 1. Correctness Over Speed | An agent that writes 500 lines in 10 seconds is a liability if 20 of those lines introduce silent race conditions or break API contracts. |
| 2. Simplicity (Ponytail & YAGNI) | Models reflexively invent factory patterns, wrappers, and speculative abstractions. We enforce the minimal surgical code that solves the problem. |
| 3. Plan Before Implementation | Forcing an agent to inspect the codebase and write an approved plan first prevents the classic "edit 12 files blindly, break the build, and scramble" loop. |
| 4. Independent Plan Criticism | An agent reviewing its own plan in the same turn suffers from self-confirmation bias. Plans must be challenged by an adversarial senior-engineering prompt in a fresh context. |
| 5. Diff Inspection Over Summaries | Never trust an agent's conversational summary of what it did. Audit git status, git diff, and git diff --cached. The diff is the only ground truth. |
| 6. Executable Verification | Assertions require evidence. An agent must run test suites, reproduction scripts, or dry-runs and output exit codes before claiming completion. |
| 7. Safe Retries & Idempotency | State-changing operations must have explicit retry semantics and deduplication. In distributed systems and agent loops, replay safety is mandatory. |
| 8. Deterministic Arithmetic | LLMs must never perform mental math on currency, tax, or markups in text. Mathematical operations are strictly delegated to deterministic code. |
| 9. Scoped Tenant Authorization | Tools must preserve caller identity and authorization context; agents never execute with ambient root or uncontained privilege. |
| 10. Explicit Blast-Radius Gates | Schema migrations, public API contract changes, new third-party dependencies, and destructive shell commands require explicit human sign-off. |
Note that the approval gates in CLAUDE.md are behavioral instructions the agent follows, not mechanically enforced security boundaries; real enforcement comes from your coding tool's native permission settings.
Rather than allowing an agent to jump straight from user prompt to code editing, non-trivial engineering tasks follow a structured progression:
flowchart TD
User([Task Request]) --> Classify{Task Lifecycle}
Classify -->|Spike / Bounded| Quick[Direct TDD & Minimal Fix]
Classify -->|Architectural / Breaking| Brainstorm[Brainstorm & Spec Approval]
Brainstorm --> P1[1. Planning Prompt]
P1 -->|Inspects repo & drafts plan| Plan[Implementation Plan]
Plan --> P2[2. Critical Plan Review]
P2 -->|Red-teams assumptions in fresh context| RevPlan[Approved Plan]
RevPlan --> Code[Implementation & TDD]
Code --> P3[3. Production Readiness Review]
P3 -->|Audits git diff, staged files & runs tests| Done([Reviewed & Ready to Merge])
Spike: 1 cheap probe command -> 2-sentence finding.Bounded: Covers isolated repairs and 1-3 file non-breaking enhancements. Propose in chat for approval first if altering public API contracts, database schemas, or financial logic; otherwise execute autonomously.Architectural: Subsystems, multi-service features, or breaking contract changes -> Strictly executes the 3-stage review pipeline below.prompts/planning.md)