/la:concise-commentsfrom la
Rules for concise code comments and docstrings, plus a cleanup pass to trim verbose ones. Use when writing or reviewing code, or when asked to reduce comment verbosity.
Ships in la. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Preflight: run la-doctor --plugin <this skill's base directory> once per session before using any la-* or dr-* command; if it fails, stop and show the user its output.
Prevention: follow these when writing. Cleanup: run the pass below when invoked as /la:concise-comments.
Keep a comment only if a competent reader of THIS codebase couldn't infer it from the code and names. Otherwise delete it, or cut it to the one missing fact in one line.
For: the non-obvious why (constraint, invariant, footgun, edge-case gotcha) and a one-line what on public APIs. Not for: design narrative, alternatives-considered, defending the approach, repro steps, byte-count walkthroughs, ticket history, or restating the code. Those go in the PR description, the issue, or a test.
--- paragraphs.Say it once at the definition; don't re-explain at every call site.
# strip prefix above x.split(...)).ABC-123: on every line/attribute; the value is the fact).def test_x: """Test x.""").Keep, as ≤1 line: a real cross-dialect/edge gotcha, a non-obvious invariant, a "looks wrong but isn't", an ordering/side-effect warning. When unsure a why is inferable, keep it but shorten it.
/la:concise-comments)git diff $(git merge-base <base> HEAD), kept to la-config get lang.<language>.source_globs for each of la-config get languages); or the path/file the user names. Only added/modified comments unless told to sweep.
Hard exclusion: files whose docstrings are outward-facing (MCP tool servers, CLI --help commands, OpenAPI route handlers) — leave the whole file alone unless the user requests it by name; la-config get exempt lists the repo's known ones.git diff changed no code line; measure before/after with la-count-comments --range <mergebase> <paths>.Scale to the ask: "trim a bit" = kill the essays; "3x" / "massively" = apply every limit hard.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
16 skills in this plugin
/arch-cleanupUse to carve or tighten ONE architecture boundary in a repo with the living-architecture setup — take a coherent batch of grandfathered `#legacy` arrows (or extract a new node), refactor them away with verified moves (deterministic-refactor), and shrink the legacy-arrow baseline monotonically. Behaviour-preserving by definition; one slice = one branch/PR./arch-initBuild a repo's first living-architecture model — write the language sections of architecture/index.yaml, scaffold the as-is model from the measured imports (la-arch-scaffold), choose the wedge with the user, draft the principles from the repo's own instructions, map the specs, and get la-arch-check green. Syntax and maintenance are in the la:living-architecture reference./codex-reviewUse the codex MCP server to review the current git diff. Focus on correctness, regressions, security issues, tests, and maintainability. Return only actionable findings with file/line references and severity. Do not modify files./fetch-coderabbit-threadsUse when the user asks to fetch / list / read / show unresolved CodeRabbit review threads on a GitHub PR. Pulls thread URL, file:line, author, and full comment body for every thread CodeRabbit opened that is not yet resolved, plus CodeRabbit's review-summary nitpicks./fetch-failed-pr-checksUse when the user asks to check / fetch / list / show failed CI checks (GitHub Actions, external CI) on a GitHub PR — including details/logs of the failures. Pulls the statusCheckRollup, filters to non-passing terminal states, and (for GitHub Actions runs) appends a log excerpt, or why there is none./initOnboard a repo to the la plugin — detect its tracker, test/lint/type-check commands, Codex, Sonar and any existing OpenSpec or architecture setup, propose a complete living-architecture.yaml with a source for every key, ask only what cannot be detected, write the file, then offer the type-check baseline and la:arch-init. Also the fast path other skills run when a repo has no config, and the way to edit or convert an existing config.npx claudepluginhub motleyai/living-architecture --plugin laOther plugins' skills for the same job