2.6 KiB
2.6 KiB
skills
Personal agent skills packaged through Nix.
The domain glossary lives at $(xdg-user-dir DOCUMENTS)/ai-artifacts/projects/skills/011-skills-context.md.
Conventions
AGENTS.mdis canonical for project instructions. Context, ADRs, specs, and tasks live under$(xdg-user-dir DOCUMENTS)/ai-artifacts/projects/skills/.- Skill source lives under
skills/<name>/. Do not edit generated links under.agents/skills/or.claude/skills/as source. - Run
nix flake checkbefore considering a repository-wide change complete. The check builds every packaged skill plus the Home Manager module, shell hook, and benchmark core tests. - The dev shell may place Nix-delivered skills into
.agents/skills/and maintain.claude/skillsas a compatibility symlink. Generated ignore entries belong in the root.gitignore, not inside.agents/skills/, because skill scanners honor ignore files inside scanned skill directories.
Gotchas
python3is supplied by the default Nix dev shell, not the ambient environment. Enternix developbefore running Python-based project tools.- A skill-local
GLOSSARY.mdis runtime reference for that skill and has no relationship to the project's AI-artifacts-vault context glossary. - This repository owns packaged skill sources only. Enabling, replacing, or removing them in a consumer repository such as dotfiles is outside its scope.
nix flake checkevaluates the Git snapshot and omits untracked skill files. Usenix flake check "path:$PWD"to include a newly created skill before staging it.$(xdg-user-dir DOCUMENTS)/ai-artifactsis itself an Obsidian vault for AI-generated artifacts, distinct from the personal vault where AI-generated notes are forbidden.- Project artifact filenames carry globally allocated identifiers. Discover context and ADR artifacts through the AI artifacts vault convention rather than assuming fixed names or type directories.
- Do not turn opportunistic use of another skill into a declared dependency. Invocation of an unrelated skill remains the agent's discretion unless the current skill directly requires its contract.
- Do not instruct a skill to execute synchronously. In-process execution is the baseline, while isolation and parallelism belong to an external caller or runtime.
- When adapting an upstream skill, preserve mechanics the upstream skill leaves unspecified. Customize only the surfaces required to fit the local workflow rather than turning incidental choices into new contracts.
- The installed
gitea-axi pr viewdoes not support--fields. Use plaingitea-axi pr view <number>.