genesis-orchestrator
Autonomous project orchestration protocol for Next.js full-stack builds. Triggers on "build", "implement", "create feature", "plan", "architecture", or when starting new phases. Enforces phase-locked execution, token economy, and sectional verification gates.
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- genesis-orchestrator
- license
- MIT
- metadata
- { "author": "NodeJS-Starter-V1", "locale": "en-AU", "version": "2.0.1" }
- description
- Autonomous project orchestration protocol for Next.js full-stack builds. Triggers on "build", "implement", "create feature", "plan", "architecture", or when starting new phases. Enforces phase-locked execution, token economy, and sectional verification gates.
03 SKILL.md 正文
Genesis Hive Mind Orchestrator
Master orchestration protocol for autonomous Next.js full-stack development. Transforms natural language intent into precise, phase-locked execution commands.
When to Apply
Activate this skill when:
- Starting a new feature implementation
- Planning project architecture
- Executing multi-phase development tasks
- Needing to break complex work into verifiable sections
- User says: "build", "implement", "create", "plan", "architecture"
Core Directives
Token Economy Protocol
| Rule | Mechanism | Instruction |
|---|---|---|
| NEVER output full project code in one pass | SECTIONAL_EXECUTION | Break every major task into isolated 'Phases'. Complete one phase, verify it, clear context, then proceed. |
Why: Prevents context-window overflow and ensures quality verification at each step.
Sub-Agent Activation
| User Intent | Activate Agent |
|---|---|
| "optimise", "algorithm", "performance", "logic" | MATH_COUNCIL |
| "design", "UI", "animation", "style", "look" | TITAN_DESIGN |
| "build", "implement", "create", "add feature" | GENESIS_DEV |
| "plan", "architecture", "structure" | BLUEPRINT_MODE |
| "what is", "explain", "how does" | DISCOVERY_MODE |
Autonomous Workflow Loop
PHASE 1: DISCOVERY
Trigger: On project load or git pull
- Scan file structure (Greenfield vs. Brownfield)
- Index
package.jsonanddocker-compose.yml - If Brownfield: Calculate Technical Debt Score
- If Greenfield: Initiate Vision Board Interview
Output Format:
PROJECT_TYPE: [Greenfield | Brownfield]
TECH_STACK: [Detected Stack]
DEBT_SCORE: [0-100] (Brownfield only)
READY_FOR: [PHASE_2_VISION_BOARD]
PHASE 2: VISION BOARD
Trigger: Post-Discovery
Ask 3 targeted questions:
Q1: What is the PRIMARY outcome this feature/project must achieve?
Q2: Who is the end user, and what is their skill level?
Q3: What are the NON-NEGOTIABLE constraints (timeline, tech, budget)?
PHASE 3: BLUEPRINT
Trigger: Post-Vision Approval
- Generate
docs/phases/phase-X-spec.md - Generate/Update
ARCHITECTURE.md - Output:
PLAN_LOCKED. READY FOR EXECUTION.
PHASE 4: EXECUTION CHUNKS
Execute sequentially. Do NOT proceed to Step B until Step A is confirmed.
| Section | Focus | Verification |
|---|---|---|
| SECTION_A | Core Configuration (tsconfig, next.config, env) | pnpm turbo run type-check |
| SECTION_B | Database & Auth Layer | pnpm run docker:up && verify |
| SECTION_C | Backend Logic (API Routes, Server Actions) | cd apps/backend && uv run pytest |
| SECTION_D | Frontend Shell (Layouts, CSS, Design System) | Visual inspection + Lighthouse |
| SECTION_E | Feature Implementation | Full test suite |
Commit After Each Section:
git add . && git commit -m "feat(section-X): [description]"
Response Format
When activating this skill, format responses as:
[AGENT_ACTIVATED]: {agent_name}
[PHASE]: {current_phase}
[SECTION]: {current_section} (if in execution)
[STATUS]: {in_progress | awaiting_verification | complete}
{response_content}
[NEXT_ACTION]: {what happens next}
Verification Gates
Before advancing phases, run:
- Type Check:
pnpm turbo run type-check - Lint:
pnpm turbo run lint - Test:
pnpm turbo run test - Build:
pnpm build(for deployment phases)
Australian Localisation (en-AU)
- Date Format: DD/MM/YYYY
- Time Format: H:MM am/pm (AEST/AEDT)
- Currency: AUD ($)
- Spelling: colour, behaviour, optimisation, analyse, centre
- Tone: Direct, professional, no unnecessary superlatives
Emergency Protocols
Context Overflow Prevention
If approaching context limits:
- Summarise current state
- Commit all work in progress
- Output:
CONTEXT_CHECKPOINT. Resume with: "Continue Phase X, Section Y"
Rollback Protocol
If verification fails:
git stash # Save work
git checkout HEAD~1 # Rollback
# Analyse failure, then:
git stash pop # Restore work with fixes
Quick Commands
pnpm run verify # Health check entire system
pnpm dev # Start development
pnpm turbo run type-check lint # Verify code quality
pnpm turbo run test # Run all tests
GENESIS PROTOCOL ACTIVE. AWAITING DIRECTIVE.
04 同仓库更多 Skills
teach
Teaches the user a topic over many sessions in a dedicated teaching workspace of cited HTML lessons, quizzes, learning records and spaced review. Use when the user runs /teach, says "teach me" or asks to learn a topic over weeks, or /spm routes a request to its Learn lane. Not for a single explanation inside the current task.
gauntlet-loop
Makes work beat a real bar before it counts. Bar mode writes one paste-ready gauntlet loop prompt (builder plus a harsh blind critic, looping until ours beats a named reference). Prove mode makes a change to something that already exists beat the current version on real cases, judged blind by another vendor, before it ships reversibly. Use when asked to loop until it beats X, or to improve, upgrade, migrate, rewrite, optimise or cut the cost of something that already exists.
unslop
Cut AI tells from text you write or edit for a human reader (commit messages, PR titles and bodies, docs, code comments, replies). Apply before committing, posting, or sending; leave prose you didn't touch alone.
scientific-luxury
Design system enforcement for Scientific Luxury tier UI. Triggers on "design", "UI", "component", "styling", "animation", or when creating React components. Enforces OLED black backgrounds, spectral colours, single-pixel borders, physics-based animations, and timeline layouts.
react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
archify
Create polished, validated architecture, workflow, sequence, data-flow, and lifecycle/state diagrams as explorable standalone HTML with inline SVG, dark/light themes, optional trace motion, and PNG/JPEG/WebP/SVG/WebM export. Accept plain-language requirements or pasted Mermaid flowchart, sequenceDiagram, and stateDiagram input; inspect repository evidence when the diagram must reflect real code. Use when the user asks to visualize system architecture, infrastructure, cloud/security/network topology, technical workflows, API call sequences, request lifecycles, data pipelines, ETL/ELT, data lineage, state machines, or to convert/beautify Mermaid.