标准研究员

Universal

ln-001-standards-researcher

by levnikolaevich

基于项目技术栈和 Epic/Story 需求,用 MCP Ref 检索相关 RFC、行业标准与架构模式,整理成可直接写入 Story Technical Notes 的研究结论与参考链接。

做技术方案时先让标准研究员帮你查标准与设计模式,基于 MCP Ref 产出可复用的技术注释研究,省下大量检索整理时间。

415搜索与获取未扫描2026年3月5日

安装

claude skill add --url github.com/levnikolaevich/claude-code-skills/tree/master/ln-001-standards-researcher

文档

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.

Standards Researcher (Worker)

This skill researches industry standards and architectural patterns using MCP Ref to generate Standards Research for Story Technical Notes.

Purpose

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.

When to Use This Skill

This skill should be used when:

  • Need to research standards and patterns BEFORE Story generation (ensures tasks follow industry best practices)
  • Epic Technical Notes mention specific standards requiring documentation (OAuth, OpenAPI, WebSocket)
  • Prevent situations where tasks use outdated patterns or violate RFC compliance
  • Reusable for ANY skill requiring standards research (ln-220-story-coordinator, ln-300-task-coordinator, ln-002-best-practices-researcher)

Who calls this skill:

  • ln-220-story-coordinator (Phase 3) - research for Story creation
  • ln-300-task-coordinator (optional) - research for complex Stories
  • Manual - user can invoke directly for Epic/Story research

Workflow

The skill follows a 7-phase workflow focused on standards and architectural patterns.

code
Stack Detection → Identify → Ref Research → Existing Guides → Generate Research → Save to File → Return

Phase 0: Stack Detection

Objective: Determine project stack BEFORE research to filter queries.

Detection:

IndicatorStackQuery Prefix
*.csproj, *.sln.NET"C# ASP.NET Core"
package.json + tsconfig.jsonNode.js"TypeScript Node.js"
requirements.txt, pyproject.tomlPython"Python"
go.modGo"Go Golang"
Cargo.tomlRust"Rust"
build.gradle, pom.xmlJava"Java"

Process:

  1. Check context_store.TECH_STACK if provided → use directly
  2. Else: Glob for indicator files in project root
  3. Store detected_stack.query_prefix for Phases 2-3

Output: detected_stack = {language, framework, query_prefix}

Skip conditions: If no stack detected → proceed without prefix (generic queries)


Phase 1: Identify Libraries

Objective: Parse Epic/Story for libraries and technology keywords.

Process:

  1. Read Epic/Story description (provided as input)

    • Parse Epic Technical Notes for mentioned libraries/frameworks
    • Parse Epic Scope In for technology keywords (authentication, rate limiting, payments, etc.)
    • Identify Story domain from Epic goal statement (e.g., "Add rate limiting" → domain = "rate limiting")
  2. Extract library list:

    • Primary libraries (explicitly mentioned)
    • Inferred libraries (e.g., "REST API" → FastAPI, "caching" → Redis)
    • Filter out well-known libraries with stable APIs (e.g., requests, urllib3)
  3. Determine Story domain:

    • Extract from Epic goal or Story title
    • Examples: rate limiting, authentication, payment processing, file upload

Output: Library list (3-5 libraries max) + Story domain

Skip conditions:

  • NO libraries mentioned in Epic → Output empty Research Summary
  • Trivial CRUD operation with well-known libraries → Output empty Research Summary
  • Epic explicitly states "research not needed" → Skip

Phase 2: MCP Ref Research

Objective: Get industry standards and architectural patterns.

Process:

  1. Focus on standards/RFCs:

    • Call mcp__Ref__ref_search_documentation(query="[detected_stack.query_prefix] [story_domain] RFC standard specification")
    • Example: "C# ASP.NET Core rate limiting RFC standard specification"
    • Extract: RFC/spec references (OAuth 2.0 RFC 6749, OpenAPI 3.0, WebSocket RFC 6455)
  2. Focus on architectural patterns:

    • Call mcp__Ref__ref_search_documentation(query="[detected_stack.query_prefix] [story_domain] architectural patterns best practices")
    • Example: "TypeScript Node.js authentication architectural patterns best practices"
    • Extract: Middleware, Dependency Injection, Decorator pattern

