Skip to content

boparaiamrit/superdev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

36 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Superdev โ€” Claude Code + Codex Plugin

16 production-grade skills + 51 specialized role prompts for full-stack monorepo builds

Workspace-scope agnostic ยท package-manager agnostic ยท self-improving ยท marketplaceable


Get Started Stars License

GitHub X/Twitter Sponsor


Codex Support

Superdev now includes a Codex manifest at plugins/superdev/.codex-plugin/plugin.json and a repo-local marketplace at .agents/plugins/marketplace.json.

In Codex, the 16 Superdev skills load natively. The Claude Code subagent files and hook events are preserved for Claude users; Codex treats the agents/*.md files as role-prompt references and runs hook-equivalent checks explicitly from the skills. See CODEX.md for the host adapter notes.

๐Ÿงฌ What's Inside โ€” 16 Skills

# Skill What It Does
1 ๐Ÿง  prd-design-build-orchestrator Multi-agent orchestration. The conductor โ€” coordinates all 16 skills, reads .claude/memory/superdev-learned/ before every dispatch, threads project lessons into agent prompts.
2 ๐ŸŽจ design-to-nextjs Translate Claude Design handoffs into production Next.js (shadcn-everywhere, view-shape contract, dual-mode adapter).
3 ๐Ÿ–ผ๏ธ design-preservation ๐Ÿ†• When source is a prototype (HTML/Figma/existing app), copy verbatim into apps/web/src/design-source/, mirror at /__design-source/, pixel-diff every Phase C wave at โ‰ค 1% drift via design-fidelity-auditor. The Holy Grail rule: no restyling.
4 ๐Ÿ›๏ธ nestjs-enterprise-backend Nest.js + PostgreSQL 17 + TimescaleDB + Drizzle + CASL + BullMQ + Redis. @Audit decorator, view-shape contract, CASL ability enforcement.
5 ๐Ÿ”’ security-review-and-fix Six-phase security audit: inventory โ†’ static โ†’ dynamic โ†’ dependency โ†’ triage โ†’ fix. Optional 3-teammate adversarial review.
6 ๐Ÿ”„ prototype-to-saas Convert a single-user Next.js prototype with JSON-as-backend into a multi-tenant SaaS. Surgical feature-by-feature rewiring without destroying the UI.
7 ๐Ÿงช exploratory-qa Senior-engineer-style QA: Playwright-driven happy paths + edge cases, consistency audit, perf probing with N+1 detection.
8 ๐Ÿชฒ systematic-debugging ๐Ÿ†• 5-phase brutal-debug pipeline (reproduce โ†’ root-cause โ†’ hypothesis-test โ†’ fix โ†’ regression-verify). Refuses to apply fixes without a VERIFIED:true ROOT_CAUSE.md. Optional 3-teammate competing-hypotheses team.
9 โœ… product-completeness-audit ๐Ÿ†• "A beautiful UI with hardcoded data is a demo, not a product." 5 agents detect placeholders, stub handlers, mocked data, and HYBRID screens (real data + hardcoded fields). Runs in production mode against real backend.
10 ๐Ÿ—ก๏ธ brutal-exhaustive-audit ๐Ÿ†• Every file, every route, every flow, every data path, every edge case โ€” no shortcuts, mandatory checklists tracked on disk. The final gate before "ship". 6 agents + optional severity-debate team.
11 ๐Ÿง  superdev-self-learning The meta-loop. UserPromptSubmit hook detects frustration; SubagentStop captures verifier failures; both dispatch learn-from-frustration to write a structured feedback memory entry. The orchestrator reads these before every future dispatch. The system gets smarter every session.
12 ๐Ÿงฑ frontend-modular-architecture ๐Ÿ†• v1.3.0 The structure-enforcer that prevents AI-frontend god-files. Page โ‰ค 100 lines. Component โ‰ค 200 lines. Dedicated Zustand stores per module (entity / UI / wizard). Wizards split per-step under create-wizard/. Drawers/modals/popovers in own folders under parts/<name>/ using shadcn Portal primitives (Sheet / Dialog / Popover / DropdownMenu). Audited by module-structure-auditor + portal-correctness-auditor at every wave gate.
13 ๐Ÿ”จ frontend-refactoring ๐Ÿ†• v1.3.0 Atomic one-module conversion of an existing fat module into the canonical layout. Five strict phases: deep plan (every file enumerated) โ†’ review gate โ†’ behavior baseline (Playwright) โ†’ atomic-execute (one commit on feature branch) โ†’ zero-drift verify. Any behavior change = full rollback. No half-converted state ever lands.
14 ๐Ÿ˜ laravel-enterprise-backend ๐Ÿ†• v1.4.0 ยท reworked v1.6.0 Laravel 13 backend alternative to Nest.js โ€” PostgreSQL + TimescaleDB (stock pgsql, self-managed; UUID PKs), database-backed cache + sessions (no Redis), SQS queues, Eloquent API Resources as presenter + hand-written TS contract (in packages/contracts, guarded by a contract test), #[Audit] attribute โ†’ audit_logs TimescaleDB hypertable (compression + retention), Sanctum + spatie/laravel-permission + #[Authorize], BelongsToWorkspace global-scope tenancy (cross-workspace 404), reference-field (no-FK) model, Title-Case enums, Laravel Boost.
15 โ˜๏ธ laravel-bref-deploy ๐Ÿ†• v1.4.0 Serverless deploy of the Laravel backend on AWS Lambda via Bref 3.x โ€” web (php-84-fpm) + SQS worker + artisan (php-84-console) functions, EventBridge schedule:run, public HTML/assets โ†’ S3 + CloudFront, SSM secrets, managed PostgreSQL + TimescaleDB over public internet (no VPC). Defaults to OSS Serverless (osls); Bref Cloud (bref deploy) documented.
16 ๐Ÿ˜ design-to-laravel ๐Ÿ†• v1.5.0 Translate a Claude Design handoff into a Laravel + Inertia 3 + React 19 monolith (the official React starter kit โ€” TS, Tailwind 4, shadcn incl. sidebar block). Pages in resources/js/pages get typed props via Inertia::render; routing via Wayfinder; forms via useForm; auth via Fortify session + spatie/permission + #[Authorize]. Reuses design-to-nextjs token-extraction + shadcn; client-only, deployed on Bref. The default Laravel frontend (Next.js remains an alternative).

๐Ÿ”€ Backend + frontend stack choice โ€” when the orchestrator builds a backend it asks Laravel or Nest.js (Step A.5b) and routes builder/contracts/deploy. When Laravel is chosen it then asks the frontend (Step A.5c): Inertia monolith (default โ€” design-to-laravel, one app, Fortify session) or decoupled Next.js (design-to-nextjs, Sanctum tokens). Nest.js always pairs with Next.js; all QA/security/audit skills are identical regardless.


๐Ÿ’Ž The Gem: 51 Subagents + Self-Improving Memory + Adversarial Teams

Superdev ships every full-stack workflow as a fleet of 51 specialized subagents that the orchestrator dispatches in parallel waves โ€” each agent gets a fresh context window, focuses on one feature module or one audit concern, and writes its findings to disk before returning. The orchestrator reads .claude/memory/superdev-learned/ BEFORE every dispatch and threads relevant lessons into agent prompts, so the system learns from every past failure and stops repeating mistakes.

 โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
 โ•‘          ORCHESTRATOR  ยท  4 phases  ยท  16 skills  ยท  51 agents       โ•‘
 โ•‘      A) Audit  B) Bootstrap  C) Execute  D) Integrate + Audits       โ•‘
 โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•ฆโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
                                  โ•‘
                       Subagent waves dispatching
       โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
       โ”‚              โ”‚                       โ”‚              โ”‚
 โ”Œโ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
 โ”‚ 10 build     โ”‚ โ”‚  5 security   โ”‚ โ”‚  5 migration  โ”‚ โ”‚  4 QA          โ”‚
 โ”‚ agents       โ”‚ โ”‚  agents       โ”‚ โ”‚  agents       โ”‚ โ”‚  agents        โ”‚
 โ”‚              โ”‚ โ”‚               โ”‚ โ”‚               โ”‚ โ”‚                โ”‚
 โ”‚ prd-analyst  โ”‚ โ”‚ security-inv  โ”‚ โ”‚ codebase-disc โ”‚ โ”‚ qa-environment โ”‚
 โ”‚ design-inv   โ”‚ โ”‚ static-audit  โ”‚ โ”‚ schema-revrse โ”‚ โ”‚ qa-flow-tester โ”‚
 โ”‚ gap-auditor  โ”‚ โ”‚ dynamic-audit โ”‚ โ”‚ migration-planโ”‚ โ”‚ qa-consistโ€ฆ    โ”‚
 โ”‚ plan-arch    โ”‚ โ”‚ dep-auditor   โ”‚ โ”‚ backend-extr  โ”‚ โ”‚ qa-perf-probe  โ”‚
 โ”‚ monorepo-bootโ”‚ โ”‚ security-fix  โ”‚ โ”‚ frontend-rew  โ”‚ โ”‚                โ”‚
 โ”‚ contracts-a  โ”‚ โ”‚               โ”‚ โ”‚               โ”‚ โ”‚                โ”‚
 โ”‚ backend-mod  โ”‚ โ”‚               โ”‚ โ”‚               โ”‚ โ”‚                โ”‚
 โ”‚ frontend-mod โ”‚ โ”‚               โ”‚ โ”‚               โ”‚ โ”‚                โ”‚
 โ”‚ ui-auditor   โ”‚ โ”‚               โ”‚ โ”‚               โ”‚ โ”‚                โ”‚
 โ”‚ integ-tester โ”‚ โ”‚               โ”‚ โ”‚               โ”‚ โ”‚                โ”‚
 โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
        โ”‚                โ”‚                  โ”‚                  โ”‚
        โ–ผ                โ–ผ                  โ–ผ                  โ–ผ
 โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
 โ”‚       Markdown artifacts on disk (audited, resumable, reviewable)    โ”‚
 โ”‚  EXECUTION_PLAN.md  SECURITY_REPORT.md  MIGRATION_PLAN.md  QA_*.md   โ”‚
 โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

What makes it different:

  • โœ… Workspace-scope agnostic โ€” no hardcoded @scope/ anywhere; uses <scope> placeholders + path-based pnpm filters
  • โœ… Package-manager agnostic โ€” hooks auto-detect pnpm / npm / yarn / bun from lockfile
  • โœ… Install anywhere โ€” works installed globally in ~/.claude/plugins/ or privately checked into a single monorepo
  • โœ… 51 subagents auto-loaded โ€” no install scripts, no manual agents/ copying
  • โœ… 6 runtime hooks โ€” auto-typecheck after every builder, stack-health check before Playwright agents, frustration-detection on every user prompt, lesson-capture after every verifier
  • โœ… Self-improving โ€” orchestrator reads .claude/memory/superdev-learned/ before every dispatch; learn-from-frustration writes new lessons from user corrections / code reverts / verifier rejections / design drift
  • โœ… Adversarial teams (optional) โ€” 3-teammate reviews on 9+ phases (security, QA, gap, severity, drift, completeness, competing-hypotheses) when stakes are high
  • โœ… Resumable โ€” every phase produces a markdown artifact; pick up where you stopped

๐Ÿš€ Quick Start

Install

Codex local marketplace:

# Use this repository's marketplace file:
# .agents/plugins/marketplace.json

Then invoke the skills directly in Codex, for example:

Use $security-review-and-fix to audit this codebase.
Use $prototype-to-saas to productionize this prototype.
Use $prd-design-build-orchestrator with docs/PRD.md and design/.

Claude Code marketplace:

Step 1 โ€” Add the marketplace:

/plugin marketplace add boparaiamrit/superdev

Step 2 โ€” Install the plugin:

/plugin install superdev@superdev

๐Ÿ’ก Or install from the bundled zip:

bash install-superdev.sh

The installer extracts to ~/.claude/plugins/superdev/ and registers the path in ~/.claude/settings.json so every Claude Code session loads it.

๐Ÿงช Or test locally during development:

claude --plugin-dir ~/superdev/plugins/superdev

Run

In any Claude Code session, just say what you want โ€” the right skill activates standalone, no need to drive the whole orchestrator pipeline.

Use a single skill (no orchestrator overhead)

๐ŸŽฏ Want onlyโ€ฆ ๐Ÿ’ฌ Sayโ€ฆ ๐ŸŽฌ What happens
Security audit "Run a security audit on this codebase" security-review-and-fix activates โ†’ dispatches its 5 agents โ†’ produces SECURITY_REPORT.md. No orchestrator.
QA pass "Run a production-readiness QA pass" exploratory-qa activates โ†’ its 4 agents run Playwright flows + perf probes
Debug a bug "Help me debug this test failure: โ€ฆ" systematic-debugging activates โ†’ reproduce โ†’ root-cause โ†’ fix โ†’ regression-verify
Brutal final audit "Audit this brutally before we ship" brutal-exhaustive-audit activates โ†’ all 6 phases on disk-tracked checklists
Demo-vs-product check "Is this actually wired up or just looks done?" product-completeness-audit activates โ†’ 5 agents detect placeholder/mock/HYBRID
Preserve prototype UI "Migrate this prototype to a SaaS but DO NOT change the UI" design-preservation + prototype-to-saas activate together โ†’ byte-for-byte mirror + frontend-rewirer with fidelity gate
Convert design to Next.js "Convert this Claude Design output to a Next.js codebase" design-to-nextjs activates โ†’ shadcn translation, view-shape contract
Build backend only "Build a Nest.js backend with these patterns: โ€ฆ" nestjs-enterprise-backend activates โ†’ modules with CASL + @Audit + Drizzle

Use the orchestrator (full pipeline)

๐ŸŽฏ Situation ๐Ÿ’ฌ What to say
Greenfield PRD + Claude Design "Build the full-stack app from docs/PRD.md and design/"
Greenfield PRD + prototype "Build the full-stack app โ€” PRD at docs/PRD.md, preserve the prototype in design/"
Existing Next.js prototype "Help me productionize this Next.js prototype โ€” don't change the UI"

๐Ÿ› ๏ธ Package Manager Support

Hooks auto-detect your package manager from the lockfile in your monorepo root:

๐Ÿ“ฆ Lockfile found ๐Ÿƒ Hook runs
pnpm-lock.yaml (cd apps/api && pnpm typecheck)
yarn.lock (cd apps/api && yarn typecheck)
bun.lockb / bun.lock (cd apps/api && bun run typecheck)
(none of the above) (cd apps/api && npm run typecheck)

โœ… No configuration needed. Drop the plugin into a pnpm, npm, yarn, or bun monorepo and the hooks just work.

The monorepo-bootstrapper agent defaults to pnpm + Turborepo (it's the cleanest fit for workspace-scope filtering), but it honors your existing setup if there's already a lockfile โ€” and the runtime hooks adapt to whatever PM your repo actually uses.


๐Ÿงฉ Placeholder Convention

Superdev is workspace-scope-agnostic by design. Where docs reference your project, you'll see placeholders โ€” substitute them with your project's actual values:

๐Ÿท๏ธ Placeholder ๐Ÿ“– Means ๐Ÿ” Detect from
<scope> npm scope (e.g. acme in @acme/api) Root package.json name field
<workspace> Monorepo root dir name Directory you ran <pm> init in
<app> Short name for DB / storage-key prefixes Lowercase <workspace>
<APP_NAME> Human-readable brand shown in UI / API title Your product name
<feature> The feature module being built Current task
<pm> Package manager (pnpm / npm / yarn / bun) Lockfile in monorepo root

Nothing in the plugin is hardcoded to a specific monorepo. Install once, use everywhere.


๐Ÿ—๏ธ How It Works โ€” The 4-Phase Pipeline

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚   A. AUDIT    โ”‚โ”€โ”€โ”€โ–ถโ”‚ B. BOOTSTRAP  โ”‚โ”€โ”€โ”€โ–ถโ”‚  C. EXECUTE   โ”‚โ”€โ”€โ”€โ–ถโ”‚ D. INTEGRATE  โ”‚
โ”‚  PRD digest,  โ”‚    โ”‚  Monorepo +   โ”‚    โ”‚  Per-feature  โ”‚    โ”‚  Cross-cuttingโ”‚
โ”‚  design       โ”‚    โ”‚  contracts    โ”‚    โ”‚  build waves  โ”‚    โ”‚  tests, sec   โ”‚
โ”‚  inventory,   โ”‚    โ”‚  scaffold,    โ”‚    โ”‚  (be+fe in    โ”‚    โ”‚  audit, QA,   โ”‚
โ”‚  gap audit,   โ”‚    โ”‚  Docker up,   โ”‚    โ”‚  parallel),   โ”‚    โ”‚  perf probe   โ”‚
โ”‚  plan         โ”‚    โ”‚  health check โ”‚    โ”‚  ui-audit     โ”‚    โ”‚               โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ“‹ Phase A โ€” Audit

  • prd-analyst reads PRD โ†’ produces PRD_DIGEST.md (entities, features, NFRs)
  • design-inventory reads design handoff โ†’ produces DESIGN_DIGEST.md (screens, components, implicit shapes)
  • gap-auditor diffs the two โ†’ produces AUDIT.md (missing-from-design / missing-from-prd / type-mismatch / naming-drift / scope-creep)
  • plan-architect synthesizes everything โ†’ EXECUTION_PLAN.md (module split, wave structure, CASL abilities, queues, crons)

๐Ÿค Optional adversarial team: With CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1, gap-auditor runs as a 3-teammate review (harshest critic vs pragmatist vs shipping-advocate).

๐Ÿ—๏ธ Phase B โ€” Bootstrap

  • monorepo-bootstrapper scaffolds the pnpm workspace + Turbo + apps/api + apps/web + packages/* per the bundled scaffolding references. Uses your existing PM if a lockfile is already present.
  • contracts-author authors every Zod schema in packages/contracts/src/*.ts for every feature at once. Enforces the view-shape contract (no .optional() on data fields, Title Case enums).

๐Ÿš€ Phase C โ€” Execute (Parallel Waves)

For each feature in the execution plan, dispatched in parallel:

  • backend-module-builder โ€” Nest.js controller, service, presenter, repository, DTOs, Drizzle schema, tests
  • frontend-module-builder โ€” Next.js api fetchers, TanStack Query hooks, components, fixtures, page route
  • ui-auditor โ€” verifies shadcn-everywhere compliance after each wave

๐Ÿ” Phase D โ€” Integrate

  • integration-tester โ€” cross-workspace isolation, CASL enforcement, @Audit coverage, view-shape compliance, dual-mode boot
  • security-inventory โ†’ static-auditor โ†’ dynamic-auditor โ†’ dependency-auditor โ†’ security-fixer โ€” 5-stage security pipeline
  • qa-environment โ†’ qa-flow-tester (parallel per feature) โ†’ qa-consistency-checker โ†’ qa-performance-prober โ€” Playwright-driven exploratory QA

๐Ÿง  Architectural Commitments (Enforced Across All Skills)

# Commitment Why it matters
1 ๐Ÿ›๏ธ Monorepo โ€” apps/web + apps/api + packages/contracts Shared Zod schemas eliminate frontend/backend drift
2 ๐Ÿ“ View-shape contract โ€” backend returns view-ready data Frontend renders WITHOUT ?. or ?? on contract fields โ€” the API does the work, not the UI
3 ๐Ÿท๏ธ Title Case enums โ€” DB = wire = UI label No conversion code anywhere; company.status renders directly
4 ๐ŸŽจ shadcn/ui everywhere โ€” every visual primitive from @/components/ui/* ui-auditor enforces this โ€” NO Radix-direct, MUI, Chakra, etc.
5 ๐Ÿณ Docker for ALL infrastructure โ€” Postgres + Timescale, Redis, etc. Container names prefixed with <workspace>_* so multiple monorepos run side-by-side
6 ๐Ÿ” CASL + @Audit โ€” every endpoint protected, every mutation audited Tenant isolation + compliance baked into the framework
7 ๐Ÿ”€ Dual-mode adapter โ€” NEXT_PUBLIC_API_MODE=demo vs production Frontend ships with JSON fixtures for design review; flips to real API at deploy

๐Ÿ–ผ๏ธ Design-Preservation โ€” the Holy Grail Rule

When you hand superdev a prototype (your own HTML, a Figma export, an existing app's frontend), the design-preservation skill treats it as sacred:

THE ORIGINAL DESIGN IS A HOLY GRAIL.
WE DO NOT IMPROVE IT, RESTYLE IT, OR REINTERPRET IT.
WE COPY VERBATIM, RENDER AS A MIRROR, AND ONLY THEN WIRE DATA.
Pixel drift > 1% in any region against the source = build fails.

How it works:

  1. ๐Ÿ—„๏ธ Phase 0a โ€” Verbatim copy. design-source-mirror copies every HTML / CSS / JS / image / font byte-for-byte into apps/web/src/design-source/. Verified with diff -r.
  2. ๐Ÿชž Phase 0b โ€” Mirror route. A dev-only /__design-source/[...path] route serves the copied files. Source becomes browseable side-by-side with the built app.
  3. ๐Ÿ“ Phase 0c โ€” Baseline capture. design-fidelity-auditor screenshots every page at desktop / tablet / mobile โ†’ design-baseline/.
  4. ๐Ÿšฆ Phase C wave gates. After every frontend agent finishes, design-fidelity-auditor re-screenshots and pixel-diffs. Drift > 1% on any region โ†’ wave fails, agent re-dispatches with the diff.

When NOT to use it:

  • โŒ Claude Design output (those are blueprints meant to be translated into shadcn โ€” preserving them defeats the whole design-to-nextjs skill)
  • โŒ Mood-boards or screenshots without HTML/CSS (nothing to preserve verbatim)

The orchestrator auto-routes: prototype โ†’ preservation, Claude Design โ†’ translation. You don't have to remember the difference.

๐Ÿง  Self-Learning Loop โ€” the Meta-Skill

Every time the system fails and you correct it, it learns. Permanently. For this project.

   User dispatches superdev
        โ”‚
        โ–ผ
   Orchestrator reads .claude/memory/superdev-learned/  โ† ALL past lessons
        โ”‚
        โ–ผ
   Threads relevant lessons into agent prompts
        โ”‚
        โ–ผ
   Agents do work informed by past mistakes
        โ”‚
        โ–ผ
   โš ๏ธ Something goes wrong? (you said "no/stop/wrong",
      you reverted Claude's code, regression-verifier
      REJECTed, design-fidelity-auditor flagged > 1% drift,
      product-completeness-audit found mocked data)
        โ”‚
        โ–ผ
   Frustration hook fires โ†’ learn-from-frustration agent
        โ”‚
        โ–ผ
   New feedback memory entry written
   (.claude/memory/superdev-learned/<topic>.md)
        โ”‚
        โ–ผ
   NEXT dispatch reads the new entry too
        โ”‚
        โ””โ”€ The same mistake is never made twice in this project.

What gets captured:

๐Ÿšจ Triggering event ๐Ÿ“ Example lesson saved
User reverted 3 frontend-module-builder commits with "I told you not to change the buttons" no-restyle-source-buttons โ€” wrap source <button> markup, never replace with shadcn <Button>
product-completeness-audit found 3 hardcoded *_count fields aggregate-counts-always-real โ€” presenters must SELECT COUNT, never hardcode
User said "stop adding error boundaries to list pages" do-not-add-error-boundaries-to-list-pages โ€” rely on TanStack isError instead

Scope (v1.2): project-only โ€” lessons live in .claude/memory/superdev-learned/ in the current repo and are appended to that repo's CLAUDE.md so EVERY Claude session in the repo sees them. The user can promote any lesson to global with "remember this for all my projects".

Detection is conservative โ€” only strong signals trigger learning ("no/stop/wrong" as a short message, repeat-correction markers like "I already told you", explicit code reverts, verifier rejections). Normal iteration ("actually change the color to blue") doesn't.

๐Ÿค Agent Teams (Optional, ~3ร— tokens)

Several phases benefit from adversarial 3-teammate reviews when stakes are high. Requires CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1.

Phase Team What they do
๐Ÿ”Ž Gap audit (Phase A.3) 3 critics Adversarial review of PRD-vs-design gaps
๐Ÿ”’ Security audit (Phase D.2) 3 auditors Challenge each other's findings; reduce false positives
๐Ÿงช QA report synthesis (Phase D.3.6) 3 reviewers Severity debate โ€” harshest-critic vs pragmatist vs shipping-advocate
โšก Performance investigation 3 hypothesists Competing-hypotheses for ambiguous slowdowns
๐Ÿ”ง Per-feature pair-programming (Phase C.2) be โ†” fe Backend + frontend teammates negotiate contracts live
๐Ÿชฒ Systematic debugging โ€” competing hypotheses ๐Ÿ†• 3 detectives Each champions one root-cause candidate, designs an experiment to falsify the others'
๐Ÿ—ก๏ธ Brutal audit โ€” severity debate ๐Ÿ†• 3 reviewers Harshest-critic vs pragmatist vs shipping-advocate for ambiguous P0/P2 findings
โœ… Product completeness โ€” demo-vs-product ๐Ÿ†• 3 verdicts strict / pragmatic / user-POV decide if HYBRID screens count as DEMO or ship-able
๐Ÿ–ผ๏ธ Design drift severity ๐Ÿ†• 3 reviewers designer / pixel-strict / pragmatist for drifts between 1% and 5%

Enable with the installer:

bash install-superdev.sh --enable-teams

๐Ÿ“ฆ Tech Stack Baked In

Layer Choices
๐ŸŽจ Frontend Next.js 14+ App Router ยท Tailwind ยท TanStack Query/Table ยท Zustand ยท Zod ยท React Hook Form ยท shadcn/ui
๐Ÿ›๏ธ Backend Nest.js 10+ ยท PostgreSQL 17 + TimescaleDB ยท Drizzle ORM ยท Redis 7+ ยท BullMQ ยท CASL ยท nestjs-zod ยท JWT + argon2 ยท Pino ยท Prometheus
๐Ÿ› ๏ธ Tooling pnpm workspaces (default) ยท Turborepo ยท Docker Compose
๐Ÿงช QA Playwright (via MCP server scoped to QA agents only)
๐Ÿ” PM compat pnpm / npm / yarn / bun โ€” hooks auto-detect

๐Ÿช Runtime Enforcement Hooks

Event-driven enforcement that catches regressions the moment they happen and powers the self-learning loop:

Hook Event What it does
โœ… Auto-typecheck (backend) SubagentStop ยท backend-module-builder, backend-extractor Runs <pm> typecheck in apps/api/
โœ… Auto-typecheck (frontend) SubagentStop ยท frontend-module-builder, frontend-rewirer Runs <pm> typecheck in apps/web/
โœ… Auto-build (contracts) SubagentStop ยท contracts-author Runs <pm> build in packages/contracts/
๐Ÿšฆ Stack-up check SubagentStart ยท all Playwright-using agents (qa-flow-tester, qa-performance-prober, journey-walker, route-walker, edge-case-prober, route-completeness-checker) Hits /v1/readiness + Next.js root before runtime agents waste time on a dead stack
๐Ÿง  Frustration detector ๐Ÿ†• UserPromptSubmit ยท every prompt Conservative regex scan for "no/stop/wrong/I told you/revert" โ†’ queues a learn-from-frustration dispatch
๐Ÿง  Lesson capturer ๐Ÿ†• SubagentStop ยท fix-applier, regression-verifier, design-fidelity-auditor, audit-synthesizer If verifier verdict is REJECT/FAIL/drift > 1% OR a LESSON: line is in the agent's output, queues a learn-from-frustration dispatch

All package-manager-aware hooks auto-detect your PM from the lockfile โ€” no configuration required.


๐Ÿ—‚๏ธ Repository Structure

superdev/
โ”œโ”€โ”€ ๐Ÿ“ .claude-plugin/
โ”‚   โ””โ”€โ”€ marketplace.json                     Marketplace manifest
โ”œโ”€โ”€ ๐Ÿ“ plugins/superdev/
โ”‚   โ”œโ”€โ”€ ๐Ÿ“ .claude-plugin/
โ”‚   โ”‚   โ””โ”€โ”€ plugin.json                      Plugin manifest (v1.2.0)
โ”‚   โ”œโ”€โ”€ ๐Ÿ“ agents/                           51 specialized subagents
โ”‚   โ”‚   โ”œโ”€โ”€ prd-analyst.md                   โ”
โ”‚   โ”‚   โ”œโ”€โ”€ design-inventory.md              โ”‚
โ”‚   โ”‚   โ”œโ”€โ”€ gap-auditor.md                   โ”‚  10 core
โ”‚   โ”‚   โ”œโ”€โ”€ plan-architect.md                โ”‚  build agents
โ”‚   โ”‚   โ”œโ”€โ”€ monorepo-bootstrapper.md         โ”‚
โ”‚   โ”‚   โ”œโ”€โ”€ contracts-author.md              โ”‚
โ”‚   โ”‚   โ”œโ”€โ”€ backend-module-builder.md        โ”‚
โ”‚   โ”‚   โ”œโ”€โ”€ frontend-module-builder.md       โ”‚
โ”‚   โ”‚   โ”œโ”€โ”€ ui-auditor.md                    โ”‚
โ”‚   โ”‚   โ”œโ”€โ”€ integration-tester.md            โ”˜
โ”‚   โ”‚   โ”œโ”€โ”€ security-inventory.md            โ”
โ”‚   โ”‚   โ”œโ”€โ”€ static-auditor.md                โ”‚
โ”‚   โ”‚   โ”œโ”€โ”€ dynamic-auditor.md               โ”‚  5 security
โ”‚   โ”‚   โ”œโ”€โ”€ dependency-auditor.md            โ”‚  agents
โ”‚   โ”‚   โ”œโ”€โ”€ security-fixer.md                โ”˜
โ”‚   โ”‚   โ”œโ”€โ”€ codebase-discoverer.md           โ”
โ”‚   โ”‚   โ”œโ”€โ”€ schema-reverse-engineer.md       โ”‚
โ”‚   โ”‚   โ”œโ”€โ”€ migration-planner.md             โ”‚  5 migration
โ”‚   โ”‚   โ”œโ”€โ”€ backend-extractor.md             โ”‚  agents
โ”‚   โ”‚   โ”œโ”€โ”€ frontend-rewirer.md              โ”˜
โ”‚   โ”‚   โ”œโ”€โ”€ qa-environment.md                โ”
โ”‚   โ”‚   โ”œโ”€โ”€ qa-flow-tester.md                โ”‚  4 QA
โ”‚   โ”‚   โ”œโ”€โ”€ qa-consistency-checker.md        โ”‚  agents
โ”‚   โ”‚   โ”œโ”€โ”€ qa-performance-prober.md         โ”˜
โ”‚   โ”‚   โ”œโ”€โ”€ bug-reproducer.md                โ”
โ”‚   โ”‚   โ”œโ”€โ”€ root-cause-investigator.md       โ”‚  5 systematic-
โ”‚   โ”‚   โ”œโ”€โ”€ hypothesis-tester.md             โ”‚  debugging
โ”‚   โ”‚   โ”œโ”€โ”€ fix-applier.md                   โ”‚  agents ๐Ÿ†•
โ”‚   โ”‚   โ”œโ”€โ”€ regression-verifier.md           โ”˜
โ”‚   โ”‚   โ”œโ”€โ”€ repo-cartographer.md             โ”
โ”‚   โ”‚   โ”œโ”€โ”€ route-walker.md                  โ”‚
โ”‚   โ”‚   โ”œโ”€โ”€ flow-walker.md                   โ”‚  6 brutal-
โ”‚   โ”‚   โ”œโ”€โ”€ data-flow-tracer.md              โ”‚  audit
โ”‚   โ”‚   โ”œโ”€โ”€ edge-case-prober.md              โ”‚  agents ๐Ÿ†•
โ”‚   โ”‚   โ”œโ”€โ”€ audit-synthesizer.md             โ”˜
โ”‚   โ”‚   โ”œโ”€โ”€ placeholder-hunter.md            โ”
โ”‚   โ”‚   โ”œโ”€โ”€ route-completeness-checker.md    โ”‚
โ”‚   โ”‚   โ”œโ”€โ”€ wiring-auditor.md                โ”‚  5 product-
โ”‚   โ”‚   โ”œโ”€โ”€ data-flow-real-vs-mock.md        โ”‚  completeness
โ”‚   โ”‚   โ”œโ”€โ”€ journey-walker.md                โ”˜  agents ๐Ÿ†•
โ”‚   โ”‚   โ”œโ”€โ”€ design-source-mirror.md          โ”  2 design-
โ”‚   โ”‚   โ”œโ”€โ”€ design-fidelity-auditor.md       โ”˜  preservation ๐Ÿ†•
โ”‚   โ”‚   โ””โ”€โ”€ learn-from-frustration.md           1 self-learning ๐Ÿ†•
โ”‚   โ”œโ”€โ”€ ๐Ÿ“ skills/                           16 skills with references/
โ”‚   โ”‚   โ”œโ”€โ”€ prd-design-build-orchestrator/   The conductor (routes to all)
โ”‚   โ”‚   โ”œโ”€โ”€ design-to-nextjs/                Claude Design โ†’ shadcn translation
โ”‚   โ”‚   โ”œโ”€โ”€ design-preservation/             ๐Ÿ†• Prototype โ†’ verbatim mirror + fidelity gate
โ”‚   โ”‚   โ”œโ”€โ”€ nestjs-enterprise-backend/       Backend skill
โ”‚   โ”‚   โ”œโ”€โ”€ security-review-and-fix/         Security skill
โ”‚   โ”‚   โ”œโ”€โ”€ prototype-to-saas/               Migration skill
โ”‚   โ”‚   โ”œโ”€โ”€ exploratory-qa/                  QA skill
โ”‚   โ”‚   โ”œโ”€โ”€ systematic-debugging/            ๐Ÿ†• 5-phase root-cause-before-fix
โ”‚   โ”‚   โ”œโ”€โ”€ product-completeness-audit/      ๐Ÿ†• Demo-vs-product verdict
โ”‚   โ”‚   โ”œโ”€โ”€ brutal-exhaustive-audit/         ๐Ÿ†• Every file/route/flow/edge
โ”‚   โ”‚   โ””โ”€โ”€ superdev-self-learning/          ๐Ÿ†• Meta-loop โ€” writes .claude/memory/superdev-learned/
โ”‚   โ”œโ”€โ”€ ๐Ÿ“ hooks/
โ”‚   โ”‚   โ”œโ”€โ”€ hooks.json                       PM-agnostic runtime + frustration hooks
โ”‚   โ”‚   โ””โ”€โ”€ scripts/
โ”‚   โ”‚       โ”œโ”€โ”€ detect-frustration.sh        UserPromptSubmit hook
โ”‚   โ”‚       โ””โ”€โ”€ maybe-learn.sh               SubagentStop hook
โ”‚   โ””โ”€โ”€ README.md                            Plugin-level docs
โ”œโ”€โ”€ ๐Ÿ“ฆ superdev.zip                          Bundled plugin for the installer
โ”œโ”€โ”€ ๐Ÿ› ๏ธ install-superdev.sh                   Shell installer (bash, ~20KB)
โ”œโ”€โ”€ ๐Ÿ“– INSTALL.md                            Installer docs
โ”œโ”€โ”€ ๐Ÿ“– README.md                             This file
โ”œโ”€โ”€ ๐Ÿ“„ LICENSE                               MIT
โ””โ”€โ”€ .gitignore

๐Ÿง‘โ€๐Ÿ”ง Why a Plugin Instead of Six Separate Skills

โœ… Benefit ๐Ÿ“– Why it matters
One install Six skills + 24 agents + hooks in a single /plugin install
Agents auto-loaded No install-*-agents.sh scripts; nothing manual
Plugin namespacing Agent-name collisions with other installed plugins are impossible
Hooks ship with the plugin No settings.json editing โ€” hooks auto-load when the plugin loads
Versioned releases version field in plugin.json; install pinned versions
Marketplaceable Distributable via /plugin marketplace add boparaiamrit/superdev

โš™๏ธ Requirements

Requirement Notes
๐Ÿค– Claude Code v2.1.32+ recommended. Agent Teams optional (CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1) for adversarial reviews.
๐Ÿ“ฆ Node.js + a package manager pnpm (default) / npm / yarn / bun โ€” hooks auto-detect
๐Ÿณ Docker For Postgres + Timescale + Redis. Container names are workspace-prefixed.
๐Ÿ Python 3 Used by the installer (install-superdev.sh) for safe JSON manipulation of settings.json

๐Ÿ› Troubleshooting

โŒ Symptom โœ… Fix
Hook says pnpm: command not found Hook is detecting pnpm-lock.yaml. If you actually use a different PM, delete the stale lockfile or replace it with your real one.
Stack-up hook fails before QA agents Boot your stack first: <pm> dev:infra && <pm> dev. Hook is just a friendly precheck.
ui-auditor flags Radix-direct imports The whole skill enforces shadcn-everywhere. Use @/components/ui/* instead.
Agents reference @<scope>/contracts Substitute <scope> with your monorepo's actual npm scope (from root package.json name).
monorepo-bootstrapper insists on pnpm It defaults to pnpm but honors existing lockfiles. Run it in an empty dir for full pnpm scaffold, or in an existing monorepo and it adapts.

๐Ÿค Contributing

Contributions welcome! Open issues or PRs at github.com/boparaiamrit/superdev.

Areas for contribution:

  • Additional skills (e.g. mobile, GraphQL backend, monolith variant)
  • More subagents for specialized workflows
  • Additional package manager edge cases in the hook detector
  • Reference docs for non-Drizzle ORMs
  • Alternative UI library variants (e.g. Mantine-everywhere instead of shadcn-everywhere)

๐Ÿ“„ License

MIT


๐Ÿ‘ค Author

Amritpal Singh Boparai โ€” @boparaiamrit

Built with Claude Code ยท Companion plugin to build-second-brain


Made with intensity in India ๐Ÿ‡ฎ๐Ÿ‡ณ

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors