mikeparcewski/wicked-garden / skills/build-guide
wicked-garden-build-guide
VerifiedDiscover how a repo builds and tests, and write its build/test guide (`.wicked/build-guide.json`, contract v1): the data the wicked-core floor interprets instead of hardcoding runners. Reads CI config first, then the manifests, then each runner's own --version and --help. Prefers structured results (JUnit; JSON lines and TAP are reserved in v1) and writes a text parser, learned from this repo's real output, only when none exists. Writes a deliberately failing mutation probe, validates with `wicked-core floor probe` (only the probe writes `verified`), and proposes the file as a PR or governed change, never silently. Use when: "build guide", "write the build/test guide", "how does this repo test", "onboard this repo's tests for the floor", "re-onboard the build guide", "the build guide is stale", the onboarding step of the wicked-garden-core setup action, or a wicked-crew onboarding run dispatched because the floor found no guide, a stale one, or a failed probe.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 13.7 KB |
| assets/seeds/cargo-libtest.json | config | 2.6 KB |
| assets/seeds/pytest-short-summary.json | config | 2.5 KB |
| assets/seeds/vitest-junit.json | config | 2.0 KB |
| refs/contract-notes.md | markdown | 12.1 KB |
| refs/discover.md | markdown | 4.9 KB |
| refs/propose.md | markdown | 1.9 KB |
| refs/results.md | markdown | 7.0 KB |
assets/seeds/pytest-short-summary.json
View on GitHub{
"version": 1,
"derivedFrom": [
".github/workflows/ci.yml",
"pyproject.toml"
],
"checks": [
{
"name": "install",
"cwd": ".",
"run": [
"pip",
"install",
"pytest"
]
},
{
"name": "test",
"cwd": ".",
"stage": [
"creator",
"verify"
],
"run": [
"python3",
"-m",
"pytest",
"-q",
"-p",
"no:cacheprovider",
"-rfE"
],
"failedExit": [
1
],
"results": {
"kind": "text",
"how": {
"argvAppend": [
"--force-short-summary"
],
"env": {}
}
},
"parser": {
"blocks": [
{
"start": "^=+ short test summary info =+$",
"item": "^(?:FAILED|ERROR) (?P<id>.+?)(?: - .*)?$",
"end": "^(?:=+ )?[0-9]+ (?:failed|passed|errors?|skipped|deselected|xfailed|xpassed|warnings?)\\b.* in [0-9.]+s.*$",
"use": "last-before-end"
}
]
},
"list": {
"run": [
"python3",
"-m",
"pytest",
"--collect-only",
"-q",
"-p",
"no:cacheprovider"
],
"item": "^(?P<id>\\S+\\.py::.+)$"
},
"alone": {
"run": [
"python3",
"-m",
"pytest",
"-q",
"-p",
"no:cacheprovider",
"-rfE",
"{id}"
]
},
"deselect": {
"append": [
"--deselect={id}"
]
},
"version": {
"run": [
"python3",
"-m",
"pytest",
"--version"
]
},
"invalidatedBy": [
"pyproject.toml",
"setup.cfg",
"tox.ini",
"pytest.ini",
"**/conftest.py",
".github/workflows/**"
],
"probes": {
"mutation": {
"file": "tests/test_wicked_mutation.py",
"content": "def test_wicked_mutation_probe():\n assert 1 + 1 == 3, \"deliberately failing: the build-guide mutation probe\"\n",
"expectId": "tests/test_wicked_mutation.py::test_wicked_mutation_probe"
},
"mutation2": {
"file": "tests/test_wicked_mutation_two.py",
"content": "def test_wicked_mutation_two_probe():\n assert 1 + 1 == 3, \"deliberately failing: the build-guide second mutation probe\"\n",
"expectId": "tests/test_wicked_mutation_two.py::test_wicked_mutation_two_probe"
}
}
}
]
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| 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: 198k | Updated | Claude CodeCodex | Verified | Install |