super-dev
AGENTS.md274 starsChanged 8 months agoMITView on GitHub
Super Dev is a Python CLI tool (v2.4.0) that orchestrates AI-driven development pipelines inside host environments (e.g., Claude Code). It provides governance, quality gates, and audit artifacts for commercial-grade software delivery. It is NOT an independent AI agent — it's a governance layer that runs inside a host's coding environment.
- Installs packages
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository11 other files it gives its agents.
- .codex/AGENTS.mdAGENTS.md
- .junie/AGENTS.mdAGENTS.md
- .super-dev/AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/super-dev.mdcCursor rule
- super-dev-seeaiSkill
- super-devSkill
- super-devSkill
- super-dev-coreSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
71 rules. About 0 are common, 32 are distinctive, and 39 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈32
Distinctive · estimate
This author's own choices. Worth a look.
39
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 185
Imports: Must be sorted (ruff I rule)
- Very specific: line 219
Session continuity: Read .super-dev/SESSION_BRIEF.md before resuming.
- Very specific: line 224
Check package.json / framework versions before writing code
- Distinctive: line 226
No purple/pink gradient themes
- Very specific: line 228
Run super-dev enforce validate after UI code, super-dev quality after features
- Distinctive: line 229
No emoji as functional icons or placeholders
- Very specific: line 246
Treat Codex App/Desktop selecting super-dev or super-dev-seeai from the / list, Codex CLI explicit $super-dev / $super-dev-seeai, and …
- Distinctive: line 248
If the repository already contains active Super Dev workflow context, the first natural-language requirement in a new session must also …
- Distinctive: line 251
Do not spend a turn saying you will read the skill first, explain the skill, or decide whether to enter the workflow.
- Distinctive: line 252
Treat the current trigger as already authorized to execute the full Super Dev pipeline.
- Very specific: line 253
If a compatibility skill under ~/.codex/skills/ is loaded, treat it as the same Super Dev contract, not a fallback mode.
- Very specific: line 261
If the user triggers super-dev-seeai, enter the SEEAI competition-fast contract instead of the standard long chain.
- Very specific: line 267
Read knowledge/ and output/knowledge-cache/*-knowledge-bundle.json when available.
- Very specific: line 268
Use Codex native web/search/edit/terminal capabilities to perform similar-product research and write output/*-research.md into the …
- Distinctive: line 270
Stop after the three core documents, summarize them, and wait for explicit confirmation.
- Very specific: line 271
Only after confirmation, create .super-dev/changes/*/proposal.md and .super-dev/changes/*/tasks.md, then continue with frontend-first …
- Very specific: line 274
Do not start coding directly after /super-dev skill entry, $super-dev, super-dev:, or super-dev:.
- Distinctive: line 275
Do not create Spec before document confirmation.
- Very specific: line 276
If the user requests architecture changes, first update output/*-architecture.md, then realign Spec/tasks and implementation.
- Distinctive: line 277
If the user requests quality or security remediation, first fix the issues, rerun quality gate, refresh delivery evidence, and only then …
- Very specific: line 279
Before any UI implementation, first lock the icon library, typography, design token system, component ecosystem, and page skeleton from …
- Distinctive: line 280
Do not use emoji as functional icons or placeholders.
- Very specific: line 282
Keep using the component ecosystem and design token direction defined in output/*-uiux.md rather than switching ad hoc.
- Distinctive: line 283
If a required artifact is only described in chat and not written into the repository, treat the step as incomplete.
- Very specific: line 285
Use local super-dev CLI only for governance actions such as doctor, review, quality, release readiness, or update.
- Very specific: line 288
If .super-dev/SESSION_BRIEF.md exists, read it before responding and treat it as the active workflow state.
- Very specific: line 289
If the workflow is waiting for docs confirmation, preview confirmation, UI revision, architecture revision, or quality revision, then user …
- Distinctive: line 290
After each requested revision inside a gate, stay in the same stage, update the required artifacts, summarize what changed, and wait again …
- Distinctive: line 291
Do not silently exit Super Dev mode because the user asked for several edits, follow-up questions, or extra constraints.
- Distinctive: line 292
Only leave the current Super Dev workflow if the user explicitly says to cancel the workflow, restart from scratch, or switch back to …
- Distinctive: line 313
Use the host model/runtime as-is.
- Distinctive: line 314
Use Super Dev generated artifacts as source of truth.
- Distinctive: line 317
Treat Super Dev as a local Python CLI plus host-side rules/skills, not as a separate model provider.
- Distinctive: line 318
When the user triggers Super Dev, enter the protocol immediately instead of treating it as normal chat.
- Very specific: line 319
When the user triggers super-dev-seeai, switch to the SEEAI competition-fast contract: research -> compact docs -> docs confirmation -> …
- Very specific: line 320
Use host-native web/search/browse for research and host-native editing/execution for implementation.
- Very specific: line 321
Use local super-dev commands to generate/update documents, spec artifacts, quality reports, and delivery outputs.
- Very specific: line 325
If the repository already contains super-dev.yaml, .super-dev/WORKFLOW.md, output/*, .super-dev/review-state/*, or an unfinished run state, …
- Very specific: line 326
Before the first reply, read .super-dev/WORKFLOW.md and output/*-bootstrap.md when present, and treat them as the explicit bootstrap …
- Very specific: line 333
Read relevant files under knowledge/ before drafting documents.
- Very specific: line 334
If output/knowledge-cache/*-knowledge-bundle.json exists, read its local_knowledge, web_knowledge, and research_summary first.
- Distinctive: line 335
Treat matched local knowledge, checklists, anti-patterns, and scenario packs as project constraints that must flow into docs, spec, and …
- Very specific: line 357
Use the host's native browse/search/web capability to research similar products first and produce output/*-research.md as a real repository …
- Distinctive: line 359
Stop after the three core documents, summarize them to the user, and wait for explicit confirmation before creating Spec or coding
- Distinctive: line 360
Create Spec proposal/tasks only after the user confirms the documents
- Very specific: line 363
If the user says the UI is unsatisfactory, asks for a redesign, or says the page looks AI-generated, first update output/*-uiux.md, then …
- Very specific: line 364
If the user says the architecture is wrong or the technical plan must change, first update output/*-architecture.md, then realign tasks and …
- Distinctive: line 365
If the user says quality or security is not acceptable, first fix the issues, rerun quality gate, refresh delivery evidence, and only then …
- Very specific: line 366
Before any UI implementation, first lock the icon library, typography, token system, component ecosystem, and page skeleton according to …
- Distinctive: line 367
Do not use emoji as functional icons or placeholders, and do not leave icon decisions for later.
- Very specific: line 377
Before writing ANY code, run cat package.json (or equivalent) to check framework versions.
- Distinctive: line 378
If unsure about an API, use WebFetch to read official docs first.
- Distinctive: line 382
No purple/pink gradient themes.
- Distinctive: line 389
Before writing each file: correct imports, no emoji, colors from tokens only.
- Distinctive: line 390
After completing a feature, run build + lint.
- Distinctive: line 410
Keep using the host's model capabilities.
- Distinctive: line 414
Treat Super Dev as the local Python workflow tool plus this host rule file, not as a separate coding engine.
- Very specific: line 415
When the user says /super-dev ..., super-dev: ..., or super-dev:..., immediately enter the Super Dev pipeline.
- Very specific: line 416
When the user says /super-dev-seeai ..., super-dev-seeai: ..., or super-dev-seeai:..., enter the SEEAI competition-fast contract.
- Very specific: line 417
Use host-native browse/search/web for research and host-native editing/terminal for implementation.
- Very specific: line 418
Use local super-dev commands when you need to generate or refresh documents, spec artifacts, quality reports, or delivery manifests.
- Very specific: line 430
Read relevant files under knowledge/ before drafting the three core documents.
- Very specific: line 431
If output/knowledge-cache/*-knowledge-bundle.json exists, read it first and inherit its matched local knowledge into PRD, architecture, …
- Distinctive: line 432
Treat local knowledge hits as hard project constraints, especially for standards, anti-patterns, checklists, and scenario packs.
- Very specific: line 442
If the host supports browse/search/web, research similar products first and write the findings into output/*-research.md.
- Distinctive: line 445
If the user requests revisions, update the documents first and ask again.
- Very specific: line 446
If the user requests a UI redesign or says the UI is unsatisfactory, first update output/*-uiux.md, then redo the frontend, and rerun …
- Very specific: line 447
If the user requests architecture changes, first update output/*-architecture.md, then realign tasks and implementation before continuing.
- Distinctive: line 451
Keep architecture and UIUX consistency.
- Very specific: line 459
Before any UI implementation, lock the icon library, typography, design token system, component ecosystem, and page skeleton from …
- Distinctive: line 463
Prefer the component ecosystem and design token baseline recommended in output/*-uiux.md instead of switching UI libraries ad hoc.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Repository Guidelines
Project Overview
Super Dev is a Python CLI tool (v2.4.0) that orchestrates AI-driven development pipelines inside host environments (e.g., Claude Code). It provides governance, quality gates, and audit artifacts for commercial-grade software delivery. It is NOT an independent AI agent — it's a governance layer that runs inside a host's coding environment.
Project Structure & Module Organization
super_dev/
cli.py # Main CLI entry point (~298k lines), composed via mixins
cli_parser_mixin.py # argparse command definitions
cli_analysis_mixin.py # analysis subcommands
cli_governance_mixin.py # governance/enforcement subcommands
cli_host_ops_mixin.py # host tool operations (~227k lines)
cli_host_report_renderers.py # host report rendering helpers
cli_experience_mixin.py # UX enhancements
cli_deploy_runtime_mixin.py # deployment/runtime commands
cli_release_quality_mixin.py # release & quality commands
cli_spec_mixin.py # spec management commands
branding.py # CLI branding and visual identity
catalogs.py # catalog data definitions
error_handler.py # centralized error handling
exceptions.py # custom exception classes
i18n.py # internationalization support
guard.py # guard/safety checks
host_adapters.py # host environment adapters
host_registry.py # host registration/discovery
merge_safety.py # merge safety checks
retry.py # retry utilities
runtime_evidence.py # runtime evidence collection
seeai_design_system.py # SEEAI design system definitions
seeai_smoke_scenarios.py # SEEAI smoke test scenarios
sequential_thinking.py # sequential thinking utilities
session_checkpoint.py # session checkpoint management
workflow_contract.py # workflow contract definitions
orchestrator/ # Pipeline engine, governance, quality gates
engine.py # main pipeline engine driving phase transitions
governance.py # governance policy enforcement
quality.py # quality gate evaluation
knowledge.py / knowledge_pusher.py # knowledge injection into pipeline stages
overseer.py # Overseer agent for plan-execute orchestration
plan_executor.py # Plan-Execute engine for Claude-Codex hybrid mode
experts.py # expert persona management in pipeline
context_compact.py # context compaction for long pipelines
contracts.py # pipeline contract definitions
telemetry.py # pipeline telemetry and metrics
creators/ # Document, prompt, frontend, and backend generators
document_generator.py # PRD, architecture, UIUX document generation
document_generator_content_mixin.py # document content generation mixin
prompt_generator.py / prompt_templates.py / prompt_sections.py # LLM prompts
frontend_builder.py # frontend implementation playbooks
implementation_builder.py # backend implementation references
spec_builder.py # spec generation from documents
adr_generator.py # Architecture Decision Record generation
api_contract.py # API contract generation
component_scaffold.py # component implementation references
nextjs_scaffold.py # Next.js implementation references
requirement_parser.py # requirement parsing utilities
task_executor.py # task execution within creator pipeline
creator.py # base creator class
compact_template.py # compact template utilities
design/ # Design intelligence (aesthetics, UX, charts, codegen)
ui_intelligence.py # UI design intelligence engine
aesthetics.py # visual aesthetics analysis
ux_guide.py # UX guidance rules
engine.py # design engine orchestration
generator.py # design artifact generation
codegen.py # design-to-code generation
charts.py # chart design generation
landing.py # landing page design
tech_stack.py # tech stack design decisions
tokens.py # design token management
reviewers/ # Code review, red-team, quality gate, UI review
quality_gate.py # quality threshold enforcement (default: 90)
quality_advisor.py # quality improvement suggestions
redteam.py # security red-team analysis
code_review.py # automated code review
ui_review.py # UI compliance review
validation_rules.py # configurable validation rules engine
external_reviews.py # external review integrations
review_agents.py # review agent definitions
rules/ # validation rule definitions
enforcement/ # File-level validation and pre-coding checks
validation.py # file-level validation (no emoji icons, color tokens, etc.)
pre_code_gate.py # pre-coding checks
host_hooks.py # hook integration with host tools
deployers/ # Delivery packaging, CI/CD, deployment rehearsals
delivery.py # delivery packaging
cicd.py # CI/CD pipeline generation
rehearsal.py / rehearsal_runner.py # deployment rehearsal definitions and execution
migration.py # deployment migration utilities
protocols/ # Shared protocol definitions
a2a.py # agent-to-agent protocol
output_schemas.py # output schema definitions
integrations/ # External tool integration manager
manager.py # integration lifecycle management
manager_content_mixin.py # integration manager content mixin
install_manifest.py # install manifest tracking
skills/ # Skill definitions for host environments
manager.py # skill lifecycle management
skill_template.py # skill template generation
web/ # FastAPI-based web interface
api.py # main API application
helpers.py # API helper functions
rate_limit.py # API rate limiting
routers/ # API route modules
frontend/ # web frontend assets
config/ # Configuration management
experts/ # Expert persona definitions (PM, Architect, etc.)
hooks/ # Host tool hook integration
analyzer/ # Code and project analysis utilities
memory/ # Session memory management
metrics/ # Metrics collection and reporting
policy/ # Policy engine for governance rules
session/ # Session management
specs/ # Spec management and templates
rules/ # Rule definitions
data/ # Static data files
utils/ # Shared utility functions (logger, structured_logging)
templates/ # Jinja/data templates
knowledge/ # Curated domain knowledge base (28 categories)
tests/ # Test suites (unit, integration, e2e, benchmark)
scripts/ # Build/release/utility scripts
output/ # Generated pipeline artifacts (PRD, specs, research)
.super-dev/ # Session state and workflow tracking
super-dev-website/ # Project website source
templates/ # Project implementation/reference templatesBuild, Test, and Development Commands
# Install in development mode (requires Python 3.10+)
pip install -e ".[dev]"
# Run the CLI
super-dev
# Linting & formatting
ruff check super_dev/ # check lint issues
ruff check --fix super_dev/ # auto-fix lint issues
black super_dev/ --check # check formatting
black super_dev/ # apply formatting
# Type checking
mypy super_dev/
# Run all tests
pytest
# Run a single test file
pytest tests/unit/test_workflow.py
# Run a specific test
pytest tests/unit/test_workflow.py::test_function_name -v
# Run with coverage
pytest --cov=super_dev
# Performance benchmarks
python tests/benchmark.py
# Pre-flight checks before release
bash scripts/preflight.shCoding Style & Naming Conventions
- Line length: 100 characters (enforced by ruff and black)
- Target Python: 3.10+
- Ruff rules: E, F, I, N, W, UP (E501 ignored — black handles line length)
- Imports: Must be sorted (ruff
Irule) - Naming:
snake_casefor functions/variables,PascalCasefor classes - Test files:
test_<module_name>.pyortest_<module_name>_enhanced.py
Testing Guidelines
- Framework: pytest with pytest-cov
- Location:
tests/unit/,tests/integration/,tests/e2e/ - Naming: Functions prefixed with
test_, descriptive (e.g.,test_quality_gate_rejects_low_score) - Fixtures: Shared fixtures in
tests/conftest.py - Coverage: Quality gate default threshold is 90/100
- Benchmarking:
tests/benchmark.pyfor performance regressions
Commit & Pull Request Guidelines
This project follows Conventional Commits:
feat(scope): description # new feature
fix(scope): description # bug fix
docs: description # documentation change
ci: description # CI/CD change
chore: description # maintenance
release: description # version releaseCommon scopes: orchestrator, enforcement, website, hosts, design. Keep messages concise, focused on "why." PRs should link to relevant issues; squash-merge is used for feature branches.
Architecture & Pipeline
- Pipeline phases: discovery → intelligence → drafting → redteam → qa → delivery → deployment
- Super Dev flow contract: research → docs → docs_confirm → spec → frontend → preview_confirm → backend → quality → delivery
- Plan-Execute mode: Overseer agent decomposes tasks; Plan-Executor drives step-by-step execution (Claude-Codex hybrid)
- Configuration:
super-dev.yaml(domain, tech stack, quality gate, phases, experts) - Session continuity: Read
.super-dev/SESSION_BRIEF.mdbefore resuming;.super-dev/workflow-state.jsontracks machine-readable state - Key dependencies: rich (CLI), pyyaml (config), openai (LLM calls), fastapi/uvicorn (web API), tenacity (retries), ddgs (search)
Coding Constraints
- Check
package.json/ framework versions before writing code - Icons from declared library only (Lucide/Heroicons/Tabler), never emoji
- No purple/pink gradient themes
- Frontend fetch URLs must match backend route definitions exactly
- Run
super-dev enforce validateafter UI code,super-dev qualityafter features - No emoji as functional icons or placeholders
- Colors from design tokens only
Key Scripts
| Script | Purpose |
scripts/preflight.sh | Pre-release validation checks |
scripts/release.sh | Version bump and release |
scripts/publish.sh | Publish to PyPI |
scripts/validate-superdev.sh | Validate Super Dev setup |
scripts/check_delivery_ready.py | Verify delivery artifacts |
scripts/knowledge_scorer.py | Score knowledge base entries |
<!-- BEGIN SUPER DEV CODEX -->Super Dev for Codex CLI
Treat Codex App/Desktop selecting super-dev or super-dev-seeai from the / list, Codex CLI explicit $super-dev / $super-dev-seeai, and natural-language super-dev: / super-dev: / super-dev-seeai: / super-dev-seeai: messages as valid Super Dev entry points.
If the repository already contains active Super Dev workflow context, the first natural-language requirement in a new session must also continue Super Dev rather than normal chat.
Direct Activation Rule
- Do not spend a turn saying you will read the skill first, explain the skill, or decide whether to enter the workflow.
- Treat the current trigger as already authorized to execute the full Super Dev pipeline.
- If a compatibility skill under
~/.codex/skills/is loaded, treat it as the same Super Dev contract, not a fallback mode.
Preferred official entry order
- Codex App/Desktop: prefer selecting
super-devfrom the/list. This is the enabled Skill entry, not a custom project slash command file. - Codex CLI: prefer explicit
$super-dev. - Natural-language fallback for both surfaces:
super-dev: <需求描述>orsuper-dev:<需求描述>through AGENTS.md.
SEEAI Competition Mode
- If the user triggers
super-dev-seeai, enter the SEEAI competition-fast contract instead of the standard long chain. - SEEAI keeps research -> compact docs -> docs confirmation -> compact spec, then goes directly into a full-stack sprint and final polish.
- SEEAI still requires real files in
output/, but the documents must stay compact and competition-oriented.
Required execution
- First reply: state that Super Dev pipeline mode is active and the current phase is
research. - Read
knowledge/andoutput/knowledge-cache/*-knowledge-bundle.jsonwhen available. - Use Codex native web/search/edit/terminal capabilities to perform similar-product research and write
output/*-research.mdinto the repository workspace. - Draft
output/*-prd.md,output/*-architecture.md, andoutput/*-uiux.mdin the same Codex session and save them as actual project files. - Stop after the three core documents, summarize them, and wait for explicit confirmation.
- Only after confirmation, create
.super-dev/changes/*/proposal.mdand.super-dev/changes/*/tasks.md, then continue with frontend-first implementation.
Constraints
- Do not start coding directly after
/super-devskill entry,$super-dev,super-dev:, orsuper-dev:. - Do not create Spec before document confirmation.
- If the user requests architecture changes, first update
output/*-architecture.md, then realign Spec/tasks and implementation. - If the user requests quality or security remediation, first fix the issues, rerun quality gate, refresh delivery evidence, and only then continue.
- 开始任何 UI 实现前,必须先锁定
output/*-uiux.md中冻结的图标库、字体系统、design token system、组件生态和页面骨架。 - Before any UI implementation, first lock the icon library, typography, design token system, component ecosystem, and page skeleton from
output/*-uiux.md. - Do not use emoji as functional icons or placeholders.
- For non-conversational AI products, avoid Claude / ChatGPT-style sidebar chat shells unless the UI plan explicitly justifies them.
- Keep using the component ecosystem and design token direction defined in
output/*-uiux.mdrather than switching ad hoc. - If a required artifact is only described in chat and not written into the repository, treat the step as incomplete.
- Codex remains the execution host; Super Dev is the local governance workflow.
- Use local
super-devCLI only for governance actions such as doctor, review, quality, release readiness, or update; do not outsource the main coding workflow to the CLI.
Conversation Continuity Contract
- If
.super-dev/SESSION_BRIEF.mdexists, read it before responding and treat it as the active workflow state. - If the workflow is waiting for docs confirmation, preview confirmation, UI revision, architecture revision, or quality revision, then user replies like
修改,补充,继续改,确认,通过,继续, or detailed feedback remain inside the current Super Dev stage. - After each requested revision inside a gate, stay in the same stage, update the required artifacts, summarize what changed, and wait again for explicit confirmation.
- Do not silently exit Super Dev mode because the user asked for several edits, follow-up questions, or extra constraints.
- Only leave the current Super Dev workflow if the user explicitly says to cancel the workflow, restart from scratch, or switch back to normal chat.
Super Dev System Flow Contract
- SUPER_DEV_FLOW_CONTRACT_V1
- PHASE_CHAIN: research>docs>docs_confirm>spec>frontend>preview_confirm>backend>quality>delivery
- DOC_CONFIRM_GATE: required
- PREVIEW_CONFIRM_GATE: required
- HOST_PARITY: required
<!-- END SUPER DEV CODEX --><!-- BEGIN SUPER DEV OPENCODE -->Super Dev Integration for opencode
Super Dev 是“超级开发战队”,一个流水线式 AI Coding 辅助工具。 Super Dev does not provide model inference or coding APIs. The host remains responsible for model execution, tools, and actual code generation. Use the host model/runtime as-is; Super Dev only enforces the delivery protocol. Use Super Dev generated artifacts as source of truth.
Runtime Contract
- Treat Super Dev as a local Python CLI plus host-side rules/skills, not as a separate model provider.
- When the user triggers Super Dev, enter the protocol immediately instead of treating it as normal chat.
- When the user triggers
super-dev-seeai, switch to the SEEAI competition-fast contract: research -> compact docs -> docs confirmation -> compact spec -> full-stack sprint -> polish/handoff. - Use host-native web/search/browse for research and host-native editing/execution for implementation.
- Use local
super-devcommands to generate/update documents, spec artifacts, quality reports, and delivery outputs.
First-Response Contract
- On the first reply after a host-supported Super Dev entry (for example
/super-dev ...,$super-dev,super-dev: ...,super-dev:...,/super-dev-seeai ...,$super-dev-seeai,super-dev-seeai: ..., orsuper-dev-seeai:...), explicitly state that the matching Super Dev mode is now active rather than normal chat mode. - If the repository already contains
super-dev.yaml,.super-dev/WORKFLOW.md,output/*,.super-dev/review-state/*, or an unfinished run state, the first natural-language requirement in a new host session must also default to continuing Super Dev rather than plain chat. - Before the first reply, read
.super-dev/WORKFLOW.mdandoutput/*-bootstrap.mdwhen present, and treat them as the explicit bootstrap contract for this repository. - The first reply must explicitly state that the current phase is
research, and that you will readknowledge/plusoutput/knowledge-cache/*-knowledge-bundle.jsonfirst when available before similar-product research. - In standard mode, the next sequence is research -> three core documents -> wait for user confirmation -> Spec / tasks -> frontend first with runtime verification -> backend / tests / delivery.
- In SEEAI mode, the next sequence is research -> compact competition docs -> wait for user confirmation -> compact Spec -> full-stack sprint -> polish / handoff.
- Both modes must explicitly promise that they will stop after the three core documents and wait for approval before creating Spec or writing code.
Local Knowledge Contract
- Read relevant files under
knowledge/before drafting documents. - If
output/knowledge-cache/*-knowledge-bundle.jsonexists, read itslocal_knowledge,web_knowledge, andresearch_summaryfirst. - Treat matched local knowledge, checklists, anti-patterns, and scenario packs as project constraints that must flow into docs, spec, and implementation.
Conversation Continuity Contract
- If
.super-dev/SESSION_BRIEF.mdexists, read it before responding and treat it as the active workflow state. - If the workflow is waiting for docs confirmation, preview confirmation, UI revision, architecture revision, or quality revision, then user replies like
修改,补充,继续改,确认,通过,继续, or detailed feedback remain inside the current Super Dev stage. - After each requested revision inside a gate, stay in the same stage, update the required artifacts, summarize what changed, and wait again for explicit confirmation.
- Do not silently exit Super Dev mode because the user asked for several edits, follow-up questions, or extra constraints.
- Only leave the current Super Dev workflow if the user explicitly says to cancel the workflow, restart from scratch, or switch back to normal chat.
Trigger
- Preferred:
/super-dev "<需求描述>" - SEEAI competition mode:
/super-dev-seeai "<需求描述>" - Local terminal only handles install / update / uninstall; normal development should return to the host session.
Required Context
- output/*-prd.md
- output/*-architecture.md
- output/*-uiux.md
- output/*-execution-plan.md
- .super-dev/changes/*/tasks.md
Execution Order
- Use the host's native browse/search/web capability to research similar products first and produce output/*-research.md as a real repository file
- Freeze PRD, architecture and UIUX documents and write them into output/* files in the repository workspace rather than only describing them in chat
- Stop after the three core documents, summarize them to the user, and wait for explicit confirmation before creating Spec or coding
- Create Spec proposal/tasks only after the user confirms the documents
- Implement and run the frontend first so it becomes demonstrable before backend-heavy work
- Implement backend APIs and data layer, then run tests, quality gate, and release preparation
- If the user says the UI is unsatisfactory, asks for a redesign, or says the page looks AI-generated, first update
output/*-uiux.md, then redo frontend implementation, rerun frontend runtime and UI review, and only then continue. - If the user says the architecture is wrong or the technical plan must change, first update
output/*-architecture.md, then realign tasks and implementation before continuing. - If the user says quality or security is not acceptable, first fix the issues, rerun quality gate, refresh delivery evidence, and only then continue.
- Before any UI implementation, first lock the icon library, typography, token system, component ecosystem, and page skeleton according to
output/*-uiux.md. - Do not use emoji as functional icons or placeholders, and do not leave icon decisions for later.
- For non-conversational AI products, default to avoiding Claude / ChatGPT-style sidebar chat shells, narrow-center conversation layouts, and the same neutral chat color shell unless the UI plan explicitly justifies it.
- UI implementation must use the recommended component ecosystem/design token direction from
output/*-uiux.md, not switch ad hoc.
Coding Constraints (active during ALL coding phases)
These rules apply every time you write or edit a file:
Tech Stack Pre-Research
- Before writing ANY code, run
cat package.json(or equivalent) to check framework versions. - If unsure about an API, use WebFetch to read official docs first. Never guess.
Icon & Visual Rules
- Icons MUST come from a declared icon library (Lucide/Heroicons/Tabler). No emoji as icons.
- No purple/pink gradient themes. No default system font only.
Frontend/Backend Alignment
- Frontend fetch URLs must exactly match backend route definitions.
- Define API paths as shared constants when possible.
Per-File Self-Check
- Before writing each file: correct imports, no emoji, colors from tokens only.
- After completing a feature, run build + lint. Fix errors before moving on.
Super Dev System Flow Contract
- SUPER_DEV_FLOW_CONTRACT_V1
- PHASE_CHAIN: research>docs>docs_confirm>spec>frontend>preview_confirm>backend>quality>delivery
- DOC_CONFIRM_GATE: required
- PREVIEW_CONFIRM_GATE: required
- HOST_PARITY: required
<!-- END SUPER DEV OPENCODE --><!-- BEGIN SUPER DEV QODER -->Super Dev IDE Rules (qoder)
Positioning
- Super Dev is a host-level workflow governor, not an LLM platform.
- Keep using the host's model capabilities; do not expect extra model APIs from Super Dev.
- The host remains responsible for actual coding, tool execution, and file changes.
Runtime Contract
- Treat Super Dev as the local Python workflow tool plus this host rule file, not as a separate coding engine.
- When the user says
/super-dev ...,super-dev: ..., orsuper-dev:..., immediately enter the Super Dev pipeline. - When the user says
/super-dev-seeai ...,super-dev-seeai: ..., orsuper-dev-seeai:..., enter the SEEAI competition-fast contract. - Use host-native browse/search/web for research and host-native editing/terminal for implementation.
- Use local
super-devcommands when you need to generate or refresh documents, spec artifacts, quality reports, or delivery manifests.
First-Response Contract
- On the first reply after a host-supported Super Dev entry (for example
/super-dev ...,$super-dev,super-dev: ...,super-dev:...,/super-dev-seeai ...,$super-dev-seeai,super-dev-seeai: ..., orsuper-dev-seeai:...), explicitly state that the matching Super Dev mode is now active rather than normal chat mode. - If the repository already contains
super-dev.yaml,.super-dev/WORKFLOW.md,output/*,.super-dev/review-state/*, or an unfinished run state, the first natural-language requirement in a new host session must also default to continuing Super Dev rather than plain chat. - Before the first reply, read
.super-dev/WORKFLOW.mdandoutput/*-bootstrap.mdwhen present, and treat them as the explicit bootstrap contract for this repository. - The first reply must explicitly state that the current phase is
research, and that you will readknowledge/plusoutput/knowledge-cache/*-knowledge-bundle.jsonfirst when available before similar-product research. - In standard mode, the next sequence is research -> three core documents -> wait for user confirmation -> Spec / tasks -> frontend first with runtime verification -> backend / tests / delivery.
- In SEEAI mode, the next sequence is research -> compact competition docs -> wait for user confirmation -> compact Spec -> full-stack sprint -> polish / handoff.
- Both modes must explicitly promise that they will stop after the three core documents and wait for approval before creating Spec or writing code.
Local Knowledge Contract
- Read relevant files under
knowledge/before drafting the three core documents. - If
output/knowledge-cache/*-knowledge-bundle.jsonexists, read it first and inherit its matched local knowledge into PRD, architecture, UIUX, Spec, and execution. - Treat local knowledge hits as hard project constraints, especially for standards, anti-patterns, checklists, and scenario packs.
Conversation Continuity Contract
- If
.super-dev/SESSION_BRIEF.mdexists, read it before responding and treat it as the active workflow state. - If the workflow is waiting for docs confirmation, preview confirmation, UI revision, architecture revision, or quality revision, then user replies like
修改,补充,继续改,确认,通过,继续, or detailed feedback remain inside the current Super Dev stage. - After each requested revision inside a gate, stay in the same stage, update the required artifacts, summarize what changed, and wait again for explicit confirmation.
- Do not silently exit Super Dev mode because the user asked for several edits, follow-up questions, or extra constraints.
- Only leave the current Super Dev workflow if the user explicitly says to cancel the workflow, restart from scratch, or switch back to normal chat.
Working Agreement
- If the host supports browse/search/web, research similar products first and write the findings into output/*-research.md.
- Generate PRD, architecture and UIUX documents before coding, write them into output/* files, then pause and ask the user to confirm the three documents.
- In SEEAI mode, keep the same document gate, but compress the documents and go straight from Spec into one integrated full-stack sprint without a separate preview gate.
- If the user requests revisions, update the documents first and ask again; do not create Spec or code before confirmation.
- If the user requests a UI redesign or says the UI is unsatisfactory, first update
output/*-uiux.md, then redo the frontend, and rerun frontend runtime + UI review before continuing. - If the user requests architecture changes, first update
output/*-architecture.md, then realign tasks and implementation before continuing. - If the user requests quality or security remediation, first fix the issues, rerun quality gate, refresh delivery evidence, and only then continue.
- Respect Spec tasks sequence.
- Implement and run the frontend before moving into backend-heavy work.
- Keep architecture and UIUX consistency.
Delivery Criteria
- Frontend can be demonstrated early.
- Backend and migration scripts match specs.
- Security/performance checks are resolved.
- Quality gate threshold is met for the current scenario.
- UI must avoid AI-looking output (purple/pink gradient-first theme, emoji as icons, default-font-only pages).
- Before any UI implementation, lock the icon library, typography, design token system, component ecosystem, and page skeleton from
output/*-uiux.md. - Do not use emoji as functional icons or placeholders.
- For non-conversational AI products, avoid Claude / ChatGPT-style sidebar chat shells unless the UI plan explicitly justifies it.
- UI must define typography, design tokens, grid, component states and trust signals before page implementation.
- Prefer the component ecosystem and design token baseline recommended in output/*-uiux.md instead of switching UI libraries ad hoc.
Coding Constraints (active during ALL coding phases)
These rules apply every time you write or edit a file:
Tech Stack Pre-Research
- Before writing ANY code, run
cat package.json(or equivalent) to check framework versions. - If unsure about an API, use WebFetch to read official docs first. Never guess.
Icon & Visual Rules
- Icons MUST come from a declared icon library (Lucide/Heroicons/Tabler). No emoji as icons.
- No purple/pink gradient themes. No default system font only.
Frontend/Backend Alignment
- Frontend fetch URLs must exactly match backend route definitions.
- Define API paths as shared constants when possible.
Per-File Self-Check
- Before writing each file: correct imports, no emoji, colors from tokens only.
- After completing a feature, run build + lint. Fix errors before moving on.
Super Dev System Flow Contract
- SUPER_DEV_FLOW_CONTRACT_V1
- PHASE_CHAIN: research>docs>docs_confirm>spec>frontend>preview_confirm>backend>quality>delivery
- DOC_CONFIRM_GATE: required
- PREVIEW_CONFIRM_GATE: required
- HOST_PARITY: required
<!-- END SUPER DEV QODER -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

