基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/doanchienthangdev/omgkit --skill project-orchestration命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Automatic design system context injection for UI consistency
AI agent practices test-first development with the Red-Green-Refactor cycle for confident, well-designed code. Use when implementing features, fixing bugs, or establishing testing practices.
The agent enforces mandatory test completion before any task or feature can be marked as done, ensuring code quality through strict validation gates and evidence-based completion criteria.
| name | Project Orchestration |
| description | Orchestrate autonomous project development through state-driven execution |
| category | autonomous |
| tools | ["Task","Read","Write","Edit","Bash","Glob","Grep","AskUserQuestion"] |
Orchestrate autonomous project development through state-driven execution.
The Project Orchestration skill provides the core functionality for managing autonomous project development. It handles state transitions, phase execution, checkpoint management, and quality enforcement.
# Read current state
state = load_state(".omgkit/state.yaml")
# Update state
update_state({
phase: "backend",
status: "in_progress",
progress: {
current_feature: "user_auth"
}
})
# Transition state
transition_state("in_progress", "checkpoint")
Execute phases according to archetype definition:
# Create checkpoint
create_checkpoint({
type: "phase",
phase: "planning",
artifacts: ["schema.sql", "api-spec.md"]
})
# Check for pending checkpoint
if has_pending_checkpoint():
wait_for_approval()
# Approve checkpoint
approve_checkpoint()
# Reject with feedback
reject_checkpoint("Need soft delete columns")
Classify and handle decisions by autonomy level:
| Level | Action | Example |
|---|---|---|
| 0 | Auto-execute | Code formatting |
| 1 | Execute + notify | Add dependency |
| 2 | Preview + quick approve | Database index |
| 3 | Full review | Auth approach |
| 4 | Human does it | API credentials |
Run quality checks between phases and features:
quality_gates:
after_feature:
- npm test
- npm run lint
before_checkpoint:
- npm run build
- coverage >= 80%
before_deploy:
- security_scan
- performance_test
# Start discovery interview
/auto:init my-saas-app
# Generates:
# - .omgkit/state.yaml
# - .omgkit/generated/prd.md
# - .omgkit/generated/discovery-answers.yaml
# Begin autonomous execution
/auto:start
# Execution flow:
# 1. Load state and archetype
# 2. Execute current phase
# 3. Run quality gates
# 4. Update progress
# 5. Create checkpoint if needed
# Check status
/auto:status
# Preview next action
/auto:next
# Run verification
/auto:verify
# At checkpoint, review artifacts then:
/auto:approve # Continue
/auto:reject "reason" # Request changes
# Resume from saved state
/auto:resume
# Retry failed step
/auto:resume --retry
# Skip problematic step
/auto:resume --skip
┌─────────┐ start ┌─────────────┐
│ ready │────────────►│ in_progress │
└─────────┘ └──────┬──────┘
▲ │
│ approve │ phase_complete
│ │ decision_required
│ │ quality_fail
┌─────────────┐ │
│ checkpoint │◄───────────────┘
└─────────────┘
│
│ reject
▼
┌─────────────────┐
│ revision_needed │
└─────────────────┘
┌─────────────┐ error ┌─────────┐
│ in_progress │────────────►│ blocked │
└─────────────┘ └─────────┘
│
│ resume/skip
▼
┌─────────────┐
│ in_progress │
└─────────────┘
┌─────────────┐ all_complete ┌───────────┐
│ in_progress │───────────────►│ completed │
└─────────────┘ └───────────┘
Maintain current context in .omgkit/memory/context/:
project-brief.md - Project overviewcurrent-feature.md - Active feature detailstech-stack.md - Technology decisionsRecord all decisions in .omgkit/memory/decisions/:
# Decision: Authentication Approach
**Date:** 2024-01-15
**Status:** Approved
## Context
Need to implement user authentication.
## Options Considered
1. Session-based auth
2. JWT with refresh tokens
3. OAuth only
## Decision
JWT with refresh tokens
## Rationale
- Stateless for scalability
- Works with mobile apps
- Standard approach
Track daily progress in .omgkit/memory/journal/:
# 2024-01-15 Development Journal
## Summary
Completed planning phase, started backend implementation.
## Completed
- Database schema design
- API specification
- User model implementation
## Challenges
- Decided on password hashing approach
- Resolved dependency conflict
## Tomorrow
- Complete auth service
- Add unit tests
Based on project type, select appropriate archetype:
| Project Type | Archetype | Phases |
|---|---|---|
| SaaS | saas-mvp | 7 phases |
| API | api-service | 6 phases |
| CLI | cli-tool | 5 phases |
| Library | library | 6 phases |
| Full-stack | fullstack-app | 8 phases |
Configure autonomy levels in state:
autonomy:
default_level: 1
overrides:
- pattern: "**/migrations/**"
level: 3
- pattern: "**/auth/**"
level: 3
- pattern: "**/tests/**"
level: 0