Output: Standards compliance table + Architectural patterns list


Phase 3: MCP Ref Research

Objective: Get industry standards and best practices.

Process:

  1. FOR EACH library + Story domain combination:

    • Call mcp__Ref__ref_search_documentation(query="[detected_stack.query_prefix] [library] [domain] best practices {current_year}")
    • Call mcp__Ref__ref_search_documentation(query="[detected_stack.query_prefix] [domain] industry standards RFC")
    • Example: "C# ASP.NET Core Polly rate limiting best practices {current_year}"
  2. Extract from results (NO CODE - text/tables only):

    • Industry standards (RFC/spec references: OAuth 2.0, REST API, OpenAPI 3.0)
    • Common patterns (do/don't descriptions, anti-patterns to avoid)
    • Integration approaches (middleware, dependency injection, decorators)
    • Security considerations (OWASP compliance, vulnerability mitigation)
    • Official docs URLs (link to stack-appropriate authoritative sources)
  3. Store results for Research Summary compilation

Output: Standards compliance table (RFC/Standard name, how to comply) + Best practices list


Phase 4: Scan Existing Guides

Objective: Find relevant pattern guides in docs/guides/ directory.

Process:

  1. Scan guides directory:

    • Use Glob to find docs/guides/*.md
    • Read guide filenames
  2. Match guides to Story domain:

    • Match keywords (e.g., rate limiting guide for rate limiting Story)
    • Fuzzy match (e.g., "authentication" matches "auth.md", "oauth.md")
  3. Collect guide paths for linking in Technical Notes

Output: Existing guides list (relative paths from project root)


Phase 5: Generate Standards Research

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:

code
┌─────────────────────────────────────┐
│ 1. TABLES + ASCII diagrams ← Priority │
│ 2. Lists (enumerations only)        │
│ 3. Text (last resort)               │
└─────────────────────────────────────┘

Output Format (Table-First):

markdown
## 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:

  • Focus on STANDARDS and PATTERNS only (no library details - libraries researched at Task level)
  • Prefer official docs and RFC standards over blog posts
  • Link to stack-appropriate docs (Microsoft docs for .NET, MDN for JS, etc.)
  • If Standards Research is empty (no standards/patterns) → Skip Phase 6, return "No standards research needed"

Phase 6: Save Research to File

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:

  1. Determine next research number:

    • Glob for docs/research/rsh-*.md files
    • Extract numbers, find max
    • Next number = max + 1 (or 001 if no files exist)
  2. Generate filename:

    • Format: rsh-{number:03d}-{slug}.md
    • Slug from story_domain (e.g., "rate-limiting", "oauth-authentication")
    • Example: rsh-042-rate-limiting.md
  3. Create research document using template:

markdown
# 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}
  1. Save file:

    • Write to docs/research/{filename}
    • If docs/research/ doesn't exist: create directory
    • Validate file saved successfully
  2. 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:

  • Standards Research is empty → do not create file
  • Target directory missing and cannot be created → warn user, skip file creation

Phase 7: Return Results

Return to calling skill (ln-220, ln-310):

  1. Standards Research string (Markdown) for insertion into Story Technical Notes
  2. File path (string) for linking: docs/research/rsh-{NNN}-{slug}.md

Format:

code
{
  "standards_research": "<markdown string>",
  "file_path": "docs/research/rsh-042-rate-limiting.md"
}

If calling skill expects only string (backward compatibility), return Standards Research string only. File is created regardless.


Integration with Ecosystem

Called by:

  • ln-220-story-coordinator (Phase 2) - research for ALL Stories in Epic
  • ln-300-task-coordinator (optional) - research for complex technical Stories

Dependencies:

  • MCP Ref (ref_search_documentation) - industry standards and patterns
  • Glob (scan docs/guides/)

Input parameters (from calling skill):

  • epic_description (string) - Epic Technical Notes + Scope In + Goal
  • story_domain (string, optional) - Story domain (e.g., "rate limiting")

Output format:

  • Primary: Markdown string (Standards Research for insertion into Story Technical Notes subsection)
  • Secondary: File path (string) for linking: docs/research/rsh-{NNN}-{slug}.md
  • Content: Standards + Patterns (libraries researched at Task level)
  • Note: File is ALWAYS created (Phase 6); backward-compatible callers receive string only

Time-Box and Performance

Time-box: 15-20 minutes maximum per Epic

Performance:

  • Research is done ONCE per Epic
  • Results reused for all Stories (5-10 Stories benefit from single research)
  • Parallel MCP calls when possible (Context7 + Ref)

Token efficiency:

  • Context7: max 3000 tokens per library
  • Total: ~10,000 tokens for typical Epic (3-4 libraries)

Critical Rules

  • MANDATORY FILE CREATION: All research MUST be saved to docs/research/rsh-{NNN}-{slug}.md file (Phase 6); no exceptions
  • NO_CODE: Output contains tables and links to official docs only; no code snippets
  • Format Priority: Tables + ASCII diagrams first, lists second, text last resort
  • Stack-aware queries: All MCP Ref calls must include detected query_prefix (e.g., "C# ASP.NET Core")
  • Standards over libraries: Focus on RFCs and architectural patterns; library details are researched at Task level
  • Time-box: Maximum 15-20 minutes per Epic; research is done once and reused for all Stories

Definition of Done

  • Stack detected (or skipped if undetectable) and query_prefix set
  • Libraries and Story domain extracted from Epic/Story description
  • MCP Ref research completed for standards/RFCs and architectural patterns
  • Existing guides in docs/guides/ scanned and matched
  • Standards Research output generated in Markdown (tables + links, no code)
  • Research saved to file: docs/research/rsh-{NNN}-{slug}.md created with all required sections
  • README updated (if docs/research/README.md exists and has placeholder)
  • Output returned to calling skill (ln-220, ln-300): Standards Research string + file path

Reference Files

Tools:

  • mcp__Ref__ref_search_documentation() - Search best practices and standards
  • Glob - Scan docs/guides/ directory

Templates:

  • research_guidelines.md - Research quality guidelines (official docs > blog posts, prefer LTS versions)

  • MANDATORY READ: shared/references/research_tool_fallback.md


Version: 3.1.0 Last Updated: 2026-02-14

相关 Skills

热门

股票投研9点分析框架,覆盖基本面/财务/竞品/估值/宏观/情绪等维度

搜索与获取
未扫描4.2k

SEO审计工具

by amdf01-debug

热门

搜索与获取
未扫描4.2k

智能浏览器

by ayakolin

热门

A fast Rust-based headless browser automation CLI with Node.js fallback that enables AI agents to navigate, click, type, and snapshot pages via structured commands. (Chinese localized version)

搜索与获取
未扫描4.2k

相关 MCP 服务

网页抓取

编辑精选

by Anthropic

热门

Fetch 是 MCP 官方参考服务器,让 AI 能抓取网页并转为 Markdown 格式。

这个服务器解决了 AI 直接处理网页内容时格式混乱的问题,适合需要让 Claude 分析在线文档或新闻的开发者。不过作为参考实现,它缺乏生产级的安全配置,你得自己处理反爬虫和隐私风险。

搜索与获取
84.2k

Brave 搜索

编辑精选

by Anthropic

热门

Brave Search 是让 Claude 直接调用 Brave 搜索 API 获取实时网络信息的 MCP 服务器。

如果你想让 AI 助手帮你搜索最新资讯或技术文档,这个工具能绕过传统搜索的限制,直接返回结构化数据。特别适合需要实时信息的开发者,比如查 API 更新或竞品动态。不过它依赖 Brave 的 API 配额,高频使用可能受限。

搜索与获取
84.2k

by Anthropic

热门

Puppeteer 是让 Claude 自动操作浏览器进行网页抓取和测试的 MCP 服务器。

这个服务器解决了手动编写 Puppeteer 脚本的繁琐问题,适合需要自动化网页交互的开发者,比如抓取动态内容或做端到端测试。不过,作为参考实现,它可能缺少生产级的安全防护,建议在可控环境中使用。

搜索与获取
84.2k

评论