.claude/skills/ln-002-best-practices-researcher/SKILL.md
Research best practices via MCP Ref/Context7/WebSearch and create documentation (guide/manual/ADR/research). Single research, multiple output types.
npx skillsauth add cbbkrd-tech/jl-finishes ln-002-best-practices-researcherInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
Research industry standards and create project documentation in one workflow.
Objective: Identify project stack to filter research queries and adapt output.
Detection:
| Indicator | Stack | Query Prefix | Official Docs |
|-----------|-------|--------------|---------------|
| *.csproj, *.sln | .NET | "C# ASP.NET Core" | Microsoft docs |
| package.json + tsconfig.json | Node.js | "TypeScript Node.js" | MDN, npm docs |
| requirements.txt, pyproject.toml | Python | "Python" | Python docs, PyPI |
| go.mod | Go | "Go Golang" | Go docs |
| Cargo.toml | Rust | "Rust" | Rust docs |
| build.gradle, pom.xml | Java | "Java" | Oracle docs, Maven |
Usage:
query_prefix to all MCP search queries| Parameter | Required | Description | |-----------|----------|-------------| | doc_type | Yes | "guide" / "manual" / "adr" / "research" | | topic | Yes | What to document (pattern name, package name, decision title, research question) | | story_context | No | Story/Task context for relevance |
| Tool | Use Case | Query Pattern |
|------|----------|---------------|
| ref_search_documentation | Standards, patterns, RFCs | "[topic] RFC standard best practices {current_year}" |
| context7__resolve-library-id | Get library ID for docs | libraryName="[topic]" |
| context7__query-docs | Library API, methods | topic="[stack_prefix] [topic]" |
| WebSearch | Market, competitors, versions | "[topic] latest {current_year}" or "[topic] vs alternatives" |
Time-box: 5-10 minutes for research; skip if topic is trivial
| Type | Focus | Primary Sources | Key Questions | |------|-------|-----------------|---------------| | Technical | Solution comparison | Docs, benchmarks, RFCs | "Which solution fits our use-case?" | | Market | Industry landscape | Reports, blogs, articles | "What's the market size/trend?" | | Competitor | How others solve it | Product pages, reviews, demos | "What features do competitors offer?" | | Requirements | User needs | Feedback, support tickets, forums | "What do customers complain about?" | | Feasibility | Can we build it? | PoC, prototypes, local tests | "Is it technically possible?" | | Feature Demand | Feature viability | Competitor features + blogs/socials + user complaints | "Is this feature worth building?" |
| doc_type | Purpose | Research Source | Template | Output Path | Words |
|----------|---------|-----------------|----------|-------------|-------|
| guide | Pattern with Do/Don't/When table | ref_search (best practices) | guide_template.md | guides/NN-[slug].md | 300-500 |
| manual | API/library reference | context7__query-docs | manual_template.md | manuals/[pkg]-[ver].md | 300-500 |
| adr | Architecture decision | Dialog (5 questions) | adr_template.md | adrs/adr-NNN-[slug].md | 300-500 |
| research | Investigation answering question | See Methodology table above | research_template.md | research/rsh-NNN-[slug].md | 300-700 |
Common Workflow: Detect number (if needed) → Research → Generate from template → Validate (SCOPE, POSIX) → Save → Return path
Extract & Sections by doc_type:
Validation specifics: guide: patterns table present; manual: version in filename; adr: ISO date, status field; all: sources ≤ 1 year old
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
MANDATORY FILE CREATION:
NO_CODE_EXAMPLES (ALL document types):
| Forbidden | Allowed | |-----------|---------| | Code snippets | Tables (params, config, alternatives) | | Implementation examples | ASCII diagrams, Mermaid diagrams | | Code blocks >1 line | Method 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 Type | Format |
|--------------|--------|
| Parameters | Table: Name | Type | Required | Default |
| Configuration | Table: Option | Type | Default | Description |
| Alternatives | Table: Alt | Pros | Cons | Why Rejected |
| Patterns | Table: Do | Don't | When |
| Workflow | ASCII diagram: A → B → C |
Other Rules:
shared/templates/guide_template.mdshared/templates/manual_template.mdshared/templates/adr_template.mdshared/templates/research_template.mddocs/DOCUMENTATION_STANDARDS.md (if exists)Version: 3.0.1 Last Updated: 2026-02-14
testing
When the user wants to plan a content strategy, decide what content to create, or figure out what topics to cover. Also use when the user mentions "content strategy," "what should I write about," "content ideas," "blog strategy," "topic clusters," or "content planning." For writing individual pieces, see copywriting. For SEO-specific audits, see seo-audit.
development
When the user wants to create competitor comparison or alternative pages for SEO and sales enablement. Also use when the user mentions 'alternative page,' 'vs page,' 'competitor comparison,' 'comparison page,' '[Product] vs [Product],' '[Product] alternative,' or 'competitive landing pages.' Covers four formats: singular alternative, plural alternatives, you vs competitor, and competitor vs competitor. Emphasizes deep research, modular content architecture, and varied section types beyond feature tables.
development
Write B2B cold emails and follow-up sequences that get replies. Use when the user wants to write cold outreach emails, prospecting emails, cold email campaigns, sales development emails, or SDR emails. Covers subject lines, opening lines, body copy, CTAs, personalization, and multi-touch follow-up sequences.
development
When the user wants to reduce churn, build cancellation flows, set up save offers, recover failed payments, or implement retention strategies. Also use when the user mentions 'churn,' 'cancel flow,' 'offboarding,' 'save offer,' 'dunning,' 'failed payment recovery,' 'win-back,' 'retention,' 'exit survey,' 'pause subscription,' or 'involuntary churn.' This skill covers voluntary churn (cancel flows, save offers, exit surveys) and involuntary churn (dunning, payment recovery). For post-cancel win-back email sequences, see email-sequence. For in-app upgrade paywalls, see paywall-upgrade-cro.