一键导入
project-orientation
Use when starting or resuming work to quickly understand project state, active decisions, and immediate next steps.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when starting or resuming work to quickly understand project state, active decisions, and immediate next steps.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when designing, reviewing, or modifying backend API endpoints, schemas, validation, and API documentation.
Use when reviewing architecture boundaries, dependency direction, or multi-layer design decisions across modules.
Use when shaping new features or behavior changes that need requirements clarification and option tradeoff exploration before implementation.
Use when React components are too large or complex and need extraction, simplification, or separation of concerns.
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
Use when modeling domain concepts, aggregates, and bounded contexts or checking DDD alignment in existing code.
| name | project-orientation |
| description | Use when starting or resuming work to quickly understand project state, active decisions, and immediate next steps. |
This skill helps agents quickly understand where a project is, where it's going, and what needs to happen next - without reviewing the entire codebase or documentation from scratch.
Automatically:
Manually:
When invoked without arguments, read and synthesize:
project/STATE.mdWhen invoked with --update or after a commit:
Gather context:
Update project/STATE.md:
Keep it concise:
project/STATE.mdThe state file is structured for both human and LLM readability:
# Project State
Last Updated: YYYY-MM-DD HH:MM
Current Branch: feature/xyz
## Current Focus
[What's being worked on right now - 2-3 sentences]
## Recent Completions
- YYYY-MM-DD: [What was completed and why it matters]
- YYYY-MM-DD: [What was completed and why it matters]
## Next Steps
1. [Immediate next task with context]
2. [Following task with context]
3. [Upcoming task with context]
## Active Decisions & Context
### [Decision/Topic Name]
- **Context**: Why this matters
- **Options Considered**: Brief summary
- **Current Direction**: What was chosen and why
- **Open Questions**: What's still unclear
## Blockers
- [Blocker description and impact]
## Key Technical Context
### Architecture Notes
- [Important architectural decisions]
- [Patterns being followed]
### Dependencies & Integration
- [Key dependencies and their status]
- [Integration points to be aware of]
## History (Last 30 Days)
### YYYY-MM-DD: [Milestone/Feature Name]
- **What**: Brief description
- **Why**: Rationale
- **Impact**: What changed
- **Decisions**: Key choices made
User: /project-orientation
Agent: [Reads project/STATE.md and presents summary]
User: /project-orientation --update
Agent: [Asks about what was completed, updates state file]
Add to .git/hooks/post-commit:
#!/bin/bash
# Optionally trigger project state update
# <your-agent-cli> skill project-orientation --update --auto
When implementing this skill: