branch_health
Testing & QualityQuick health check -- test counts and file stats for AIPass branches
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/AIOSAI/AIPass/blob/HEAD/src/aipass/skills/lib/branch_health/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/branch-health, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Branch Health Skill
Quick health check for AIPass branches. Counts Python source files, test files, and test functions to give a snapshot of each branch's codebase and test coverage.
Available Actions
| Action | Description |
|---|---|
summary | Full stats for all branches (default) |
tests | Test-only stats (test files, test function counts) |
| branch | Stats for a single branch by name |
Usage
drone @skills run branch_health summary
drone @skills run branch_health tests
drone @skills run branch_health flow
Output Format
All actions return structured dicts:
{"success": True, "output": "...", "error": None}
Notes
- Scans
apps/for source files andtests/for test files - Counts
def test_lines as test functions - Missing directories are handled gracefully
- No external dependencies -- stdlib only