piker/.claude/skills
Gud Boi e5a91faac7 Add `/lint` skill with `scripts/check.py`
Add a user-invocable `/lint` skill that wraps
`ruff check` with staged-file defaults and piker's
`ruff.toml` config via a PEP 723 script.

The `ruff.toml` (from prior commit) now enforces
piker's `'''` multiline docstring convention with
`D2xx` formatting rules: summary on second line
(D213), closing quotes on separate line (D209), blank
line between summary and description (D205), plus
`W` trailing-whitespace and cherry-picked `D4xx`
content checks.

Deats,
- `scripts/check.py`: pure-stdlib wrapper that
  defaults to staged `.py` files via
  `git diff --cached`, with `--all`, `--fix`,
  `--diff`, and `--stats` flags.
- calls `ruff` from `$PATH` (works with nixpkgs,
  nvim-bundled, or pip-installed).
- prints clear install guidance if `ruff` not found.
- `SKILL.md`: documents usage, common violations
  (D213, D205, D204), and fix patterns for
  converting to piker's docstring style.

(this patch was generated in some part by [`claude-code`][claude-code-gh])
[claude-code-gh]: https://github.com/anthropics/claude-code
2026-03-11 21:04:19 -04:00
..
commit-msg Fix `commit-msg` skill for docs compliance 2026-03-04 15:45:46 -05:00
lint Add `/lint` skill with `scripts/check.py` 2026-03-11 21:04:19 -04:00
piker-profiling Factor `.claude/skills/` into proper subdirs w/ frontmatter 2026-02-27 12:53:10 -05:00
piker-slang Correct a few `piker-slang`-skill defs 2026-03-10 17:58:18 -04:00
pyqtgraph-optimization Factor `.claude/skills/` into proper subdirs w/ frontmatter 2026-02-27 12:53:10 -05:00
timeseries-optimization Factor `.claude/skills/` into proper subdirs w/ frontmatter 2026-02-27 12:53:10 -05:00