team-design — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited team-design (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Run the DESIGN phase. This is the pipeline's only human gate — get alignment here before investing in detailed planning.
$ARGUMENTS is the artifact directory: docs/plans/<id>/. If empty, the discovery block below resolves it.
The design-author reads:
$ARGUMENTS/task.md — what we're building (intent)$ARGUMENTS/questions.md — the questions that drove research$ARGUMENTS/research.md — what exists (facts)Resolve the artifact directory by running this self-contained block (one bash call — agent threads reset cwd between calls):
# Three-tier artifact-directory discovery (archetype A).
# ID_RE + PHASE_FILES canonical from hooks/session-start-recover.mjs.
# PHASE_FILES recency mirrors findActiveTopic() in session-start-recover.mjs.
# NOTE: this block is duplicated across 8 skills by design (see docs/architecture.md); future: shared discover-topic.sh.
ID_RE='^([A-Za-z][A-Za-z0-9_]*-[0-9]+|[0-9]{4}-[0-9]{2}-[0-9]{2})-[a-z0-9][a-z0-9-]*$'
PHASE_FILES="task questions research design structure plan"
PRED="research.md" # predecessor artifact this skill consumes
# Tier 1 — explicit: $ARGUMENTS names an existing dir → use verbatim.
if [ -n "$ARGUMENTS" ] && [ -d "$ARGUMENTS" ]; then
echo "$ARGUMENTS"; exit 0
fi
# Tier 2 — discover: newest ID_RE dir under docs/plans/ that holds PRED.
best=""; best_mtime=-1
# Assumes cwd is the repo/worktree root (where docs/plans/ lives).
for dir in docs/plans/*/; do
name="$(basename "$dir")"
printf '%s' "$name" | grep -qE "$ID_RE" || continue # ID_RE filter
[ -f "$dir$PRED" ] || continue # predecessor filter
m=-1
for p in $PHASE_FILES; do
f="$dir$p.md"
[ -f "$f" ] || continue # skip racing/absent
s="$(stat -f %m "$f" 2>/dev/null || stat -c %Y "$f" 2>/dev/null)" || continue
[ "${s:-0}" -gt "$m" ] && m="$s" # max-mtime over PHASE_FILES
done
[ "$m" -gt "$best_mtime" ] && { best_mtime="$m"; best="$dir"; }
done
[ -n "$best" ] && { echo "$best"; exit 0; }
# Tier 3 — none found: print nothing → fall to AskUserQuestion (prose below).$ARGUMENTS for the rest of thisskill (tier 1 explicit arg, or tier 2 discovery). When the path came from tier 2 (no explicit arg), announce the resolved directory to the user before proceeding, so an auto-picked topic is never silent.
research.md),do not hard-error. Fire AskUserQuestion with a Setup header and labeled options:
/team-research docs/plans/<id>/ to produce themissing research.md.
docs/plans/<id>/ directorydirectly (run ls docs/plans/ to find your topic directory).
Follow skills/progress-tracking/SKILL.md: when this procedure has two or more steps, seed one todo item per step before starting and mark each complete as you go.## Input.design-author, which:a. Presents 3–5 open design questions to the user via the built-in AskUserQuestion tool (multi-choice with labeled trade-offs) b. Waits for the user's structured answers c. Writes $ARGUMENTS/design.md with frontmatter approved: false, approved_at: null, revision: 0
AskUserQuestion to capture the verdict. Use a single question with a Decision header and these options:
design-author with the user's feedback verbatim.
$ARGUMENTS/design.md frontmatter to setapproved: true and approved_at: <ISO-8601>.
design-author with the user'sfeedback verbatim. The agent re-drafts and increments revision: <n+1>. Cap at revision: 5; beyond that, escalate to the user.
Report design path and tell the user: "Next: run `/team-structure docs/plans/<id>/`"
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.