agent-health
Reads production/traces/agent-metrics.jsonl and displays a per-agent performance summary table for the current or a specified session. Highlights agents with…
Updates docs/technical/CODEMAP.md by scanning the current codebase structure. Run after a significant feature merge, refactor, or when CODEMAP feels stale.
$ npx -y skills add tranhieutt/software_development_department --skill update-codemap --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/update-codemapContext preview
The summary Claude sees to decide when to auto-load this skill.
Updates docs/technical/CODEMAP.md by scanning the current codebase structure. Run after a significant feature merge, refactor, or when CODEMAP feels stale.
name: update-codemap type: workflow description: "Updates docs/technical/CODEMAP.md by scanning the current codebase structure. Run after a significant feature merge, refactor, or when CODEMAP feels stale." argument-hint: "[optional: specific module or area to update]" user-invocable: true allowed-tools: Read, Write, Edit, Glob, Grep, Bash effort: 3 when_to_use: "Use after a significant feature merge, refactor, or directory restructure to keep CODEMAP.md accurate, or when the user says the codemap feels stale."
Update `docs/technical/CODEMAP.md` to accurately reflect the current state of the codebase.
A stale CODEMAP misleads agents more than having none. Run this skill after any significant feature merge, refactor, or directory restructure.
If `$ARGUMENTS` is provided, update only the section(s) relevant to the named module or area.
If `$ARGUMENTS` is empty, perform a full CODEMAP refresh.
Read `docs/technical/CODEMAP.md` to understand what is currently documented.
Run the following to get the current structure:
# Top-level src/ structure find src/ -type f -name "*.ts" -o -name "*.tsx" -o -name "*.js" -o -name "*.jsx" -o -name "*.py" -o -name "*.go" 2>/dev/null | sort | head -100 # API routes / handlers grep -r "router\.\|app\.\|@Get\|@Post\|@Put\|@Delete\|@Patch" src/ --include="*.ts" --include="*.js" --include="*.py" -l 2>/dev/null # Exported utilities grep -r "^export function\|^export const\|^def \|^func " src/ --include="*.ts" --include="*.js" --include="*.py" --include="*.go" -l 2>/dev/null | head -30
Also read `docs/technical/API.md` and `docs/technical/DATABASE.md` if they exist — they contain authoritative specs for the API and schema sections.
For each section in CODEMAP.md, update the table rows to reflect what actually exists:
**Rules:**
Append a row to the Revision History table:
| [today's date] | @lead-programmer (or @technical-director) | [brief summary: "added X module, removed Y, updated API section"] |
Print:
CODEMAP updated. [N] modules documented across [M] sections. Stale entries removed: [list or "none"] New entries added: [list or "none"]
---
CODEMAP should be re-run when:
> **Tip**: After running `/orchestrate` on a large feature, run `/update-codemap` as the final step before closing the feature branch.
Repo: tranhieutt/software_development_department
Reads production/traces/agent-metrics.jsonl and displays a per-agent performance summary table for the current or a specified session. Highlights agents with…
Provides the vendored agent-style v0.3.5 prose rule pack as a portable Claude skill. Use when installing, syncing, applying, or auditing SDD Agent-Style…
Provides Angular best practices for components, modules, services, and reactive patterns. Use when working with Angular TypeScript files, component templates,…
Records unexpected API behaviors, undocumented caveats, version bugs, or non-obvious workarounds into .claude/memory/annotations.md. Use immediately when an…
Defines REST and GraphQL API contracts including endpoints, request/response schemas, auth flows, and versioning strategy. Use when designing a new API,…
Manages the ADR (Architecture Decision Record) registry. Use when recording tech-stack choices, design patterns, or infrastructure decisions with context,…