docs(skills): document monorepo skill layout

This commit is contained in:
2026-09-02 14:40:12 -04:00
parent 974d987dd5
commit b898c93610
3 changed files with 28 additions and 0 deletions

0
.agents/skills/.gitkeep Normal file
View File

0
src/skills/AGENTS.md Normal file
View File

28
src/skills/README.md Normal file
View File

@@ -0,0 +1,28 @@
# Skills
This directory contains monorepo-owned agent skill sources.
## Layout
```text
src/skills/ Monorepo-owned skill sources
.agents/skills/ Monorepo-wide enabled skill symlinks
src/<project>/skills/ Project-owned skill sources
src/<project>/.agents/skills/ Project-specific enabled skill symlinks
```
## Source ownership
Use `src/skills/` for skills that support workflows across the monorepo.
Keep project-specific skills inside the project that owns them.
For example, a `gitea-axi` skill belongs with the `gitea-axi` project source.
A general commit or review workflow skill belongs in `src/skills/`.
## Enablement
Enable skills with symlinks.
Do not copy skill sources into `.agents/skills/`.
Use root `.agents/skills/` for skills that should be available anywhere inside the monorepo.
Use `src/<project>/.agents/skills/` for skills that should be available only in that project subtree.