Skip to content

Add gitkeeper, enforce the Agent Skills rules, re-vendor three skills - #13

Merged
lukavtz merged 3 commits into
mainfrom
feat/gitkeeper
Nov 30, 2026
Merged

lukavtz merged 3 commits into
mainfrom
feat/gitkeeper

Conversation

@lukavtz

@lukavtz lukavtz commented Nov 30, 2026 •

Copy link
Copy Markdown
Owner

Adds gitkeeper — one skill for every git and GitHub operation — and makes the repository enforce the Agent Skills rules instead of trusting authors to remember them.

gitkeeper

One skill, seven references loaded on demand: commits, PRs, conflicts, recovery, worktrees, gh output, releases. A routing table in SKILL.md sends the agent to exactly one.

Enforced policy: never destroy uncommitted work, never force-push or rewrite a shared branch, never bypass hooks. Conventional Commits with Russian or English subjects. GitHub only through authenticated gh with --json/--jq.

New since the first push: the description now states what it covers and the situations that trigger it, the body gained a gotchas section (10 non-obvious git facts with the correction) and a pre-report checklist.

Validator

scripts/validate-skills.mjs now checks the rules the vendors' authoring guides agree on:

  • body budget of 500 lines, no placeholders, no absolute host paths;
  • frontmatter allowlist (spec keys plus the harness keys in use), lengths already enforced;
  • every references/*.md mentioned resolves, every file in references/ is mentioned at one level, no nested chains;
  • no two skills share a description.

17 fixture-based tests in scripts/validate-skills.test.mjs (temp trees, no repo mutation), wired into npm test. A root argument lets them run outside the repo.

Re-vendored

Audited all 11 vendored skills against upstream HEAD; three had real changes:

  • hallmark — capture script no longer breaks <img> paths on Windows, colliding routes no longer overwrite screenshots, with regression tests.
  • beautify-github-readme — publish-safety rule for private material, claim hygiene, SHOWCASE.md-only contribution flow.
  • humanizer-ru — v3.32.2 wording rules.

Files are byte-identical to upstream HEAD (blob hashes checked per tree: 187/187, 12/12, 21/21), and stack.json plus THIRD_PARTY_NOTICE.md carry the new pins.

changed: scripts/validate-skills.mjs, scripts/validate-skills.test.mjs, package.json, README.md, skills/gitkeeper/, skills/hallmark/scripts/, skills/beautify-github-readme/, skills/humanizer-ru/, stack.json, THIRD_PARTY_NOTICE.md
verified: npm test → 26 gate tests plus 17 validator tests pass; node scripts/validate-skills.mjs → skills: 15 valid, stack.json consistent; re-vendored blob hashes equal to upstream HEAD
assuming: none
not done: no behavioural eval for gitkeeper yet (the repository's eval harness measures steerloop only)
question: none

z3r0xc added 3 commits November 30, 2026 15:46
Commits, PRs, conflicts, recovery, worktrees, gh output and releases
in one skill whose safety policy forbids destroying uncommitted work,
force-pushing, or skipping hooks. Each workflow is a reference file,
so the body stays small and loads only what the task needs.

changed: skills/gitkeeper/ (SKILL.md, 7 references, agents/openai.yaml), stack.json, README.md, THIRD_PARTY_NOTICE.md
verified: `npm test` → 26 of 26 gate tests pass; 15 skills valid, stack.json consistent
assuming: none
not done: none
question: none
The tree listing and the profiles paragraph said fourteen; the hero image
baked FOURTEEN FILES and 14 SKILLS. All now match the manifest: fifteen
skills, four originals. gitkeeper also states that it governs git and
GitHub operations, so craftloop's delivery section cannot contradict it.

changed: README.md, assets/readme/build_hero.py, assets/readme/hero.png, skills/gitkeeper/SKILL.md
verified: `npm test` → 26 of 26 gate tests pass; 15 skills valid, stack.json consistent; hero.png re-read and shows FIFTEEN FILES / 15 SKILLS
assuming: none
not done: social.png still says THREE, untouched on purpose
question: none
Validator: enforces the Agent Skills body rules (500-line budget, no
placeholders, no host paths, frontmatter allowlist, one-level references
that resolve, no duplicate descriptions) with 17 fixture tests and a root
argument so tests never touch the repo tree.
gitkeeper: the description now states what it covers and the situations
that trigger it; the body gains a gotchas section and a pre-report checklist.
Vendored: hallmark capture scripts (Windows path fix, colliding-route
screenshots), beautify-github-readme (publish-safety, claim hygiene),
humanizer-ru (v3.32.2 wording rules), byte-identical to upstream HEAD,
with stack.json and the notice repinned.

changed: scripts/validate-skills.mjs, scripts/validate-skills.test.mjs (new), package.json, README.md, skills/gitkeeper/SKILL.md, skills/hallmark/scripts/capture.mjs, skills/hallmark/scripts/capture.test.mjs, skills/beautify-github-readme/SKILL.md, skills/beautify-github-readme/references/showcase-contribution.md, skills/humanizer-ru/SKILL.md, skills/humanizer-ru/references/catalog.md, stack.json, THIRD_PARTY_NOTICE.md
verified: `npm test` → 17 validator tests plus 26 gate tests pass; `node scripts/validate-skills.mjs` prints 15 valid, stack.json consistent; re-vendored files hash-equal to upstream HEAD trees (187/187, 12/12, 21/21 blobs)
assuming: none
not done: none
question: none
@lukavtz lukavtz changed the title Add gitkeeper: one git and GitHub skill with seven references Add gitkeeper, enforce the Agent Skills rules, re-vendor three skills Nov 30, 2026
@lukavtz
lukavtz merged commit 3a2dcd2 into main Nov 30, 2026
2 checks passed
@lukavtz
lukavtz deleted the feat/gitkeeper branch November 30, 2026 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant