status
Show a comprehensive project status report with git state, active specs, and suggested next actions
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Show a comprehensive project status report with git state, active specs, and suggested next actions
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Analyze repos in a workspace — generate compressed codebase indexes (AGENTS.md), per-repo docs, cross-repo dependency map, and master TOC for AI agent consumption
Explain a code element, file, or line range with diagrams and architectural context
Analyze an MCP server's GitHub repository for security risks, malicious intent, and code quality. Produces a trust rating and recommends whether to use it or suggests safer alternatives.
Conduct systematic multi-phase research on a topic and produce a documented findings report
Find and apply one small, safe code cleanup improvement with user approval (Boy Scout Rule)
| name | status |
| mode | agent |
| description | Show a comprehensive project status report with git state, active specs, and suggested next actions |
| argument-hint |
Provides a comprehensive status report when starting work or switching context. Analyzes current git state, active work, and project health to orient developers and suggest next actions.
Current Position:
Run the following using Bash:
git status --porcelain # File changes
git log --oneline -5 # Recent commits
git log main..HEAD --oneline # Commits ahead of main
git log HEAD..main --oneline # Commits behind main
git stash list # Stashed changes
git branch -v # Branch info
Extract:
Recent Activity:
Code Captain Integration:
Use Bash to scan for active specifications:
# Find most recent spec directory
ls -t .code-captain/specs/*/spec.md 2>/dev/null | head -1
# Find all story files in most recent spec
ls .code-captain/specs/*/user-stories/story-*.md 2>/dev/null
Use Read to load:
user-stories/README.md for story overview and progressTask Progress Parsing:
For each story file, parse:
# Count completed tasks
grep -c "^\- \[x\]" story-file.md
# Count total tasks
grep -c "^\- \[[x ]\]" story-file.md
# Find next incomplete task
grep -n "^\- \[ \]" story-file.md | head -1
Project Context:
Grep to identify TODO comments in recently modified filesBasic Viability (use Bash):
package.json, requirements.txt, etc.)Immediate Blockers:
# Check for merge conflicts
git diff --check
grep -r "<<<<<<" . --include="*.{js,ts,py,cs,go}" 2>/dev/null | head -5
Output as clean, formatted text (not wrapped in code blocks) directly in the chat response. Use Unicode characters and box-drawing characters for visual appeal.
Standard Status Report:
⚓ Code Captain Status Report
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📍 CURRENT POSITION
Branch: [branch-name] ([N commits ahead/behind of main])
Last commit: "[message]" ([time ago])
Uncommitted: [N modified files in path/]
📋 ACTIVE WORK
Spec: [Specification name]
Progress: Story [N] ([story name]) - [status]
Tasks completed: [N/total] tasks ([%])
Last completed: [task description] ✅
Next task: [task description]
🎯 SUGGESTED ACTIONS
• [Action based on current state]
• [Action based on current state]
⚡ QUICK COMMANDS
/execute-task # Continue current task
/swab # Quick code cleanup
Clean State Example:
⚓ Code Captain Status Report
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📍 CURRENT POSITION
Branch: main (up to date)
Last commit: "Fix user authentication bug" (1 day ago)
Working directory: Clean ✅
📋 ACTIVE WORK
No active specifications found
Ready to start new work
🎯 SUGGESTED ACTIONS
• Start new feature development
• Review pending issues or backlog
⚡ QUICK COMMANDS
/create-spec # Plan new feature
/swab # Clean up existing code
Problem State Example:
⚓ Code Captain Status Report
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📍 CURRENT POSITION
Branch: feature/payment-flow (5 commits ahead, 2 behind main)
Last commit: "WIP: payment validation" (3 days ago)
Uncommitted: 7 modified files, 2 conflicts
⚠️ IMMEDIATE ATTENTION
• Merge conflicts in src/api/payments.js, package.json
• Branch is 2 commits behind main (potential conflicts)
• Stashed changes from 2 days ago
📋 ACTIVE WORK
Spec: Payment Processing Integration
Progress: Story 1 (User completes payment flow) - In Progress
Tasks completed: 3/5 tasks (60%)
Next task: 1.4 Validate payment with external API
🎯 SUGGESTED ACTIONS
• Resolve merge conflicts first
• Sync with main branch changes
• Review stashed changes for relevance
⚡ QUICK COMMANDS
/execute-task # Continue current task
/swab # Code cleanup
Based on project state, suggest relevant next steps:
/execute-task/create-spec or /plan-product/swab/create-adr/research/swab for cleanup❌ Not in a git repository
Initialize git first: git init
⚓ Code Captain Status Report
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📍 CURRENT POSITION
Branch: main (up to date)
Working directory: Clean ✅
📋 ACTIVE WORK
No Code Captain specifications found
🎯 SUGGESTED ACTIONS
• Set up Code Captain workflow
• Create first feature specification
⚡ QUICK COMMANDS
/initialize # Initialize Code Captain
/create-spec # Create first specification
Parse story status from header:
Not Started - No tasks completedIn Progress - Some tasks completed, some remainingCompleted ✅ - All tasks and acceptance criteria completedActive Work Prioritization: