Structural review: is ai-config developing reasonably? #472
d-morrison
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Context
Asked Claude to assess whether this repo's structure is reasonable, since there's no single canonical standard for "portable AI agent config" projects. This issue records that assessment for future reference — not a bug report or a task, just a structural review to revisit periodically.
Verdict
Yes — the structure is reasonable, and arguably more rigorous than most comparable personal AI-config repos, which typically amount to a loose
CLAUDE.mdwith no validation and no self-maintenance loop.What's actually there
Layout — clean separation of concerns at the repo root:
skills/(146 dirs)SKILL.mdper skill, consistent frontmatter (name,description,user-invocable,allowed-tools)memories/preferences.md,tools.md,debugging.md) +MEMORY.mdindex registering eachshared/workflow/,coding/,writing/,vendored/— single-topic fragments pulled intoCLAUDE.mdvia@shared/...includes, shared with the UCD-SERG lab manual repocodex-skills/skills/) so Codex can read the same canonical skills, guarded by a CI drift checkcommands/,.claude/agents/docs/,*.qmd+_quarto.ymlscripts/validate-skills.py,check-links.py,check-vendored-drift.py,sync-codex-skill-wrappers.py,inventory.shtool-mappings.yml/.mdCOMMENT_PR) to each consumer model's actual tool, so skills stay usable by non-Claude agentsReal governance, not just prose conventions. CI (
validate.yml) runs schema validation, link checking, vendored-fragment drift checking, and markdownlint on every push/PR..pre-commit-config.yamladds gitleaks secret scanning plus structural gates.Explicit anti-entropy mechanisms — the most notable design choice. Because the corpus grows organically from lived session experience, it has a real sprawl risk. The repo answers that with dedicated skills rather than hoping discipline holds:
skill-builderenforces "extend before create" (Step 0: search for an existing skill to extend before scaffolding a new one).find-overlap/consolidate-skills/consolidate-memorydo periodic dedup sweeps across skills and memories.heal-skillrepairs a skill after it misfires.ums(update-memories-and-skills) is the standing checkpoint that runs before/clearand after every merged PR, so lessons get folded in immediately rather than lost.Deliberate portability design. Three consumption modes (local symlink bootstrap, generated Codex wrappers, Claude Code plugin marketplace for use from other repos' web sessions), plus the
tool-mappingsabstraction so a skill written in terms ofgh/gitstill resolves correctly for a model without that CLI.Benchmarked against peers, not ad hoc.
scout-peersexplicitly surveys comparable open-source projects (cc-skills,claude-code-plugins-plus-skills,dotfiles-claude,awesome-claude-code-toolkit), andCREDITS.mdrecords which conventions were adapted from where, with license checks.Low visible debt markers. Only 3 files repo-wide contain TODO/FIXME/XXX. The
skills/↔codex-skills/duplication is an intentional generated pairing guarded by CI, not accidental drift.Things worth watching (not action items yet)
memories/tools.mdis a lot of surface area for one person to hold a mental map of. Worth periodically confirmingfind-overlapsweeps are actually catching things.CLAUDE.mdlength. 399 lines of standing directives is substantial for a model to reliably apply on every turn. There's precedent for trimming (e.g. a "Dedupe two literal restatements in memories/" commit), but no dedicated periodic "pruneCLAUDE.mditself" skill the way there is forskills//memories/.CHANGELOG.md. Despite very active churn, change rationale lives only in git history and inline "Learned on gha#N" / "ai-config#N" citations. Workable for a single maintainer who reads every PR, but not skimmable without walking git log.All reactions