Skill repo conventions

What every dxbh0517/skill-* repo holds and how it is checked. Each repo vendors kit/check_skill.py verbatim and runs it in CI.

Every skill lives in its own public repo dxbh0517/skill-<name> (MIT). The hub dxbh0517/dxbh-skills lists them in skills.json and builds skills.dxbh.dev from each repo's files at build time. A repo must work when installed on its own, in any harness.

Layout

skill-<name>/
├── skills/<name>/          # what agents load; `npx skills add dxbh0517/skill-<name>` finds it
│   ├── SKILL.md            # frontmatter: name (== folder), description (<= 1024 chars)
│   ├── references/         # optional, loaded on demand
│   └── scripts/            # optional helpers (stdlib Python 3.8+ / plain Node 20+)
├── skill.json              # hub metadata (schema below)
├── evals/triggers.json     # trigger evals (schema below)
├── tests/                  # python: `python3 -m unittest discover -s tests`; js: `node --test tests/`
├── tools/check_skill.py    # vendored validator; copy verbatim from the kit, never edit per repo
├── .github/workflows/ci.yml
├── README.md               # what it does, install (4 ways), triggers, requirements, privacy notes
├── CHANGELOG.md            # Keep a Changelog; start at 1.0.0
└── LICENSE

skill.json

{
  "name": "ship",
  "title": "Ship",
  "tagline": "One sentence, <= 100 chars, for cards.",
  "category": "pr-flow",
  "version": "1.0.0",
  "harnesses": ["claude-code", "codex", "cursor", "t3-code"],
  "requires": ["git", "gh", "python3>=3.8"],
  "works_with": ["pr-triage", "responsive-qa"],
  "triggers": ["ship it", "merge and deploy"]
}
  • category: one of orchestration, pr-flow, review, design, qa, ops, content, meta.
  • works_with: other dxbh skill names this one hands off to or is driven by (feeds the site's workflow graph). Optional at runtime: the skill must still work without them.
  • triggers: 2–6 short phrases a user actually types.

evals/triggers.json

{
  "should_trigger": ["≥ 8 realistic user prompts that should load this skill"],
  "should_not_trigger": ["≥ 8 near misses that belong to another skill or to no skill"]
}

Near misses matter most: e.g. for ship, "review this PR" or "orchestrate this across models". Tighten the SKILL.md description until it clearly separates the two lists.

Standalone rule: no unpublished dependencies

These skills exist only on the author's machine and must NOT be required: file-pr, babysit-pr, leaving-pr-comments, full-stop, full-send, sol-loop, conductor. Inline the few rules actually used (their text is at ~/.claude/skills/<name>/SKILL.md; read it and keep only what this skill needs, in your own words). Other dxbh skills (ship, pr-triage, council, design-pass, responsive-qa, feature-audit, signalbox) may be mentioned as optional hand-offs with "if installed".

Inline meanings to keep consistent across repos:

  • "full stop" (also a closing "Full stop."): go to the merge gate, leave the PR ready and unmerged, never merge.
  • "full send": authorized to merge once the gate passes, and to run post-merge steps.
  • PR description: problem first, then what changed and how it was verified; short; end with one line naming the model(s) and harness that did the work.
  • Replying to a review comment you decline: one or two sentences with the concrete reason (evidence, file:line), no apology or filler, then resolve the thread.

Harness-neutral

Every harness-specific step gets a fallback. Use this mapping; name the T3 tool first only where T3 Code is what the user is in.

NeedT3 CodeClaude CodeCodex / Cursor / other
Subagent / parallel memberdelegate_task (mode:"async")Agent tool (subagent)signalbox delegate if installed, else run members one after another yourself
Wait on a PRwatch_pull_request, end turnone background gh pr checks <n> --watchsame; never a sleep loop
PR open / mergepull_request_create / pull_request_mergegh pr create / gh pr mergesame
CI logs / rerunci_logs / ci_rerungh run view <id> --log-failed / gh run rerun <id> --failedsame
Browserpreview_* toolsPlaywright (npx playwright) or the harness browsersame
Ask the userquestion toolAskUserQuestionplain question, then stop

Safer defaults

  • Generated reports, screenshots and scratch files go to the harness scratchpad when it has one, else ${TMPDIR:-/tmp}/<skill>/<repo>-<YYYYmmdd-HHMM>/. Write into the user's repo only when they ask.
  • Never print secrets; scripts print provider/host, never credentials.
  • No absolute paths to the author's machine (/home/..., /run/media/..., ~/work/...).

Tests and CI

  • Every script gets fixture-based tests (temp dirs, no network). JS checks that need a browser test their pure functions in Node with a fake DOM, or are skipped with a note.
  • tools/check_skill.py must pass. CI (.github/workflows/ci.yml) on push to main and PRs: python3 tools/check_skill.py then the tests. Use actions/checkout@v4, actions/setup-python@v5 (3.12), actions/setup-node@v4 (22) only if there is JS.

Telling the hub to rebuild

skills.dxbh.dev is built from each repo's files at build time, so a push to a skill repo only shows up after the site rebuilds. The hub rebuilds daily on its own; to show a change within minutes, copy kit/notify-hub.yml to .github/workflows/notify-hub.yml in the skill repo. On push to main it sends a skill-updated repository_dispatch to dxbh0517/dxbh-skills, whose rebuild.yml calls the Vercel deploy hook.

It needs one secret in the skill repo, HUB_DISPATCH_TOKEN: a fine-grained personal access token scoped to the single repository dxbh0517/dxbh-skills with Contents: read and write (the permission repository_dispatch requires) and nothing else. Without the secret the job prints a notice and passes.