swift-skills is a skill collection for repository-native Swift documentation
work. The repo holds skill definitions, rules, examples, and skill-local
template source material.
The collection currently centers on one flagship skill:
skills/swift-package-docs/.
swift-package-docs is limited to Swift package documentation architecture. It
supports:
- scaffold
- audit
- normalize
- export template
For larger normalize, migration, or export work, it may also use a durable
PLANS.md scaffold as an execution aid. That does not expand the skill into
product specs, roadmap planning, or workflow orchestration.
.claude-plugin/: Claude Code marketplace metadata for the collectionskills/: authoritative skill source material, including skill-local template sources
Install a specific skill directory rather than the repository root.
For the current flagship skill:
- source directory:
skills/swift-package-docs/
Zip the skills/swift-package-docs/ directory and upload that skill in Claude:
- Open Claude.
- Go to
Settings > Capabilities > Skills. - Click upload.
- Select the zipped
swift-package-docs/skill folder.
Place the skill directory in ~/.claude/skills:
mkdir -p ~/.claude/skills
ln -s "$(pwd)/skills/swift-package-docs" \
~/.claude/skills/swift-package-docsIf you prefer a copy instead of a symlink:
mkdir -p ~/.claude/skills
cp -R "$(pwd)/skills/swift-package-docs" \
~/.claude/skills/swift-package-docsFor local testing from this repository:
claude plugin marketplace add .
claude plugin install swift-package-docs@swift-skillsAfter publishing the repository to GitHub:
claude plugin marketplace add swift-library/skills
claude plugin install swift-package-docs@swift-skillsThis uses /.claude-plugin/marketplace.json as the marketplace catalog.
Install a specific skill directory into $CODEX_HOME/skills rather than
linking the repository root.
For the current flagship skill:
mkdir -p "${CODEX_HOME:-$HOME/.codex}/skills"
ln -s "$(pwd)/skills/swift-package-docs" \
"${CODEX_HOME:-$HOME/.codex}/skills/swift-package-docs"If you prefer a copy instead of a symlink:
mkdir -p "${CODEX_HOME:-$HOME/.codex}/skills"
cp -R "$(pwd)/skills/swift-package-docs" \
"${CODEX_HOME:-$HOME/.codex}/skills/swift-package-docs"Restart Codex after installing so it picks up the new skill.
The current skill design centers on swift-package-docs/.
AGENTS.mdis the collection route and operational contract.README-class files index the collection tree, scope, ownership, and placement.skills/is the authoritative source for skill definitions, rules, templates, examples, and profiles..github/*is repo-local GitHub governance forswift-skills.
For the target-repository role model and detailed documentation semantics, see
skills/swift-package-docs/SKILL.md.
Route and index are separate on purpose. Do not turn AGENTS.md into a tree
index, and do not turn README files into routing contracts.