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…
Strictly enforce context engineering principles to avoid context stuffing, optimize memory architecture, and manage the Research-Plan-Reset-Implement cycle.
$ npx -y skills add tranhieutt/software_development_department --skill context-engineering --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/context-engineeringContext preview
The summary Claude sees to decide when to auto-load this skill.
Strictly enforce context engineering principles to avoid context stuffing, optimize memory architecture, and manage the Research-Plan-Reset-Implement cycle.
name: context-engineering type: workflow description: Strictly enforce context engineering principles to avoid context stuffing, optimize memory architecture, and manage the Research-Plan-Reset-Implement cycle. user-invocable: true allowed-tools: Read, Glob, Grep, Write context: fork agent: technical-director effort: 4 argument-hint: "[context source or workflow scope]" when_to_use: "When prompts, logs, specs, or multi-step work exceed a clean working set and the agent needs to compress, externalize, or reset context before continuing"
Context engineering bridges the gap between static training data and dynamic reality. **Context Stuffing** (jamming volume without intent) degrades reasoning, increases noise, and leads to hallucinations. **Context Engineering** treats AI attention as a scarce resource and allocates it deliberately through structure, bounded contexts, and intelligent memory retrieval (RAG / MCP Supermemory). Without this skill, the AI suffers from "Context Hoarding Disorder," leading to goal drift, high latency, and poor execution quality.
Activate this skill immediately upon detecting the following signs:
*ULTIMATUM*: You are an Agent. You DO NOT have the right to ignore, truncate, or alter the order of these steps, even if you think "the model has a 1 million token context limit anyway."
1. **[Step 1 - Intent & Boundary Falsification]**: Identify exactly what decision the provided context supports. Apply the falsification test: "If I exclude [context element X], what specific failure will occur in [decision Y]?" If there is no concrete failure, the context must be rejected or removed from the active window. 2. **[Step 2 - Persist vs. Retrieve Classification]**: Separate the information. Core constraints and glossary definitions remain in active context. Episodic, project-specific, or historical data must be offloaded and retrieved only when queried. Use `mcp_supermemory_recall` for historical lookups instead of keeping them in the prompt. 3. **[Step 3 - The R-P-R-I Cycle Execution]**:
4. **[Step 4 - Storage & Consolidation]**: Upon finishing a milestone, write the generalized knowledge or operational principles into `mcp_supermemory_memory`.
These are lazy thoughts that Agents (like you) commonly fall prey to. If an idea in your head matches the Left Column, you MUST immediately obey the Right Column:
| Agent's Lazy Rationalization | Refutation & Mandatory Action | | :--- | :--- | | "I have a massive context window; I can just read all 50 files the user provided without complaining." | Volume != Quality. Context is an attention economy. You MUST explicitly tell the user that "Context Stuffing" dilutes attention. Limit the working context to only the files strictly needed for the immediate decision. | | "I'll just try again and rewrite the code if it hallucinates." | Retries mask bad information architecture. Do not normalize retries. Stop and fix the context structure, break down the problem, or refine the retrieved memory BEFORE writing another line of code. | | "I'll keep all the research logs and failed attempts in the chat history so I remember what I tried." | "Context Rot" kills reasoning. Once a plan is synthesized, the previous dead ends become pure noise. You MUST instruct the user to flush the context or start fresh with a clean `SPEC.md`. |
You are NOT allowed to end your turn and respond "Context established" or proceed to implementation until the following checks pass:
Immediately STOP and request User intervention if:
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,…