/circleci:circleci-smarter-testing-debuggingfrom circleci
Debug CircleCI Smarter Testing on onboarded projects using `circleci testsuite impact` and `circleci testsuite result` to investigate test selection, skipping, and execution.
Ships in circleci. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Explains test selection and test runs on a suite that is already onboarded. A suite is onboarded when CI runs it with circleci testsuite run, whether it is defined in .circleci/test-suites.yml or is the default suite for a detected test runner. If CI doesn't run testsuite yet, use circleci-smarter-testing-onboarding first.
Both commands are experimental — check circleci testsuite impact --help and circleci testsuite result --help if a flag below is rejected.
Run them from the project directory where tests are run. impact reads impact data from CircleCI, which needs circleci auth login; pass --local to read the impact data stored locally by --local runs instead.
| Question | Command |
|---|---|
| How were a job's test atoms selected, and how did they run? | circleci testsuite result <job-id> |
| Why did this test atom run or get skipped in that job? | circleci testsuite result <job-id> --test <atom> |
| Which test atoms were slowest in that job? | circleci testsuite result <job-id> --sort time |
| Which files impact this test atom? | circleci testsuite impact --test <atom> |
| Which test atoms does this file impact? | circleci testsuite impact --file <path> |
| Which files trigger the most tests? | circleci testsuite impact --sort impact |
--key <key> when the suite sets options: impact-key; otherwise the default key is read.--version <N> reads an older version of the impact data, e.g. from before selection changed.circleci-cli to find it from the pipeline.Start with result for a specific job, then use impact to explain what it shows.
impact --file <path> doesn't list it, so coverage doesn't link them. If the link is real but coverage can't see it (migrations, fixtures, non-source files), suggest a test-selection-rules entry for the atom, or full-test-run-paths if the file should run everything.--analyze-tests, or a separate analysis job) and that the file is covered by the analysis command.impact --sort impact shows the files connected to the most atoms. A change to a shared helper or config file near the top selects most of the suite; that's expected, not a bug.result --test shows the reason; a test that failed on the previous run for the branch, or a new test, is always selected.impact and result only read data. Don't run the suite or rerun jobs to debug selection.test-suites.yml and let the user decide; after any change, rerun circleci testsuite doctor "<suite name>" until clean.circleci-smarter-testing-onboarding.circleci-cli, and failing tests or builds unrelated to selection to circleci-builds.Report the commands run, what they showed for the test atoms or files in question, the cause, and any suggested test-suites.yml change.
What SKILL.md sets; muted values are Claude Code's defaults
9 skills in this plugin
/circleci-buildsDiagnose and fix failing CircleCI builds quickly and safely. Use when users ask to investigate failed CircleCI jobs, triage flaky pipelines, identify root causes from logs, and implement minimal fixes in configuration, test setup, or build-related code paths./circleci-cliDay-to-day CircleCI from the terminal with the circleci CLI — authenticate, validate config before you commit, watch the run your push triggered, review pipeline/workflow/job status, print a failure report for your latest failed run in one command, read job logs and failed tests, list a project's flaky tests, list or download every artifact in a run in one command, and rerun/cancel/trigger. Use when a developer asks to authenticate CLI access, check their build or pipeline status, watch a run after pushing, see why CI failed, read job output/logs, find failing tests, list flaky tests, download build outputs such as a coverage report, rerun failed jobs, cancel or re-trigger a run, validate a config change locally, or look up a project's environment variables, contexts, triggers or pipeline definitions. For first-time project connection / pipeline-definition setup use the onboarding skill; for the diagnose-and-fix methodology on a failing build use circleci-builds./circleci-configOptimize CircleCI configuration for speed, reliability, and maintainability. Use when users ask to improve `.circleci/config.yml`, reduce CI runtime, tune caching/workspaces/parallelism, remove pipeline waste, or fix flaky pipeline behavior caused by configuration choices.npx claudepluginhub circleci-public/skills --plugin circleciOther plugins' skills for the same job