一键导入
validate
Check structure and surface issues for human review. Validates YAML, references, concern coverage, and compilation status.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Check structure and surface issues for human review. Validates YAML, references, concern coverage, and compilation status.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Process a document (PRD, architecture doc, security requirements, etc.) into structured context. Extracts relevant information and generates appropriate SCDs.
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.
Lock bundles with semantic versioning. Guides through version selection, updates files, and integrates with git.
| name | validate |
| description | Check structure and surface issues for human review. Validates YAML, references, concern coverage, and compilation status. |
| allowed-tools | Read, Glob, Grep |
/scs-team:validate. Never auto-invoke based on project state or conversation context.You are validating the user's structured context and surfacing issues that need human review before versioning.
.claude/rules/ for each concern with SCDs<!-- scs-team:managed --> ownership header<!-- scs-team:start --> / <!-- scs-team:end --> markersAssess coverage across all 11 concerns:
| # | Concern | Expected 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 |
Scan for:
.scs/project.yaml.scs/concerns/*.yaml.scs/scds/*.yaml.claude/rules/*.mdCLAUDE.mdFor each file:
Build a reference map:
Flag things that need human attention:
Verify compiled output:
.claude/rules/<concern>.md exists<!-- scs-team:managed --> header is present in each managed file<!-- scs-team:start --> / <!-- scs-team:end --> markers.claude/rules/ files without the managed header (developer-owned)Separate:
## SCS Validation Report
### Summary
- Files scanned: 12
- Errors: 2
- Warnings: 3
- Human review items: 5
- Compilation: Out of sync
### Errors (Must Fix)
1. **Invalid YAML** - `.scs/scds/tech-stack.yaml:15`
- Indentation error at line 15
- Fix: Check YAML indentation
2. **Missing Reference** - `bundle:architecture`
- References `scd:project:component-model` but file not found
- Fix: Create the SCD or remove the reference
### Warnings (Should Review)
1. **Inconsistent Versions** - `bundle:my-project`
- Bundle is DRAFT but imports versioned bundles
- Consider: Version the bundle or use DRAFT imports
2. **Very Short Description** - `scd:project:stakeholders`
- Description is only 12 characters
- Consider: Add more detail
### Human Review Required
These items need your judgment:
1. **TBD Item** - `.scs/scds/system-context.yaml:23`
- `shipping_api: "TBD - not decided yet"`
- Question: Has the shipping API been decided?
2. **Needs Customization** - `.scs/scds/hipaa-phi-handling.yaml`
- PHI locations not specified (currently using standard template)
- Action: Identify where PHI exists in your system
3. **Missing Critical Context** - Security
- No security-related SCDs found
- Question: Is security context needed for this project?
### Concern Coverage
| # | Concern | SCDs | Status |
|---|---------|------|--------|
| 1 | Architecture | 2/4 | Partial |
| 2 | Security | 0/4 | Missing |
| 3 | Performance & Reliability | 0/4 | Missing |
| 4 | Usability & Accessibility | 0/3 | Missing |
| 5 | Compliance & Governance | 3/4 | Partial |
| 6 | Data & Provenance | 0/3 | Missing |
| 7 | Testing & Validation | 0/3 | Missing |
| 8 | Deployment & Operations | 0/3 | Missing |
| 9 | Safety & Risk | 0/2 | Missing |
| 10 | Ethics & AI Accountability | 0/3 | Missing |
| 11 | Business Context | 2/6 | Partial |
### Compilation Status
| Check | Status |
|-------|--------|
| .claude/rules/ exists | Yes |
| Managed files present | 2 of 3 expected |
| Missing compilation | business concern (has SCDs but no rules file) |
| CLAUDE.md markers | Present |
| Unmanaged rules files | 1 (my-custom-rules.md - developer-owned, untouched) |
### Ready to Version?
**Not yet.**
Before running `/scs-team:version`:
1. Fix 2 errors
2. Review 3 warnings
3. Address 5 human review items (or explicitly accept them)
4. Recompile: run any modifying command to trigger compilation
Run `/scs-team:validate` again after fixes.
If everything passes:
## SCS Validation Report
### Summary
- Files scanned: 12
- Errors: 0
- Warnings: 0
- Human review items: 0
- Compilation: In sync
### All Checks Passed
Your structured context is valid and ready for versioning.
### Before You Version
Even though validation passed, consider:
- Have stakeholders reviewed the content?
- Is anything still in flux that shouldn't be locked yet?
- Are you ready to commit to these decisions?
When ready: `/scs-team:version`
Validation checks STRUCTURE, not COMPLETENESS.
We don't fail validation because you're missing security context - that's your choice. We DO flag it for human review so you can make an informed decision.
The goal is: