/praxis:security-reasoningfrom praxis
Enforces mandatory STRIDE threat analysis before writing or approving security-sensitive code involving auth, crypto, input handling, payments, PII, secrets, APIs, or trust boundaries.
Ships in praxis. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
EXTREMELY_IMPORTANT: This is a MANDATORY protocol, not a suggestion. Follow every step. Do not skip steps. Do not combine steps. Do not summarize. Work through each gate in order.
This task involves a trust boundary. You MUST complete threat analysis before writing or approving security-sensitive code.
List every point where data crosses a trust boundary:
For each boundary, name what's on each side and what data crosses.
For each trust boundary, answer ALL six questions. Do not skip any. Mark each as MITIGATED, NEEDS-MITIGATION, or NOT-APPLICABLE.
S — Spoofing: Can an attacker pretend to be someone else at this boundary? How is identity verified? What happens if verification is bypassed?
T — Tampering: Can data be modified in transit or at rest? Is integrity checked? What happens if data is silently corrupted?
R — Repudiation: Can a user deny they performed an action? Are significant actions audit-logged with tamper-proof timestamps?
I — Information Disclosure: Can sensitive data leak? Is data encrypted in transit (TLS) and at rest? Are error messages sanitized? Do logs accidentally include tokens, passwords, or PII?
D — Denial of Service: Can this boundary be overwhelmed? Is there rate limiting? Resource quotas? Timeout enforcement?
E — Elevation of Privilege: Can a user gain unauthorized access? Is authorization checked at every operation, not just at the entry point? Are permissions enforced server-side, not just client-side?
Produce a table:
| Boundary | Threat | Severity | Mitigation | Status |
|---|---|---|---|---|
| [boundary] | [S/T/R/I/D/E] | [Critical/High/Med/Low] | [what prevents it] | [done/needed] |
From the table, identify the highest-severity unmitigated threats — at least the top 3, plus every threat rated Critical even if that exceeds 3. Capping at a count is how critical threats get left off the list. For each, state the specific mitigation required before this code ships.
Do NOT approve, merge, or present security-sensitive code as complete until: - All trust boundaries are identified - STRIDE is answered for each boundary (no blanks) - Top 3 risks have specific mitigationsRed flags that this skill catches:
After STRIDE analysis is complete and mitigations are identified:
If Superpowers is installed → pass the threat model and required mitigations to whichever Superpowers skill is active (brainstorming, writing-plans, or code-review). The mitigations MUST appear in the plan and be verified during code review. Do NOT implement security mitigations inside this skill — hand the requirements to Superpowers for execution.
If Superpowers is NOT installed → proceed to implementation with the mitigations as requirements in your own plan.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
threat-modeling, stride, security-review, trust-boundary, secure-code
npx claudepluginhub xd4o/praxis --plugin praxis19 skills in this plugin
/architecture-reasoningMANDATORY architecture analysis. You MUST invoke this skill before making module boundary decisions, build-vs-buy choices, technology selections, data model designs, API contracts, or any structural decision that is expensive to reverse. Do NOT propose architecture without running reversibility classification, boundary analysis, and bottleneck identification. Invoke BEFORE writing implementation plans for non-trivial systems.
/codebase-comprehensionMANDATORY comprehension protocol. You MUST invoke this skill before changing code you did not write or do not already understand — modifying, fixing, extending, or refactoring an existing file, function, or module whose behavior you have not traced. Do NOT edit from pattern-matching. Do NOT claim "nothing else is affected" without checking. Invoke BEFORE proposing the edit. Does NOT apply to greenfield code you are writing from scratch, or to diagnosing a runtime failure (use diagnostic-reasoning).
/code-quality-analysisMANDATORY code review protocol. You MUST invoke this skill when writing significant code (not one-liners), reviewing PRs or diffs, refactoring modules, or when code quality is requested. Runs 15 structural checks across readability, structure, safety, purity, and design. Complements TDD — tests verify behavior, this verifies design quality. Do NOT ship code with 3+ safety failures without remediation.
Other plugins' skills for the same job