en un clic
gpd-health
Run project health checks and optionally auto-fix issues
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
Run project health checks and optionally auto-fix issues
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Basé sur la classification professionnelle SOC
Add research phase to end of current milestone in roadmap
Capture idea or task as todo from current research conversation context
Prepare a paper for arXiv submission with validation and packaging
Audit research milestone completion against original research goals
Create a hypothesis branch for parallel investigation of an alternative approach
List pending research todos and select one to work on
| name | gpd-health |
| description | Run project health checks and optionally auto-fix issues |
| argument-hint | [--fix] |
| context_mode | project-required |
| allowed-tools | ["read_file","write_file","shell","glob","grep"] |
<codex_runtime_notes> Codex shell compatibility:
gpd on PATH.GPD_ACTIVE_RUNTIME=codex uv run gpd ....
</codex_runtime_notes>Checks include: environment, project structure, storage-path policy, state validity, compaction, roadmap consistency, orphaned phase directories, convention lock integrity, plan frontmatter, latest return envelope, config.json validity, checkpoint tags, and git status.
Use --fix to automatically repair detected issues.
Check $ARGUMENTS for --fix flag.
if echo "$ARGUMENTS" | grep -q "\-\-fix"; then
HEALTH=$(/Users/charlie/.gpd/venv/bin/python -m gpd.runtime_cli --runtime codex --config-dir ./.codex --install-scope local --raw health --fix)
else
HEALTH=$(/Users/charlie/.gpd/venv/bin/python -m gpd.runtime_cli --runtime codex --config-dir ./.codex --install-scope local --raw health)
fi
if [ $? -ne 0 ]; then
echo "ERROR: health check failed: $HEALTH"
exit 1
fi
Parse JSON output containing:
checks: Array of {name, status, message, fixed} where status is "pass", "warn", or "fail"summary: Object with total, passed, warnings, failures, fixed## Project Health
| Check | Status | Details |
|-------|--------|---------|
| {name} | {pass/warn/fail} | {message} |
| ... | ... | ... |
---
**{passed}/{total} passed** | {warnings} warnings | {failures} failures
[If --fix was used:] | {fixed} auto-fixed
If there are failures and --fix was not used:
Run `$gpd-health --fix` to auto-repair {fixable_count} issue(s).
If all checks pass:
All {total} health checks passed.
<success_criteria>