一键导入
add
Process a document (PRD, architecture doc, security requirements, etc.) into structured context. Extracts relevant information and generates appropriate SCDs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Process a document (PRD, architecture doc, security requirements, etc.) into structured context. Extracts relevant information and generates appropriate SCDs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Conversational drafting for a specific concern area when documentation doesn't exist. Ask targeted questions and generate draft SCDs.
Initialize structured context for this project. Scaffolds .scs/ with all 11 concern bundles, scans the project, and recommends where to start.
Show what structured context exists and what's missing. Overview of bundles, SCDs, coverage across all 11 concerns, and compilation sync status.
Add known compliance or regulatory standards (HIPAA, SOC2, PCI, CHAI, GDPR) to your project context. Copies pre-built standards SCDs from the plugin's standards library.
Check structure and surface issues for human review. Validates YAML, references, concern coverage, and compilation status.
Lock bundles with semantic versioning. Guides through version selection, updates files, and integrates with git.
| name | add |
| description | Process a document (PRD, architecture doc, security requirements, etc.) into structured context. Extracts relevant information and generates appropriate SCDs. |
| argument-hint | <file-path> |
| allowed-tools | Read, Glob, Grep, Write, Bash(mkdir -p *) |
/scs-team:add. Never auto-invoke based on project state or conversation context.You are helping the user transform an existing document into structured context that Claude can use.
First, read the document the user provided:
Based on the document type, look for:
PRD / MRD (Product/Market Requirements):
Architecture Documents:
Security Requirements:
Compliance Documents:
Performance / SLA Documents:
UX / Design Documents:
Operational / Runbooks:
Risk / Safety Documents:
AI / Ethics Documents:
Map extracted information to the 11 concern areas:
| # | Concern | SCDs |
|---|---|---|
| 1 | Architecture | system-context, tech-stack, integration-map, component-model |
| 2 | Security | authn-authz, data-protection, data-handling, threat-model |
| 3 | Performance & Reliability | response-time, availability, fault-tolerance, scalability |
| 4 | Usability & Accessibility | ux-principles, accessibility-compliance, error-handling-ux |
| 5 | Compliance & Governance | hipaa-compliance, soc2-controls, audit-requirements, policy-enforcement |
| 6 | Data & Provenance | data-model, provenance-tracking, retention-policy |
| 7 | Testing & Validation | test-coverage, validation-plan, qa-procedures |
| 8 | Deployment & Operations | infrastructure-definition, observability, incident-response |
| 9 | Safety & Risk | risk-assessment, safety-checklist |
| 10 | Ethics & AI Accountability | ai-usage-policy, audit-trail, model-bias |
| 11 | Business Context | problem-definition, stakeholders, business-objectives, opportunity-analysis, constraints-and-assumptions, success-criteria |
Create Structured Context Documents (SCDs) in YAML format.
SCD Structure:
id: scd:project:<name>
version: "DRAFT"
title: "<Title>"
description: "<Brief description>"
tier: project
content:
# Structured content extracted from document
provenance:
created_by: "<User or document source>"
created_at: "<ISO timestamp>"
source_document: "<Original document path>"
rationale: "Extracted from <document type>"
.scs/scds/ directory if it doesn't existproblem-definition.yaml, system-context.yaml, etc..scs/concerns/ to include the new SCD in its scds: array
After creating/modifying SCDs, compile the .scs/ source to .claude/rules/ output:
.scs/scds/ and all concern bundles in .scs/concerns/.claude/rules/<concern-name>.md
d. Add header: <!-- scs-team:managed --> and footer with source SCD attribution<!-- scs-team:start --> / <!-- scs-team:end --> markers
b. If markers exist, replace content between them
c. If no markers, append the section at the end
d. If no CLAUDE.md, create one with the markers
e. Content: project overview, architecture summary, quick reference table, links to rules filesapplies_to.paths that reference sensitive data (PHI, PCI):
a. Add YAML frontmatter with paths: to the compiled .claude/rules/ file<!-- scs-team:managed --> header - leave other .claude/rules/ files untouchedTell the user:
.claude/rules/ files were compiledBe specific, not generic:
Preserve intent:
Structure for Claude:
User: /scs-team:add ./docs/PRD.md
You: "Let me analyze this document..."
[Read the PRD]
You: "This is a Product Requirements Document for a patient scheduling system. I found:
Extractable Information:
Generating SCDs:
problem-definition.yaml - Core problem and affected usersstakeholders.yaml - User roles and their needssuccess-criteria.yaml - KPIs and targetsconstraints-and-assumptions.yaml - Boundaries and limitsUpdated Bundles:
concerns/business.yaml - Added 4 SCDsCompiled to Claude Code:
.claude/rules/business.md - Business context rulesCLAUDE.md scs-team sectionNeeds Human Review:
Run /scs-team:status to see the full picture."
File not found: Ask for the correct path
Not a document: Explain what file types are supported
Empty/minimal content: Note that little was extractable, suggest /scs-team:draft instead