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…
Syncs the .claude/ directory from an upstream template repository, showing a diff and applying new or modified files without overwriting local customizations. Use when updating SDD template files or when the user mentions template sync or upstream update.
$ npx -y skills add tranhieutt/software_development_department --skill sync-template --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/sync-templateContext preview
The summary Claude sees to decide when to auto-load this skill.
Syncs the .claude/ directory from an upstream template repository, showing a diff and applying new or modified files without overwriting local customizations. Use when updating SDD template files or when the user mentions template sync or upstream update.
name: sync-template type: workflow description: "Syncs the .claude/ directory from an upstream template repository, showing a diff and applying new or modified files without overwriting local customizations. Use when updating SDD template files or when the user mentions template sync or upstream update." argument-hint: "[upstream-repo-url]" user-invocable: true allowed-tools: Read, Bash, Glob effort: 3 when_to_use: "Use when updating the .claude/ directory from an upstream SDD template repository, or when the user mentions template sync or upstream update."
Sync the `.claude/` directory from an upstream template repository into this project.
If `$ARGUMENTS` is provided, use it as the upstream repository URL.
If `$ARGUMENTS` is empty, check `CLAUDE.md` for a line like:
**Template upstream**: <url>
If no URL is found in either place, ask the user: > "What is the upstream template repository URL to sync from? (e.g. https://github.com/owner/repo)"
Do not proceed until a URL is confirmed.
---
Run:
SYNC_TMP=$(mktemp -d /tmp/template-sync-XXXXXX) git clone --filter=blob:none --sparse "$UPSTREAM_URL" "$SYNC_TMP" 2>&1 cd "$SYNC_TMP" && git sparse-checkout set .claude
If the clone fails (no internet, repo moved, auth required, etc.) stop immediately and report the error clearly. Do not attempt fallbacks.
Compare `$SYNC_TMP/.claude/` against the project's `.claude/` directory and report:
If there are no differences, say so and skip to clean-up.
Present the diff summary and ask:
> "Apply these changes from `<upstream-url>`? Type **yes** to apply or **no** to cancel."
Do not proceed until the user explicitly confirms with "yes".
From the project root, run:
cp -r "$SYNC_TMP/.claude/." .claude/
This will:
List each file that was added or updated, grouped by type:
rm -rf "$SYNC_TMP"
Confirm: "Sync complete. Temp directory removed."
---
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,…