claude-code-infrastructure-showcase: Command for Claude Code

.claude/commands/dev-docs-update.md

dev-docs-update is a command for Claude Code from diet103/claude-code-infrastructure-showcase. It costs 7 tokens per session (383 once invoked), scanned A, original, MIT.

A command for recording development work before the conversation loses context. It updates active task notes, checklists, memory, and unfinished-work records.

In plain words
What is it for?
Use it to update files in /dev/active, mark completed tasks, record implementation details, and document blockers or the next immediate steps.
Why use it?
It preserves decisions, changed files, bugs, and next steps so work can continue after a context reset.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

This is diet103/claude-code-infrastructure-showcase's own configuration. It tells Claude Code how to work on claude-code-infrastructure-showcase itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-code-infrastructure-showcase configures →

About the project

Claude Code Infrastructure Showcase is a reference library of configuration patterns for Claude Code, including skills, hooks, agents, and commands that shape how the coding agent works. It helps developers organize and automate Claude Code in their own projects, especially larger TypeScript codebases. The catalogue entries are examples of infrastructure that users can copy into their projects.

diet103/claude-code-infrastructure-showcase · 10,035 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to diet103/claude-code-infrastructure-showcase. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/diet103/claude-code-infrastructure-showcase/main/.claude/commands/dev-docs-update.md
Clone the repo
git clone --depth 1 https://github.com/diet103/claude-code-infrastructure-showcase

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dev-docs-update

README.md
[![agentmods](https://agentmods.dev/badge/commands/diet103/claude-code-infrastructure-showcase/dev-docs-update/github.svg)](https://agentmods.dev/commands/diet103/claude-code-infrastructure-showcase/dev-docs-update)
Your own site
<a href="https://agentmods.dev/commands/diet103/claude-code-infrastructure-showcase/dev-docs-update"><img src="https://agentmods.dev/badge/commands/diet103/claude-code-infrastructure-showcase/dev-docs-update/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for dev-docs-update

Your own site · 80×15
<a href="https://agentmods.dev/commands/diet103/claude-code-infrastructure-showcase/dev-docs-update"><img src="https://agentmods.dev/badge/commands/diet103/claude-code-infrastructure-showcase/dev-docs-update.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 383 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00007 $0.00383
Opus 5.5 $0.00003 $0.00153
Sonnet 5.5 $0.00001 $0.00077
Haiku 4.5 $0.00001 $0.00038

Measured 1mo ago against content hash e4efd679199a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dev-docs-update scanned grade A with 0 findings 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 1mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

4 near-identical copies found in the catalogue:

.claude/commands/dev-docs-update.md · 55 lines

What it actually says

We're approaching context limits. Please update the development documentation to ensure seamless continuation after context reset.

Required Updates

1. Update Active Task Documentation

For each task in /dev/active/:

  • Update [task-name]-context.md with:

    • Current implementation state
    • Key decisions made this session
    • Files modified and why
    • Any blockers or issues discovered
    • Next immediate steps
    • Last Updated timestamp
  • Update [task-name]-tasks.md with:

    • Mark completed tasks as ✅
    • Add any new tasks discovered
    • Update in-progress tasks with current status
    • Reorder priorities if needed

2. Capture Session Context

Include any relevant information about:

  • Complex problems solved
  • Architectural decisions made
  • Tricky bugs found and fixed
  • Integration points discovered
  • Testing approaches used
  • Performance optimizations made

3. Update Memory (if applicable)

  • Store any new patterns or solutions in project memory/documentation
  • Update entity relationships discovered
  • Add observations about system behavior

4. Document Unfinished Work

  • What was being worked on when context limit approached
  • Exact state of any partially completed features
  • Commands that need to be run on restart
  • Any temporary workarounds that need permanent fixes

5. Create Handoff Notes

If switching to a new conversation:

  • Exact file and line being edited
  • The goal of current changes
  • Any uncommitted changes that need attention
  • Test commands to verify work

Additional Context: $ARGUMENTS

Priority: Focus on capturing information that would be hard to rediscover or reconstruct from code alone.

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. 1mo ago First seen · 55 lines · 7 tokens per session scan A e4efd679199a

Subscribe to this mod's changes

dev-docs-update is a command published in the GitHub repository diet103/claude-code-infrastructure-showcase (10,035 stars, last pushed 3mo ago), licensed MIT. It adds 7 tokens to every session and 383 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.