wire new skills: symlinks, README, jj-atomic cross-links

This commit is contained in:
Łukasz Boryń 2026-06-08 23:05:53 +02:00
parent ff3f74db39
commit a7e9b95183
3 changed files with 24 additions and 1 deletions

View File

@ -16,6 +16,8 @@ mkdir -p ~/.claude/skills
for s in ~/code/octobot/skills/*/*/; do
ln -s "${s%/}" "$HOME/.claude/skills/$(basename "$s")"
done
# shared concept docs (referenced by skills via ../_concepts/...)
ln -s ~/code/octobot/concepts ~/.claude/skills/_concepts
```
Open any project, start Claude Code, and the skills below appear in the
@ -40,6 +42,23 @@ skill list.
`CONTEXT.md` inline, offers ADRs only on the three-of-three rule.
- **r-style** — Tidyverse + `box::use` + `dtplyr` standards with
paired good/bad sibling docs (`box.md`, `tidyverse.md`, `dtplyr.md`).
- **dev-python** — orchestrate the full Python workflow (implement →
lint → typecheck → test → commit). Explicit trigger only.
- **dev-r** — orchestrate the full R workflow; auto-detects package
(`DESCRIPTION`) vs analysis (`_targets.R`).
- **write-readme-py** — generate `README.md` from `pyproject.toml` +
`justfile`.
### scaffold
- **build-py-project** — uv + Docker (3-stage) + justfile + pyproject.
- **build-r-package** — renv + rocker/r-ver + DESCRIPTION + testthat.
- **build-r-analysis** — renv + rocker/verse + `_targets.R` + Quarto.
### concepts
Shared reference docs (not skills; loaded on demand by SKILLs that link them):
- [`concepts/three-stage-dockerfile.md`](concepts/three-stage-dockerfile.md)
— base / production / development Docker pattern used by every
`scaffold/build-*` skill.
## Adding a skill

View File

@ -104,3 +104,7 @@ working-copy is split into two atomic commits with proper messages.
as the fix.
- [`../../engineering/diagnose/SKILL.md`](../../engineering/diagnose/SKILL.md)
— phase-6 post-mortem commit message names the confirmed hypothesis.
- [`../../engineering/dev-python/SKILL.md`](../../engineering/dev-python/SKILL.md)
and
[`../../engineering/dev-r/SKILL.md`](../../engineering/dev-r/SKILL.md)
— workflow orchestrators that hand off here for the commit phase.

View File

@ -56,7 +56,7 @@ description: Scaffold a new Python project with uv for dependency management, a
the scaffold lean and let the user grow it.
## See also
- [`../../../concepts/three-stage-dockerfile.md`](../../_concepts/three-stage-dockerfile.md)
- [`../../_concepts/three-stage-dockerfile.md`](../../_concepts/three-stage-dockerfile.md)
— rationale for the base/production/development pattern in `Dockerfile.tpl`.
- [`../../engineering/dev-python/SKILL.md`](../../engineering/dev-python/SKILL.md)
— workflow that this scaffold sets up.