.agents/skills/autonomy--test-readiness-creator/SKILL.md
Builds the test setup, test utilities, and high-priority coverage needed for an agent to self-verify changes across unit, integration, end-to-end, visual, contract, and CI workflows. Use when a test readiness audit report exists and the testing setup needs improvement. Do not use when no audit report exists (run autonomy--test-readiness-auditor first) or when debugging one failing test (use autonomy--sre-agent).
npx skillsauth add patterninc/code-mint autonomy--test-readiness-creatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Build out a repository's testing setup so it supports autonomous agent verification, based on findings from autonomy--test-readiness-auditor.
Scope: Full test coverage is built incrementally, not in one session. During initial onboarding, focus on establishing the test framework, creating test utilities, and writing tests for the 3-5 highest-risk modules. Expand coverage in subsequent sessions.
Read the audit report at .agents/reports/autonomy--test-readiness-auditor-audit.md. If no report exists, instruct the user to run autonomy--test-readiness-auditor first.
Treat the audit report as the primary input contract before making changes:
Top Blockers, Human Decisions Needed, Safe To Automate, Coverage Gaps, and Test-First Readiness.Review the audit report and order findings by severity and impact on agent autonomy:
Use the audit's Coverage Gaps and Test-First Readiness sections to decide the first 3-5 modules to tackle during onboarding.
If the audit found missing foundational elements, address these first:
Document the mapping from source files to test files:
src/services/user.ts -> tests/services/user.test.ts
src/models/order.py -> tests/models/test_order.py
Work through the coverage gaps identified in the audit, collaborating with the user for domain-specific test cases.
AGENTS.md if one exists.| Priority | Area | Rationale | |---|---|---| | Critical | Authentication and authorization | Changes here create security vulnerabilities | | Critical | Payment and financial logic | Direct business impact | | High | Data validation and sanitization | Edge cases cause data corruption | | High | API contracts, request shapes, and response shapes | Breaking changes cascade across consumers | | Medium | UI state management | Visible but usually recoverable | | Medium | Error handling paths | Untested error paths produce cryptic failures | | Lower | Cosmetic or display logic | Low risk, easily caught in review |
If the audit found CI gaps:
Before changing CI behavior, ask for explicit approval if the change will block merges, alter required checks, or materially change team workflows.
.agents/reports/completed/autonomy--test-readiness-auditor-audit-{YYYY-MM-DD}.md.docs/onboarding-checklist.md and .agents/code-mint-status.json with the current self_test outcome status and date. Optionally update docs/skills-status.md if the repository keeps the compatibility view.development
Best practices and template for creating new agent skills in the code-mint framework. Use when creating a new skill, authoring SKILL.md files, or structuring skill directories. Do not use when editing an existing skill's logic (edit directly instead) or when creating AGENTS.md files (use legibility--enhancer).
development
Step-by-step playbook that transforms a repository for AI-first development. It scopes the repository, runs read-only audits, maintains an outcome-driven checklist, guides collaborative improvements, and verifies the results with evidence. Use when onboarding a new repository, when a user says "set up this repo for agents," or when starting a harness engineering transformation. Do not use when the repo is already onboarded and the goal is to run a single specific skill.
development
Collaboratively walks a human through creating high-quality AGENTS.md files throughout a codebase, implementing progressive disclosure architecture. Use when creating or updating AGENTS.md files, onboarding a repository to agent-first practices, or remediating findings from legibility--auditor. Do not use when evaluating existing documentation coverage (use legibility--auditor) or when creating agent skills (use meta--skill-creator).
development
Audits a repository's documentation coverage and agent-readiness by evaluating AGENTS.md placement, progressive disclosure quality, and UX intent documentation. Use when evaluating repository structure, auditing documentation coverage, assessing agent-readiness, or onboarding a codebase to agent-first practices. Do not use when creating or editing AGENTS.md files directly (use legibility--enhancer instead).