Skip to content
Back to skills

Sdd Persona

ASecurity

Set or clear the active GUIDE SDD persona marker (sdd/.persona) that the edit-guard hook reads - engineer blocks edits to test files; qa or clear allows them. Orchestrators set engineer at Stage 6 entry and clear it at exit.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 19, 2026
ai-agentsbashgit

Security analysis

A100/100

Scanned September 24, 2026

npx -y skills add mdtealvl/guide-sdd --skill sdd-persona --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sdd Persona?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sdd Persona
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mdtealvl-sdd-persona/badge)](https://www.skillsdirectory.com/skills/mdtealvl-sdd-persona)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sdd-persona
description: Set or clear the active GUIDE SDD persona marker (sdd/.persona) that the edit-guard hook reads - engineer blocks edits to test files; qa or clear allows them. Orchestrators set engineer at Stage 6 entry and clear it at exit.
argument-hint: "engineer | qa | clear | show"
allowed-tools: Bash, Read, Write
---

# /sdd-persona — who holds the pen?

Argument: $ARGUMENTS.

- `engineer` → write `engineer` to `sdd/.persona`. From now on the plugin hook denies Edit/Write to any path matching `gates.config.json` `testGlobs` or `structureGlobs` (the PM-approved structure diagram), to the gate bank and to the markers, and sweeps the working tree after every tool and at turn end for test/structure/gate drift vs `gates/.frozen` (invariant 3: the Engineer never edits QA's tests; a structure deviation is `[NEEDS-PO:structure]`, a PM decision). Set this when dispatching the Stage-6 Engineer.
- `qa` → write `qa`. Edits to tests allowed; Read/Grep/Glob under `paths.code` are denied (QA is blind to the implementation; expected values come from the spec). Set this when dispatching the Stage-5 QA.
- `clear` → delete `sdd/.persona`. (The hook also deletes it at SessionEnd, and stamps it `session=<id>` on first sight so a marker left by another session is ignored rather than obeyed.)
- `show` → print the marker and whether `SDD_PERSONA` is set in the environment (the env var wins over the file).

Keep `sdd/.persona` out of version control (add it to `.gitignore` once); `sdd/.persona-state/` (the hook's per-session/per-agent snapshots, PG.5/PG.8) is per-box state too and belongs in the same `.gitignore` entry — `install.sh`/`install.ps1` add both lines automatically. On Tier-B hosts, export `SDD_PERSONA=engineer` in the Engineer's session instead.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.