一键导入
statusline
Show current project status and development phase progress
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Show current project status and development phase progress
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create git commit following project conventions
Full Jira-tracked change workflow — create/select Jira ticket under epic SDK-5256, create feat/SDK-XXXX branch, commit with ticket id, push, and open PR with ticket id in title and Jira links in body
Generate test JSON configurations following JSON_STRUCTURE_REFERENCE.md rules
Review code changes against project standards and conventions
Run tests for Android or iOS SDK
| name | statusline |
| description | Show current project status and development phase progress |
| user-invocable | true |
| disable-model-invocation | false |
Displays comprehensive project status including git state, development phases, recent changes, and active work items.
# Show full status
/statusline
# Show only git status
/statusline --git
# Show only phase progress
/statusline --phase
# Show quick summary
/statusline --quick
📊 Native Display System - Status Report
=========================================
🔀 GIT STATUS
Current Branch: feat/SDK-5405/base-components
Main Branch: main
Status: 14 files staged, 3 files modified, 2 untracked
Staged:
A .claude/skills/commit/SKILL.md
A .claude/skills/generate-json/SKILL.md
M .claude/README.md
... (11 more files)
Modified:
M CLAUDE.md
M android/sdk/src/main/kotlin/models/Container.kt
M ios/Sources/Models/Container.swift
Last Commit: feat: updates the claude file for JSON_REFERENCE
Commits ahead of main: 5
---
🎯 DEVELOPMENT PHASE
Current: Base Components Implementation
Spec: .claude/specs/base-components.md
Progress:
✅ Container types: VERTICAL, HORIZONTAL, BOX, STACK (100%)
✅ Element types: TEXT, IMAGE, BUTTON (100%)
🔄 Element types: VIDEO, SPACER, DIVIDER (60%)
⏳ Gallery container: SNAPPING mode (0%)
---
🏗️ BUILD STATUS
Android: ✅ PASSED (45.3s ago)
- 150 files compiled
- 2 warnings
iOS: ✅ PASSED (23.1s ago)
- 120 files compiled
- 0 warnings
---
🧪 TEST STATUS
Android: ✅ 45/45 tests passed (12.3s ago)
iOS: ✅ 38/38 tests passed (8.7s ago)
Coverage:
- Android: 91% (target: 85%)
- iOS: 89% (target: 85%)
---
📝 RECENT COMMITS
1. 8601bc1 - feat: updates the claude file for JSON_REFERENCE (2 hours ago)
2. 9237ac0 - fix: standardize color parsing to ARGB format (3 hours ago)
3. 435c821 - feat: uses environment extension in ios app (1 day ago)
4. bc7ce4b - fix(SDK-5546): correct style cascading (1 day ago)
5. ddf63ac - feat: fixes sample app android (2 days ago)
---
⚠️ ATTENTION NEEDED
- 3 uncommitted changes in android/sdk/
- 2 TODO comments in ios/Sources/Models/
- 1 deprecation warning in android build
- README.md needs update for new features
---
📋 QUICK ACTIONS
- /build - Build Android and iOS
- /test - Run all tests
- /review - Review uncommitted changes
- /commit - Commit staged changes
📊 Status: feat/SDK-5405/base-components
🔀 Changes: 14 staged, 3 modified, 2 untracked
🏗️ Build: ✅ Android (45.3s) | ✅ iOS (23.1s)
🧪 Tests: ✅ 45 Android | ✅ 38 iOS
⚠️ Attention: 3 uncommitted, 2 TODOs
Current: feat/SDK-5405/base-components
Tracking: origin/feat/SDK-5405/base-components
Behind: 0 commits
Ahead: 5 commits
A .claude/skills/commit/SKILL.md
M .claude/README.md
D old-file.md
M CLAUDE.md
M android/sdk/src/main/kotlin/models/Container.kt
?? test-configs/new-test.json
?? docs/draft-spec.md
Reads from .claude/specs/ and tracks:
Shows results from last:
/build invocation/test invocationShows last 5 commits with:
Shows recently modified files:
Shows current work items:
Configure in .claude/settings.json:
{
"statusline": {
"showGit": true,
"showPhase": true,
"showBuild": true,
"showTests": true,
"showHealth": true,
"recentCommitsCount": 5,
"quickMode": false
}
}
.git/ directorygit status, git log, git diff.claude/specs/ directory/statusline --quick
Quick overview of what's done, in progress, and blocked
/statusline --git
Review what will be committed
/statusline
Full status to verify everything is complete
/statusline --phase
Show phase progress and completed work
Add to .claude/statusline-custom.md:
## Custom Metrics
- API response time: 45ms (target: <100ms)
- Bundle size: 234KB (target: <300KB)
- Memory usage: 45MB (target: <60MB)
Add to .claude/statusline-health.sh:
#!/bin/bash
# Check for large files
find . -size +1M -not -path "./.git/*"
Show status before commit:
#!/bin/bash
# .git/hooks/pre-commit
/statusline --git
Report status in CI:
- name: Status Report
run: /statusline --quick
Track status over time:
.claude/status-history/
├── 2024-01-15-status.json
├── 2024-01-16-status.json
└── 2024-01-17-status.json
Show trends:
Generate team-wide status:
/statusline --team
Export status to:
/commit - Commit after verifying status/build - Build to update build status/test - Test to update test status/review - Review to check code qualityEnsure git is installed and in PATH
Ensure .claude/specs/ contains spec files with progress metadata
Run /build to generate build status
Run /test to generate test status
Status generation is fast:
Cached where possible for faster subsequent calls.