Skip to content

Unique-AG/ai / .claude/skills/ci-local-parity

ci-local-parity

Verified

Reproduce ai-repo PR checks locally with Poe and CI scripts, including per-package typecheck and coverage behavior. Use when validating changes before push or when user asks which local commands match CI.

FileKindSize
SKILL.mdskill md4.0 KB
references/ci-gaps.mdmarkdown2.1 KB
references/package-matrix.mdmarkdown2.4 KB

references/ci-gaps.md

View on GitHub
# CI checks not fully reproducible via Poe

These jobs run in PR CI but cannot be replicated locally using `poe` tasks.
Call them out in any summary; never claim full parity.

## Dependency min-deps job (`ci-dependency-checks.yaml`)

CI installs with `--resolution lowest-direct`, reinstalls workspace packages
from source, then runs deptry and pytest in that environment.

`poe depcheck` only runs `deptry .` in the normal dev environment — it does not
test against minimum dependency versions.

To reproduce manually from the package dir:
```bash
uv venv --python 3.12
uv pip install -e . --resolution lowest-direct
# reinstall workspace packages from source (toolkit etc.)
uv pip install --no-deps -e "$REPO_ROOT/unique_toolkit"
# install dev tools from root
uv export --directory "$REPO_ROOT" --frozen --only-group dev --no-hashes | \
  uv pip install -r -
.venv/bin/deptry .
.venv/bin/pytest
```

## Config compatibility check (`ci-config-check.yaml`)

Exports `unique_toolkit._common.config_checker` defaults from the merge-base,
then validates the PR tip doesn't introduce breaking config changes.

Runs only on packages that have config checker support:
`toolkit`, `web_search`, `deep_research`, `swot`, `internal_search`,
`skill_tool`, `stock_ticker`, `follow_up_questions`, `six`.

No Poe equivalent; run manually from package dir if needed:
```bash
uv run python -m unique_toolkit._common.config_checker export --package . --output /tmp/base/
uv run python -m unique_toolkit._common.config_checker check \
  --artifacts /tmp/base/ --package . --report-defaults --fail-on-missing
```

## PR policy checks (CI-only governance)

- **PR title**: semantic PR title format validation (GitHub Action).
- **No-manual-release**: `bash .github/scripts/check-no-manual-release.sh <base_sha> <head_sha>`
- **Release-lineage** (PRs targeting `release/*` only): `git fetch origin main && bash .github/scripts/check-release-lineage.sh <base_sha> <head_sha> origin/main`
- **Gatekeeper**: aggregates all job statuses; posts commit status via `gh api`.

These are governance checks; they have no local Poe equivalent.
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall