ln-001-standards-researcher by levnikolaevich/claude-code-skills
npx skills add https://github.com/levnikolaevich/claude-code-skills --skill ln-001-standards-researcherPaths: File paths (
shared/,references/,../ln-*) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root.
此技能利用 MCP Ref 研究行业标准和架构模式,为故事技术说明生成标准研究。
研究给定史诗/故事领域的行业标准、RFC 和架构模式。生成一个“标准研究”部分(表格 + 链接,无代码),以便插入到故事技术说明中。
此技能应在以下情况下使用:
该技能遵循一个专注于标准和架构模式的 7 阶段工作流程。
Stack Detection → Identify → Ref Research → Existing Guides → Generate Research → Save to File → Return
目标:在研究之前确定项目技术栈,以过滤查询。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
检测:
| 指示器 | 技术栈 | 查询前缀 |
|---|---|---|
*.csproj, *.sln | .NET | "C# ASP.NET Core" |
package.json + tsconfig.json | Node.js | "TypeScript Node.js" |
requirements.txt, pyproject.toml | Python | "Python" |
go.mod | Go | "Go Golang" |
Cargo.toml | Rust | "Rust" |
build.gradle, pom.xml | Java | "Java" |
流程:
context_store.TECH_STACK,则直接使用detected_stack.query_prefix输出:detected_stack = {language, framework, query_prefix}
跳过条件:如果未检测到技术栈 → 继续执行,不使用前缀(通用查询)
目标:解析史诗/故事以获取库和技术关键词。
流程:
输出:库列表(最多 3-5 个库)+ 故事领域
跳过条件:
目标:获取行业标准和架构模式。
流程:
mcp__Ref__ref_search_documentation(query="[detected_stack.query_prefix] [story_domain] RFC standard specification")"C# ASP.NET Core rate limiting RFC standard specification"mcp__Ref__ref_search_documentation(query="[detected_stack.query_prefix] [story_domain] architectural patterns best practices")"TypeScript Node.js authentication architectural patterns best practices"输出: 标准合规性表格 + 架构模式列表
目标:获取行业标准和最佳实践。
流程:
mcp__Ref__ref_search_documentation(query="[detected_stack.query_prefix] [library] [domain] best practices {current_year}")mcp__Ref__ref_search_documentation(query="[detected_stack.query_prefix] [domain] industry standards RFC")"C# ASP.NET Core Polly rate limiting best practices {current_year}"输出:标准合规性表格(RFC/标准名称,如何遵守)+ 最佳实践列表
目标:在 docs/guides/ 目录中查找相关的模式指南。
流程:
Glob 查找 docs/guides/*.md输出:现有指南列表(相对于项目根目录的路径)
目标:将研究结果编译成故事技术说明子章节的“标准研究”。
无代码规则: 无代码片段。仅使用表格 + 官方文档链接。
格式优先级:
┌─────────────────────────────────────┐
│ 1. TABLES + ASCII diagrams ← Priority │
│ 2. Lists (enumerations only) │
│ 3. Text (last resort) │
└─────────────────────────────────────┘
输出格式(表格优先):
## Standards Research
**Standards compliance:**
| Standard | Requirement | How to Comply | Reference |
|----------|-------------|---------------|-----------|
| RFC 6749 | OAuth 2.0 | Use PKCE for public clients | [RFC 6749](url) |
| RFC 6585 | Rate Limiting | Return 429 + Retry-After | [RFC 6585](url) |
**Architectural patterns:**
| Pattern | When to Use | Reference |
|---------|-------------|-----------|
| Middleware | Request interception | [Official docs](url) |
| Decorator | Cross-cutting concerns | [Official docs](url) |
**Existing guides:**
- [guide_path.md](guide_path.md) - Brief description
输出: 用于插入故事技术说明子章节的标准研究(Markdown 字符串)
重要说明:
目标:将标准研究保存到独立文件中,以便复用和构建知识库。
强制要求:所有研究必须保存到文件,即使已作为字符串返回给调用者。
流程:
docs/research/rsh-*.md 文件rsh-{number:03d}-{slug}.mdstory_domain(例如,“rate-limiting”, “oauth-authentication”)rsh-042-rate-limiting.md# Standards Research: {Story Domain}
**Created:** {ISO date}
**Epic:** {Epic ID if available}
**Research Type:** Standards & Architectural Patterns
## Question
What industry standards and architectural patterns apply to {story_domain}?
## Context
{Brief description from Epic/Story}
## Methodology
- **Standards:** MCP Ref search for RFCs and specifications
- **Patterns:** MCP Ref search for architectural patterns and best practices
- **Stack:** {detected_stack.language} {detected_stack.framework}
## Findings
{Insert Standards Research content from Phase 5 here}
## Conclusions
{1-2 sentences summarizing key standards/patterns that must be followed}
## Next Steps
- Reference this research in Story Technical Notes
- Link from architecture.md if patterns affect system design
- Create ADR if architectural decision needed
## Sources
{List of all MCP Ref search URLs with dates}
docs/research/{filename}docs/research/ 不存在:创建目录docs/research/README.md<!-- PLACEHOLDER -->:追加研究条目- [{filename}]({filename}) - {one-line summary}输出:文件路径(例如,docs/research/rsh-042-rate-limiting.md)
跳过条件:
返回给调用技能(ln-220, ln-310):
docs/research/rsh-{NNN}-{slug}.md格式:
{
"standards_research": "<markdown string>",
"file_path": "docs/research/rsh-042-rate-limiting.md"
}
如果调用技能仅期望字符串,则仅返回标准研究字符串。无论哪种情况,文件都会被创建。
依赖项:
docs/guides/)输入参数:
epic_description(字符串)- 史诗技术说明 + 范围 + 目标story_domain(字符串,可选)- 故事领域(例如,“rate limiting”)输出格式:
docs/research/rsh-{NNN}-{slug}.md时间盒: 每个史诗最多 15-20 分钟
性能:
令牌效率:
docs/research/rsh-{NNN}-{slug}.md 文件(阶段 6);无例外query_prefix(例如,“C# ASP.NET Core”)query_prefixdocs/guides/ 中的现有指南docs/research/rsh-{NNN}-{slug}.mddocs/research/README.md 存在且包含占位符)工具:
mcp__Ref__ref_search_documentation() - 搜索最佳实践和标准Glob - 扫描 docs/guides/ 目录指南:
references/research_guidelines.md — 研究质量指南(官方文档 > 博客文章,优先选择 LTS 版本)shared/references/research_tool_fallback.md版本: 3.1.0 最后更新: 2026-02-14
每周安装数
123
仓库
GitHub 星标数
271
首次出现
2026年1月24日
安全审计
安装于
opencode111
codex111
claude-code110
gemini-cli110
cursor107
github-copilot105
Paths: File paths (
shared/,references/,../ln-*) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root.
This skill researches industry standards and architectural patterns using MCP Ref to generate Standards Research for Story Technical Notes.
Research industry standards, RFCs, and architectural patterns for a given Epic/Story domain. Produce a Standards Research section (tables + links, no code) for insertion into Story Technical Notes.
This skill should be used when:
The skill follows a 7-phase workflow focused on standards and architectural patterns.
Stack Detection → Identify → Ref Research → Existing Guides → Generate Research → Save to File → Return
Objective : Determine project stack BEFORE research to filter queries.
Detection:
| Indicator | Stack | Query Prefix |
|---|---|---|
*.csproj, *.sln | .NET | "C# ASP.NET Core" |
package.json + tsconfig.json | Node.js | "TypeScript Node.js" |
requirements.txt, pyproject.toml | Python | "Python" |
go.mod |
Process:
context_store.TECH_STACK if provided → use directlydetected_stack.query_prefix for Phases 2-3Output : detected_stack = {language, framework, query_prefix}
Skip conditions : If no stack detected → proceed without prefix (generic queries)
Objective : Parse Epic/Story for libraries and technology keywords.
Process :
Read Epic/Story description (provided as input)
Extract library list :
Determine Story domain :
Output : Library list (3-5 libraries max) + Story domain
Skip conditions :
Objective : Get industry standards and architectural patterns.
Process:
Focus on standards/RFCs:
mcp__Ref__ref_search_documentation(query="[detected_stack.query_prefix] [story_domain] RFC standard specification")"C# ASP.NET Core rate limiting RFC standard specification"Focus on architectural patterns:
mcp__Ref__ref_search_documentation(query="[detected_stack.query_prefix] [story_domain] architectural patterns best practices")"TypeScript Node.js authentication architectural patterns best practices"Output: Standards compliance table + Architectural patterns list
Objective : Get industry standards and best practices.
Process :
FOR EACH library + Story domain combination:
mcp__Ref__ref_search_documentation(query="[detected_stack.query_prefix] [library] [domain] best practices {current_year}")mcp__Ref__ref_search_documentation(query="[detected_stack.query_prefix] [domain] industry standards RFC")"C# ASP.NET Core Polly rate limiting best practices {current_year}"Extract from results (NO CODE - text/tables only):
Store results for Research Summary compilation
Output : Standards compliance table (RFC/Standard name, how to comply) + Best practices list
Objective : Find relevant pattern guides in docs/guides/ directory.
Process :
Scan guides directory :
Glob to find docs/guides/*.mdMatch guides to Story domain :
Collect guide paths for linking in Technical Notes
Output : Existing guides list (relative paths from project root)
Objective : Compile research results into Standards Research for Story Technical Notes subsection.
NO_CODE Rule: No code snippets. Use tables + links to official docs only.
Format Priority:
┌─────────────────────────────────────┐
│ 1. TABLES + ASCII diagrams ← Priority │
│ 2. Lists (enumerations only) │
│ 3. Text (last resort) │
└─────────────────────────────────────┘
Output Format (Table-First):
## Standards Research
**Standards compliance:**
| Standard | Requirement | How to Comply | Reference |
|----------|-------------|---------------|-----------|
| RFC 6749 | OAuth 2.0 | Use PKCE for public clients | [RFC 6749](url) |
| RFC 6585 | Rate Limiting | Return 429 + Retry-After | [RFC 6585](url) |
**Architectural patterns:**
| Pattern | When to Use | Reference |
|---------|-------------|-----------|
| Middleware | Request interception | [Official docs](url) |
| Decorator | Cross-cutting concerns | [Official docs](url) |
**Existing guides:**
- [guide_path.md](guide_path.md) - Brief description
Output: Standards Research (Markdown string) for insertion into Story Technical Notes subsection
Important notes:
Objective : Save Standards Research to standalone file for reusability and knowledge base.
MANDATORY : All research MUST be saved to file, even if returned as string to caller.
Process:
Determine next research number :
docs/research/rsh-*.md filesGenerate filename :
rsh-{number:03d}-{slug}.mdstory_domain (e.g., "rate-limiting", "oauth-authentication")rsh-042-rate-limiting.mdCreate research document using template:
# Standards Research: {Story Domain}
**Created:** {ISO date}
**Epic:** {Epic ID if available}
**Research Type:** Standards & Architectural Patterns
## Question
What industry standards and architectural patterns apply to {story_domain}?
## Context
{Brief description from Epic/Story}
## Methodology
- **Standards:** MCP Ref search for RFCs and specifications
- **Patterns:** MCP Ref search for architectural patterns and best practices
- **Stack:** {detected_stack.language} {detected_stack.framework}
## Findings
{Insert Standards Research content from Phase 5 here}
## Conclusions
{1-2 sentences summarizing key standards/patterns that must be followed}
## Next Steps
- Reference this research in Story Technical Notes
- Link from architecture.md if patterns affect system design
- Create ADR if architectural decision needed
## Sources
{List of all MCP Ref search URLs with dates}
4. Save file :
* Write to `docs/research/{filename}`
* If `docs/research/` doesn't exist: create directory
* Validate file saved successfully
5. Update README (if exists):
* Check for `docs/research/README.md`
* If exists and has `<!-- PLACEHOLDER -->`: append research entry
* Format: `- [{filename}]({filename}) - {one-line summary}`
Output : File path (e.g., docs/research/rsh-042-rate-limiting.md)
Skip conditions :
Return to calling skill (ln-220, ln-310):
docs/research/rsh-{NNN}-{slug}.mdFormat:
{
"standards_research": "<markdown string>",
"file_path": "docs/research/rsh-042-rate-limiting.md"
}
If calling skill expects only string, return Standards Research string only. File is created regardless.
Dependencies:
Input parameters:
epic_description (string) - Epic Technical Notes + Scope In + Goalstory_domain (string, optional) - Story domain (e.g., "rate limiting")Output format:
docs/research/rsh-{NNN}-{slug}.mdTime-box: 15-20 minutes maximum per Epic
Performance:
Token efficiency:
docs/research/rsh-{NNN}-{slug}.md file (Phase 6); no exceptionsquery_prefix (e.g., "C# ASP.NET Core")query_prefix setdocs/guides/ scanned and matcheddocs/research/rsh-{NNN}-{slug}.md created with all required sectionsdocs/research/README.md exists and has placeholder)Tools:
mcp__Ref__ref_search_documentation() - Search best practices and standardsGlob - Scan docs/guides/ directoryGuidelines:
MANDATORY READ: Load references/research_guidelines.md — research quality guidelines (official docs > blog posts, prefer LTS versions)
MANDATORY READ: Load shared/references/research_tool_fallback.md
Version: 3.1.0 Last Updated: 2026-02-14
Weekly Installs
123
Repository
GitHub Stars
271
First Seen
Jan 24, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
opencode111
codex111
claude-code110
gemini-cli110
cursor107
github-copilot105
agent-browser 浏览器自动化工具 - Vercel Labs 命令行网页操作与测试
163,300 周安装
Claude Code任务依赖模式详解:任务分解、依赖链与智能体团队协作指南
96 周安装
Supabase Service Key 检测工具:防止管理员密钥泄露的安全审计技能
100 周安装
Supabase数据库连接字符串检测工具 - 防止PostgreSQL凭据泄露的安全审计技能
99 周安装
Framer Motion 设计模式:React 弹簧动画、交错效果与布局动画实战指南
95 周安装
Helm Chart 模式指南:生产级Kubernetes应用打包、模板与部署最佳实践
92 周安装
Kali Linux Docker渗透测试工具集 - 200+安全工具一键部署与使用指南
100 周安装
| Go |
| "Go Golang" |
Cargo.toml | Rust | "Rust" |
build.gradle, pom.xml | Java | "Java" |