slot-scaffolder
Skill137 starsChanged 3 months agoApache-2.0View on GitHub
Generate a domain data-build slot from OpenAPI files: new business-domain pack, scaffold a data-build skill, or add an enterprise custom domain. Internal helper of the parent pack; reach this through codexqa-testdata-generator.
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- llms.txtllms.txt
- codexqa-change-analysisSkill
- codexqa-code-analyzerSkill
- codexqa-code-reviewerSkill
- codexqa-code-wikiSkill
- codexqa-defect-analyzerSkill
- codexqa-jev-browserSkill
- codexqa-requirement-analyzerSkill
- codexqa-rootcause-analyzerSkill
- codexqa-skill-routerSkill
- codexqa-testcase-generatorSkill
- codexqa-testdata-generatorSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 50
Add scenes (and optional aliases / invokeParams) in slot.yaml only.
- Very specific: line 55
Do not add skill_marketplace.paths or api_catalog.paths.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Slot scaffolder
Bundled sub-skill of codexqa-testdata-generator: turn an OpenAPI directory plus a
domain name into a slot that matches ../slots/SLOT_SPEC.md,
the single copy of that contract.
Inputs
domain and openapi are the prerequisite materials. If either is missing, or the OpenAPI directory has no .yaml / .yml / .json files, stop and ask. Do not invent operations or scaffold an empty slot. After the user provides them, generate the slot. Do not collect executor fields.
| Field | Meaning | Required |
domain | Short English slug (payments, logistics) | yes |
openapi | Directory of OpenAPI YAML/JSON files (at least one spec) | yes |
output | Destination directory (default ../slots/<domain>) | no |
Run
node scripts/scaffold_slot.ts \
--domain <domain> \
--openapi <openapi-dir> \
--output <output-dir>The script writes slot.yaml (the one config), executor stubs, generated SKILL.md / tools-guide.md, and copies OpenAPI into assets/openapi/.
Slots under ./slots/<domain> are discovered automatically. If the skill lives elsewhere, add one line:
workspace:
slot_roots:
- /path/to/company-slotsAfter generation
- Implement each stub
main(params)againstDATA_BUILD_API_BASE(timeouts; nevershell: true; missing required IDs must fail) - Add
scenes(and optionalaliases/invokeParams) inslot.yamlonly. List more specific entities before generic ones - Refresh generated docs:
node ../scripts/sync_slot.ts --dir <slot>
Hand-writtenSKILL.mdis left alone unless it isgenerated-from: slot.yamlor you pass--force - Smoke-test:
node ../scripts/search_data_build.ts --keywords <domain> --json
Do not add skill_marketplace.paths or api_catalog.paths. Search, OpenAPI index, and case-pipeline bind all read slots/ + workspace.slot_roots. If slot.yaml is omitted, entities are inferred from scripts/executors/* and assets/openapi operationIds.
Human operators: ../HOW_IT_WORKS.md. Agents stay on this file and ../slots/SLOT_SPEC.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

