원클릭으로
harness-architect
Scaffolds compilable but failing test harnesses for feature and chore tasks
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Scaffolds compilable but failing test harnesses for feature and chore tasks
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Browser automation skill. Drives agent-browser through structured navigate→snapshot→interact→re-snapshot flows with authentication support, form automation, visual verification, and explicit human checkpoints for external flows.
Autonomous iterative experimentation loop. Defines a measurable goal, establishes a baseline, then iterates modify→commit→measure→keep/revert until the goal is met or the budget is exhausted. Persists a TSV experiment log under the configured results directory.
GI/GR reconciliation gate for shipment manifests — verifies every manifest item exists in queue (pre-mode) or archive (post-mode) with the expected status before or after backlogit_ship_shipment runs.
On-demand harness health diagnostic. Checks manifest presence, version drift, file integrity, cross-reference validity, MCP tool availability, and template variable residue. Produces a per-category graded health report.
Multi-phase security audit skill. Scans agentic config surfaces and application source for OWASP Top 10 vulnerabilities, STRIDE threats, and config hygiene issues. Produces a scored, graded report persisted to the configured security docs directory (default: docs/security).
Decomposes a reviewed implementation plan into backlog feature/task/subtask hierarchy
| name | harness-architect |
| description | Scaffolds compilable but failing test harnesses for feature and chore tasks |
| argument-hint | feature=001-{SUFFIX_FEATURE} tasks=001.001-{SUFFIX_TASK},001.002-{SUFFIX_TASK} |
| input | {"properties":{"feature":{"type":"string","description":"Feature or chore ID to scaffold harnesses for"},"tasks":{"type":"string","description":"Comma-separated task IDs to scaffold (optional, defaults to all ready tasks)"}},"required":["feature"]} |
Scaffold strict test harnesses for a feature's or chore's ready work items. The output must compile cleanly, fail for the intended not-yet-implemented behavior, and leave clear harness commands for downstream build execution.
Use this skill when a release unit needs executable test boundaries before implementation starts. The skill prepares the red phase and stops there. It does not implement production logic.
When the agent-intercom capability pack is installed, call ping at
session start. If reachable, broadcast at every step. If unreachable,
warn the operator that visibility is degraded and continue locally.
| Event | Level | Message prefix |
|---|---|---|
| Session start | info | [HARNESS] Starting: feature={input.feature} |
| Tasks loaded | info | [HARNESS] Ready tasks: {task_count} |
| Codebase analyzed | info | [HARNESS] Context gathered: {module_count} modules |
| Harness generated | info | [HARNESS] Generated: {test_file} ({scenario_count} scenarios) |
| Compilation check | info | [HARNESS] Compilation: {result} |
| Red phase check | info | [HARNESS] Red phase: {result} |
| Label applied | success | [HARNESS] harness-ready: {task_id} |
| Complete | success | [HARNESS] Complete: {task_count} tasks harnessed |
${input:feature}: (Required) Feature or chore ID such as 001-F${input:tasks}: (Optional) Comma-separated task IDs to scaffold.
When omitted, use all ready tasks under the feature.${input:tasks} is present, restrict the scope to that explicit
task set.When the agent-engram capability pack is installed, prefer indexed
symbol lookup and code-graph tools over broad grep when surveying
existing modules, test patterns, and import paths.
For each task, select the appropriate harness strategy:
| Posture | When to use | Harness pattern |
|---|---|---|
| test-first | New functionality with clear inputs/outputs | Write failing tests for expected behavior |
| characterization-first | Modifying existing behavior | Write tests that capture current behavior then modify |
| migration-first | Moving code between modules | Write tests at the destination, verify source behavior |
| spike | Exploratory with uncertain approach | Write minimal integration test, implement spike, expand tests |
Write harness files into the module that matches the work item's scope:
tests//integration/ when the
task spans modules or runtime boundariestests//contract/ when the task
defines API, CLI, or schema behaviorWrite companion stub files into the production module that the tests exercise. Do not place scaffolding in unrelated modules.
Run cargo check --all-targets including tests. The harness MUST compile.
If compilation fails, fix the harness until it compiles. Do not proceed with a non-compiling harness.
Run cargo test for the harness tests. ALL tests MUST fail for the
intended red-phase reason, such as an explicit placeholder error or a
failing assertion in test code.
If any test passes (false positive) or fails with an unexpected error (compilation vs runtime), fix the harness.
After both checks pass (P-004 gate satisfied):
harness-ready label using the backlog tool's
update operation.Compilation: PASS,
Red Phase: CONFIRMED.The skill is complete only when the selected tasks have:
cargo check --all-targets result after scaffoldingThis skill operates at Tier 2 (Standard) — test scaffolding is structured but routine.