用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/jmagly/aiwg --skill mention-conventions命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| namespace | aiwg |
| name | mention-conventions |
| platforms | ["all"] |
| description | Display @-mention naming conventions and placement rules |
Skill access pattern (post-kernel-pivot, 2026.5+)
Skill names referenced in this document are AIWG skills, not slash commands. Most are not kernel-listed and cannot be invoked as
/skill-nameby the platform. Reach them via:aiwg discover "<capability>" aiwg show skill <name>Only kernel-listed skills (
aiwg-doctor,aiwg-refresh,aiwg-status,aiwg-help,use,steward) are directly invokable as slash commands. See skill-discovery rule.
Display AIWG @-mention naming conventions and placement rules.
/mention-conventions # Show all conventions
/mention-conventions --section naming # Show naming patterns only
/mention-conventions --section placement # Show placement rules only
@.aiwg/requirements/UC-{NNN}-{slug}.md # Use cases (UC-001-user-auth.md)
@.aiwg/requirements/NFR-{CAT}-{NNN}.md # Non-functional (NFR-SEC-001.md)
@.aiwg/requirements/user-stories.md # User story collection
Categories for NFRs:
SEC - SecurityPERF - PerformanceSCAL - ScalabilityAVAIL - AvailabilityMAINT - MaintainabilityUSAB - Usability@.aiwg/architecture/adrs/ADR-{NNN}-{slug}.md # Decision records (ADR-005-jwt-strategy.md)
@.aiwg/architecture/components/{name}.md # Component specs
@.aiwg/architecture/software-architecture-doc.md # Main SAD
@.aiwg/architecture/api-contract.md # API specifications
@.aiwg/security/threat-model.md # Main threat model
@.aiwg/security/TM-{NNN}.md # Individual threats (TM-001.md)
@.aiwg/security/controls/{control-id}.md # Security controls (authn-001.md)
@.aiwg/testing/test-plan.md # Master test plan
@.aiwg/testing/test-cases/TC-{NNN}.md # Individual test cases
@.aiwg/testing/test-results/{run-id}.md # Test run results
@$AIWG_ROOT/src/{path/to/file} # Source files
@test/{path/to/file} # Test files
@lib/{path/to/file} # Library files
@$AIWG_ROOT/docs/{path/to/file} # Documentation
Place @-mentions in file header docblock:
/**
* @file Authentication Service
* @implements @.aiwg/requirements/UC-003-user-auth.md
* @architecture @.aiwg/architecture/adrs/ADR-005-jwt-strategy.md
* @security @.aiwg/security/controls/authn-001.md
* @tests @test/integration/auth.test.ts
*/
export class AuthService {
// Implementation
}
"""
Authentication Service
@implements: @.aiwg/requirements/UC-003-user-auth.md
@architecture: @.aiwg/architecture/adrs/ADR-005-jwt-strategy.md
@security: @.aiwg/security/controls/authn-001.md
@tests: @test/integration/test_auth.py
"""
Add a References section:
## References
- @.aiwg/requirements/user-stories.md - Functional requirements basis
- @.aiwg/architecture/software-architecture-doc.md - Architecture context
- @.aiwg/security/threat-model.md - Security considerations
For specific code sections:
// Per @.aiwg/security/controls/authn-001.md - validate token expiry
if (token.exp < Date.now()) {
throw new AuthError('Token expired');
}
| Type | Format | Example |
|---|---|---|
| Use Case | UC-NNN | UC-001, UC-042 |
| NFR | NFR-CAT-NNN | NFR-SEC-001, NFR-PERF-002 |
| ADR | ADR-NNN | ADR-001, ADR-015 |
| Threat | TM-NNN | TM-001, TM-023 |
| Test Case | TC-NNN | TC-001, TC-150 |
Rules:
mention-validate before commits/mention-lint --fix to normalizemention-report for traceability auditsaiwg mention-conventions
mention-wire - Add @-mentions automaticallymention-lint - Validate style conventionsmention-validate - Check all @-mentions resolveDisplay conventions: $ARGUMENTS