develop

A complete workflow for building a significant feature in the PromptPit project, from understanding the code and planning through implementation and review. It can skip questions when the request already provides enough detail.

In plain words
What is it for?
Use it when starting a substantial PromptPit feature that needs design, coding, review, and simplification in one session.
Why use it?
It gives larger changes a consistent path and checks the original problem, existing solutions, tests, and code quality along the way.

Command for Claude Code

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 commands/nirelbaz/promptpit/develop
Clone the repo
git clone --depth 1 https://github.com/nirelbaz/promptpit

Made for: Claude Code.

Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,589 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 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.00000 $0.01589
Opus 5 $0.00000 $0.00794
Sonnet 5 $0.00000 $0.00318
Haiku 4.5 $0.00000 $0.00159

Measured yesterday against content hash 7c49c313da98, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

develop scanned grade A 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 yesterday.

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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

- Shell injection: `execSync` or `exec` with string interpolation — should use `execFile`/`execFileSync` with args array
.claude/commands/develop.md · 169 lines

How it starts

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

Full development workflow for PromptPit features. Runs design, planning, implementation, review, and simplification in one session. Use this when starting a new feature or significant change.

Phase 1: Design

  1. Explore context. Read CLAUDE.md, git log --oneline -10, and the area of code the feature touches. Understand what exists before proposing anything.

  2. Smart-skip assessment. Read the user's description. If it already specifies what to build, where it goes, how it works, and edge cases — skip clarifying questions and go straight to step 4. Most features from an experienced author will skip.

  3. Clarifying questions (only if smart-skip didn't trigger). Ask 1-3 questions, one at a time, multiple choice preferred. Focus on approach decisions with real trade-offs, ambiguous requirements, and security model choices. Don't ask questions the code can answer.

  4. Premise challenge (always run, even if skipping questions):

    • Is this the right problem? Could a different framing yield a simpler solution?
    • What existing code already partially solves this? Search src/ for related patterns.
    • What happens if we do nothing?

    Take a position on each. If a premise is shaky, say so directly.

  5. Propose 2-3 approaches with trade-offs. Lead with your recommendation and explain why. YAGNI: remove unnecessary features from all options.

  6. Write spec to docs/specs/YYYY-MM-DD-<topic>-design.md. Keep it concise (100-200 lines is right for most features). Commit it.

  7. Self-review the spec inline: placeholder scan, internal consistency, ambiguity check. Fix issues, don't re-review. Then ask the user to review — one approval gate.

Phase 2: Plan

Proceed directly after design approval. No separate skill invocation.

  1. Scope check. What is the minimum set of changes that achieves the goal? If touching >8 files or introducing >2 new modules, challenge the scope before proceeding.

  2. Write implementation plan to docs/plans/YYYY-MM-DD-<topic>.md with this format:

Read the full file on GitHub · 169 lines

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. yesterday First seen · 169 lines · 0 tokens per session scan A 7c49c313da98

Subscribe to this mod's changes

develop is a command published in the GitHub repository nirelbaz/promptpit (6 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,589 tokens. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.