/status¶
Quick status report on the current state of the project, covering version control, CI health, and code quality.
What It Does¶
- Runs
git statusto show uncommitted changes - Runs
git log --oneline -10for recent commit history - Lists all branches with
git branch -a - Checks for open pull requests via
gh pr list - Checks recent CI runs via
gh run list - Runs the project linter (ruff, flake8, or eslint) and reports error count
- Runs the test suite and reports pass/fail count
- Presents a concise summary
Example¶
Typical output:
Project Status
==============
Branch: feat/add-notifications
Uncommitted: 2 modified, 1 untracked
Recent Commits (last 5):
a5845a5 feat: add Telegram notifier module
c32728e fix: correct timezone handling in scheduler
abed99c docs: update API reference
1ae01a5 refactor: extract risk validation
402ce0a test: add unit tests for circuit breaker
Open PRs: 1
#42 feat: add Telegram notifications (feat/add-notifications -> main)
CI: Last 3 runs PASSED
Lint: 0 errors (ruff)
Tests: 47 passed, 0 failed, 3 skipped (12.4s)
First thing in the morning
Run /status at the start of a session to orient yourself: see what branch you are on, whether CI is green, and if any PRs need attention.
Notes¶
- Requires
gh(GitHub CLI) to be authenticated for PR and CI checks - Auto-detects the linter: checks for ruff, flake8, or eslint in order
- Auto-detects the test runner: pytest, unittest, npm test, or vitest
- If the repo has no remote or
ghis not installed, those steps are skipped gracefully