Design
RedTeam has no visual product UI. Design context governs command output, review artifacts, handbook and developer docs, and terminology so every harness presents the same applied-critical-thinking experience.
Design Principles
Section titled “Design Principles”- Method visible in the output — every command names the technique it applies and shows the reasoning, so results read as red teaming, not generic critique
- Loyal opposition — challenge thinking to improve decisions, not to win arguments
- Evidence before confidence — output separates observation from interpretation, states assumptions and uncertainty, and never invents support
- Civilian framing — decision, product, and strategy language; not military doctrine or cybersecurity
- Structured output — commands produce scannable sections (assumptions, risks, verdict, follow-ups)
- Teach, don’t just answer — plain language that helps users learn the method, not only receive its result
- Case before explanation — handbook chapters begin with an HBS-style decision case so readers encounter uncertainty, stakes, and competing perspectives before abstract instruction
- Progressive repertoire — each chapter adds concepts and TTPs in context; the final chapter culminates in the complete “spell book” readers can combine and adapt
- Two ways in — invite readers to follow the cases from the beginning or jump directly to a concept or TTP without treating either path as secondary
- Skills over scanners — guide model behavior through reference flows, not deterministic rule engines
- Attribution without reproduction — summarize handbook techniques; link to v10 docs and
strategy/source-lineage.md
These principles carry the PRODUCT.md quality stance into command output and docs.
Design tool context
Section titled “Design tool context”Agents and contributors should load PRODUCT.md and this file before changing skill reference flows, handbook pages, or developer docs. Visual critique does not apply; focus on voice, structure, and command ergonomics. For UI work on the Starlight docs site, follow existing Starlight patterns in src/content/docs/.
Brand And Voice
Section titled “Brand And Voice”- Tone: Direct, skeptical-in-service-of-clarity, plain language; confident but not doctrinal
- Terminology: “Applied critical thinking” and “red teaming” (civilian sense); “commands” and “techniques”; avoid “penetration testing”, “exploits”, and military operational framing unless quoting lineage
- Writing rules: Handbook prose should invite curiosity, place the reader inside a decision, and delay tidy resolution long enough for independent judgment. Command output should use tables and headings for scanability, lead with the decision or plan under review, and end with an explicit verdict and follow-ups.
Visual And Content Style
Section titled “Visual And Content Style”- Visual system: None for skill output (text-first); docs site uses Starlight defaults
- Markdown structure: Headings (
#–###), tables, and code fences for commands in handbook and developer docs - Spacing & layout: One idea per section; numbered steps in flows; avoid wall-of-text reviews
- Iconography & imagery: Handbook may use diagrams; skill output is text-first
- Content structure: Command references follow per-command templates in
skill/reference/; handbook chapters insrc/content/docs/handbook/follow case → decision point → concepts and TTPs in use → reflection → bridge to the next chapter; the final chapter then exposes the complete spell book as a browsable reference. Developer docs follow the docslime lifecycle indocs/.
Interaction Patterns
Section titled “Interaction Patterns”- Navigation: Users invoke
/redteam <command> [target](29 commands); optional pins via/redteam pin <command> - Controls: Chat commands only; CLI is for install (
npx --yes github:CurateLabs/RedTeam install); Claude Code also installs via/plugin marketplace add CurateLabs/RedTeam - States: Missing CONTEXT.md is valid for chat-only; missing skill install is an install error, not a silent fallback
- Motion: None
Components And Patterns
Section titled “Components And Patterns”| Component / pattern | Use it for | Notes / source |
|---|---|---|
/redteam <command> router |
All user-facing flows | skill/SKILL.md |
| Per-command reference flow | Structured technique output | skill/reference/<command>.md |
| TTP catalog | Browse handbook techniques | skill/reference/ttp-catalog.md |
| Chapter case study | Teach chapter concepts and TTPs through an unresolved, consequential decision | src/content/docs/handbook/chapters/ |
| Final spell book | Browse and combine the complete repertoire after the cumulative chapter journey | src/content/docs/handbook/chapters/tools-techniques-practices.md |
| Extensions catalog | Browse v10-native extensions | skill/reference/extensions-catalog.md |
| CONTEXT.md | Project-anchored background | .redteam/CONTEXT.template.md |
| Review artifact | Persisted command output | .redteam/reviews/<slug>-<command>.md |
| Session notes | Facilitation session records | .redteam/sessions/<date>-<slug>.md |
| Decision record template | record command output |
skill/reference/decision-record-template.md |
| Pin shortcut | $<command> direct invocation |
skill/scripts/pin.mjs |
| Starlight developer sync | Published developer docs | scripts/prepare-docs-site.mjs |
Accessibility
Section titled “Accessibility”- Docs site inherits Starlight accessibility (semantic HTML, keyboard nav, contrast)
- Skill output should use headings and lists so screen-reader users can skim reviews
- Do not rely on color alone in any generated tables or diagrams
References
Section titled “References”- Handbook v10 — published concepts and techniques
- User Guide — install and command usage
strategy/source-lineage.md— attribution and citationskill/SKILL.md— skill router implementation