plugin-dev-workflow

A development guide for maintaining this repository's plugin files, release documentation, and contributor tools. It separates shipped plugin code from tools used only by contributors.

In plain words
What is it for?
Use it when changing plugin skills, agents, hooks, settings, metadata, documentation, or contributor tooling on macOS, Linux, or WSL.
Why use it?
It clarifies which files are part of the released plugin and which checks to run after editing them.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/slbug/claude-ruby-grape-rails/plugin-dev-workflow
Any agent
npx skills add slbug/claude-ruby-grape-rails --skill plugin-dev-workflow
Clone the repo
git clone --depth 1 https://github.com/slbug/claude-ruby-grape-rails

Made for: Claude Code, Codex.

Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,056 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00040 $0.01056
Opus 5 $0.00020 $0.00528
Sonnet 5 $0.00008 $0.00211
Haiku 4.5 $0.00004 $0.00106

Measured 2d ago against content hash 22ad2a76df71, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

plugin-dev-workflow scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- `rm -rf` only for validated `mktemp -d` outputs; prefer `rmdir` for expected-empty lock dirs
.claude/skills/plugin-dev-workflow/SKILL.md · 114 lines

How it starts

The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Plugin Development Workflow

Audience: Agents, Not Humans

Imperative-only. Tables for command/option lists.

Verification ordering

Run deterministic gates before drawing conclusions from session analytics. See .claude/rules/development.md § "Deterministic-First Ordering".

Surface Boundary

Two surfaces, kept separate in implementation + validation:

Surface Path
shipped plugin plugins/ruby-grape-rails/
contributor-only tooling .claude/

Supported environments: macOS, Linux, WSL. Native Windows: NOT supported.

Session analytics under .claude/skills/session-* and .claude/skills/skill-monitor/: exploratory only, NOT release-grade.

Scope Check

Before editing, identify the surface:

Layer Files
shipped plugin skills, agents, hooks, bin/, plugin settings.json, plugin metadata, README, user-facing docs
contributor tooling .claude/skills/, .claude/agents/, local planning/audit notes

Do NOT treat contributor-only changes as shipped plugin features.

Validation Matrix

Run checks matching the files touched:

Files touched Run
Markdown docs / skills / agents npx markdownlint <touched-files>
Shell hooks bash -n plugins/ruby-grape-rails/hooks/scripts/FILE_NAME.sh, shellcheck -x plugins/ruby-grape-rails/hooks/scripts/FILE_NAME.sh
bin/ executables bash -n plugins/ruby-grape-rails/bin/BIN_NAME, shellcheck plugins/ruby-grape-rails/bin/BIN_NAME, mock-test via crafted stdin when the executable reads hook-style JSON
Ruby scripts ruby -c FILE_PATH
Shipped plugin shape claude plugin validate --strict plugins/ruby-grape-rails
Marketplace manifest claude plugin validate --strict . (not covered by the plugin-directory run)
Contributor components under .claude/ claude plugin validate --strict .claude (bare component directory; reports SKILL.md frontmatter that fails to parse)
Contributor eval tooling make eval, make eval-all, make eval-ci-deterministic, make eval-output, make security-injection, make eval-tests, make eval-overlap, make eval-hard-corpus

Read the full file on GitHub · 114 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 114 lines · 40 tokens per session scan C 22ad2a76df71

Subscribe to this mod's changes

plugin-dev-workflow is a skill published in the GitHub repository slbug/claude-ruby-grape-rails (7 stars, last pushed 2d ago), licensed MIT. It adds 40 tokens to every session and 1,056 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.