ci-check
Run the same checks as the ADK's GitHub CI (PR title, lint, format, licences, licenses.json, skill versions, tests) locally and report pass/fail. Use before pushing a branch or opening a pull request in the polyai-adk repo.
Install
npx skills add https://github.com/polyai/adk/tree/main/.claude/skills/ci-check
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install polyai-adk@llmmart
git clone https://github.com/polyai/adk.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole polyai/adk collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
Run the ADK CI checks locally
Run every step, even after one fails, then report a summary. All commands run from the repo root
through uv run; don't activate the venv.
- PR title. Take the intended PR title (ask if it isn't known) and check it matches
^(feat|fix|chore|docs|ci|build|perf|refactor|style|test)(\(.+\))?!?: .+. Check that the type is right too: anything a user can see isfeat:. See the release table inAGENTS.md. - Lint:
uv run ruff check . - Format:
uv run ruff format --check . - Licences:
uv run licensecheck --zero - licenses.json is current:
uv run pip-licenses && git diff --exit-code licenses.json. A diff here means it needs committing. - User skill versions:
uv run python scripts/validate_skills.py - Tests:
uv run pytest src/poly/tests/
CI also runs the tests on Windows. Point out new code that could break there: hard-coded /
path joins, open() without encoding="utf-8", shell-specific commands, or file permission
assumptions.
Report
- One line per step: pass or fail.
- For each failure, the relevant error output (trim long logs).
- A final verdict: ready to push, or what to fix first.
Files (adk)
-
SKILL.md 1.5 KB
--- name: ci-check description: Run the same checks as the ADK's GitHub CI (PR title, lint, format, licences, licenses.json, skill versions, tests) locally and report pass/fail. Use before pushing a branch or opening a pull request in the polyai-adk repo. metadata: internal: true --- # Run the ADK CI checks locally Run every step, even after one fails, then report a summary. All commands run from the repo root through `uv run`; don't activate the venv. 1. **PR title.** Take the intended PR title (ask if it isn't known) and check it matches `^(feat|fix|chore|docs|ci|build|perf|refactor|style|test)(\(.+\))?!?: .+`. Check that the type is right too: anything a user can see is `feat:`. See the release table in `AGENTS.md`. 2. **Lint:** `uv run ruff check .` 3. **Format:** `uv run ruff format --check .` 4. **Licences:** `uv run licensecheck --zero` 5. **licenses.json is current:** `uv run pip-licenses && git diff --exit-code licenses.json`. A diff here means it needs committing. 6. **User skill versions:** `uv run python scripts/validate_skills.py` 7. **Tests:** `uv run pytest src/poly/tests/` CI also runs the tests on Windows. Point out new code that could break there: hard-coded `/` path joins, `open()` without `encoding="utf-8"`, shell-specific commands, or file permission assumptions. ## Report - One line per step: pass or fail. - For each failure, the relevant error output (trim long logs). - A final verdict: ready to push, or what to fix first.
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.