OpenParable
Skip to content
← Back to skills

branch_health

Testing & Quality

Quick health check -- test counts and file stats for AIPass branches

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. 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

ActionDescription
summaryFull stats for all branches (default)
testsTest-only stats (test files, test function counts)
branchStats 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 and tests/ for test files
  • Counts def test_ lines as test functions
  • Missing directories are handled gracefully
  • No external dependencies -- stdlib only