Back to list
levnikolaevich

ln-002-best-practices-researcher

by levnikolaevich

Greate Claude Code skills collection. Production-ready skills that cover the full delivery workflow — from research and discovery to epic planning, task breakdown, implementation, testing, code review, and quality gates.

52🍴 12📅 Jan 23, 2026

SKILL.md


name: ln-002-best-practices-researcher description: Research best practices via MCP Ref/Context7/WebSearch and create documentation (guide/manual/ADR/research). Single research, multiple output types.

Best Practices Researcher

Research industry standards and create project documentation in one workflow.

Purpose & Scope

  • Research via MCP Ref + Context7 for standards, patterns, versions
  • Create 4 types of documents from research results:
    • Guide: Pattern documentation (Do/Don't/When table)
    • Manual: API reference (methods/params/doc links)
    • ADR: Architecture Decision Record (Q&A dialog)
    • Research: Investigation document answering specific question
  • Return document path for linking in Stories/Tasks

Phase 0: Stack Detection

Objective: Identify project stack to filter research queries and adapt output.

Detection:

IndicatorStackQuery PrefixOfficial Docs
*.csproj, *.sln.NET"C# ASP.NET Core"Microsoft docs
package.json + tsconfig.jsonNode.js"TypeScript Node.js"MDN, npm docs
requirements.txt, pyproject.tomlPython"Python"Python docs, PyPI
go.modGo"Go Golang"Go docs
Cargo.tomlRust"Rust"Rust docs
build.gradle, pom.xmlJava"Java"Oracle docs, Maven

Usage:

  • Add query_prefix to all MCP search queries
  • Link to stack-appropriate official docs

When to Use

  • ln-310-story-validator detects missing documentation
  • Need to document a pattern, library, or decision
  • Replaces: ln-321-guide-creator, ln-322-adr-creator, ln-323-manual-creator

Input Parameters

ParameterRequiredDescription
doc_typeYes"guide" / "manual" / "adr" / "research"
topicYesWhat to document (pattern name, package name, decision title, research question)
story_contextNoStory/Task context for relevance

Research Tools

ToolUse CaseQuery Pattern
ref_search_documentationStandards, patterns, RFCs"[topic] RFC standard best practices 2025"
context7__resolve-library-idGet library ID for docslibraryName="[topic]"
context7__query-docsLibrary API, methodstopic="[stack_prefix] [topic]"
WebSearchMarket, competitors, versions"[topic] latest 2025" or "[topic] vs alternatives"

Time-box: 5-10 minutes for research; skip if topic is trivial

Research Methodology by Type (for doc_type="research")

TypeFocusPrimary SourcesKey Questions
TechnicalSolution comparisonDocs, benchmarks, RFCs"Which solution fits our use-case?"
MarketIndustry landscapeReports, blogs, articles"What's the market size/trend?"
CompetitorHow others solve itProduct pages, reviews, demos"What features do competitors offer?"
RequirementsUser needsFeedback, support tickets, forums"What do customers complain about?"
FeasibilityCan we build it?PoC, prototypes, local tests"Is it technically possible?"
Feature DemandFeature viabilityCompetitor features + blogs/socials + user complaints"Is this feature worth building?"

Workflow by doc_type

doc_typePurposeResearch SourceTemplateOutput PathWords
guidePattern with Do/Don't/When tableref_search (best practices)guide_template.mdguides/NN-[slug].md300-500
manualAPI/library referencecontext7__query-docsmanual_template.mdmanuals/[pkg]-[ver].md300-500
adrArchitecture decisionDialog (5 questions)adr_template.mdadrs/adr-NNN-[slug].md300-500
researchInvestigation answering questionSee Methodology table aboveresearch_template.mdresearch/rsh-NNN-[slug].md300-700

Common Workflow: Detect number (if needed) → Research → Generate from template → Validate (SCOPE, POSIX) → Save → Return path

Extract & Sections by doc_type:

  • guide: Extract principle, 2-3 do/don'ts, sources → Sections: Principle, Our Implementation, Patterns table, Sources, Related
  • manual: Extract methods, params (type/required/default), returns → Sections: Package info, Overview, Methods table, Config table, Limitations
  • adr: Dialog answers → Sections: Context, Decision, Rationale, Alternatives table, Consequences, Related
  • research: Findings by methodology → Sections: Question, Context, Methodology, Findings (tables!), Conclusions, Next Steps, Sources

Validation specifics: guide: patterns table present; manual: version in filename; adr: ISO date, status field; all: sources ≥2025

ADR Dialog (5 questions): Q1: Title? → Q2: Category (Strategic/Technical)? → Q3: Context? → Q4: Decision + Rationale? → Q5: Alternatives (2 with pros/cons)?

Output: File path for linking in Stories/Tasks; for ADR remind to reference in architecture.md; for Research suggest ADR if decision needed

Critical Rules

NO_CODE_EXAMPLES (ALL document types):

ForbiddenAllowed
Code snippetsTables (params, config, alternatives)
Implementation examplesASCII diagrams, Mermaid diagrams
Code blocks >1 lineMethod signatures (1 line inline)
Links to official docs

Format Priority (STRICT):

┌───────────────────────────────────────────────┐
│ 1. TABLES + ASCII diagrams  ←── PRIORITY      │
│    Params, Config, Alternatives, Flows        │
├───────────────────────────────────────────────┤
│ 2. LISTS (enumerations only)                  │
│    Enumeration items, file lists, tools       │
├───────────────────────────────────────────────┤
│ 3. TEXT (last resort)                         │
│    Only if cannot express as table            │
└───────────────────────────────────────────────┘
Content TypeFormat
ParametersTable: Name | Type | Required | Default
ConfigurationTable: Option | Type | Default | Description
AlternativesTable: Alt | Pros | Cons | Why Rejected
PatternsTable: Do | Don't | When
WorkflowASCII diagram: A → B → C

Other Rules:

  • Research ONCE per invocation; reuse results
  • Cite sources with versions/dates (>=2025)
  • One pattern per guide; one decision per ADR; one package per manual
  • Preserve language (EN/RU) from story_context
  • Link to stack-appropriate docs (Microsoft for .NET, MDN for JS, etc.)
  • Do not create if target directory missing (warn instead)

Definition of Done

  • Research completed (standards/patterns/versions extracted) - for guide/manual
  • Dialog completed (5 questions answered) - for ADR
  • Document generated with all required sections; no placeholders
  • Standards validated (SCOPE, maintenance, POSIX)
  • File saved to correct directory with proper naming
  • Path returned; README updated if placeholder present

Reference Files

  • Guide template: shared/templates/guide_template.md
  • Manual template: shared/templates/manual_template.md
  • ADR template: shared/templates/adr_template.md
  • Research template: shared/templates/research_template.md
  • Standards: docs/DOCUMENTATION_STANDARDS.md (if exists)

Version: 3.0.0 Last Updated: 2025-12-23

Score

Total Score

80/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

+5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon