research-best-practices
Skill100 starsChanged 7 months agoMITView on GitHub
Research current best practices, latest package versions, and official guidance before writing implementation code. Uses MCP tools (Microsoft Learn, Context7, DeepWiki) and available Copilot skills to ground decisions in up-to-date, first-party documentation rather than stale training data.
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
When adding a new Azure service, SDK, or infrastructure resource not covered by specs/tech-stack.md
- Distinctive: line 18
When choosing between libraries, patterns, or architectural approaches
- Distinctive: line 19
When a package version may have breaking changes since last known state
- Distinctive: line 20
When the task involves an area you haven't recently verified (auth, storage, AI, etc.)
- Distinctive: line 32
Use these MCP tools in priority order:
- Distinctive: line 95
If a technology is well-established and unchanged (e.g., basic Express routing), a quick verification is sufficient.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Research Best Practices
Ground every implementation decision in current, authoritative sources before writing code.
When to Use
- Always at the start of Step 3 (Implementation) — before the first line of code
- When adding a new Azure service, SDK, or infrastructure resource not covered by
specs/tech-stack.md - When choosing between libraries, patterns, or architectural approaches
- When a package version may have breaking changes since last known state
- When the task involves an area you haven't recently verified (auth, storage, AI, etc.)
- Note: Phase 1d (Tech Stack Resolution) performs comprehensive upfront research. This skill handles targeted, increment-specific research that builds on those resolved decisions.
Inputs
specs/tech-stack.md— Pre-resolved technology decisions from Phase 1d (check this FIRST)- Feature contracts from Step 2 (API specs, shared types, infra contract)
- The project's current
package.jsondependencies and versions - The specific technologies and services the feature requires
Research Tools
Use these MCP tools in priority order:
| Tool | Use For | Example |
Microsoft Learn MCP (microsoft_docs_search, microsoft_code_sample_search, microsoft_docs_fetch) | Azure SDKs, Azure best practices, .NET Aspire, Azure Container Apps, Entra ID, any Microsoft/Azure technology | "Azure Container Apps health probes", "MSAL Node.js token caching" |
| Context7 | Latest docs and usage examples for any open-source library or framework — npm packages, Next.js, Express, Tailwind, Playwright, etc. | "next.js app router server actions", "express middleware error handling" |
| DeepWiki | Deep architectural understanding of open-source repos — how a library works internally, patterns used, extension points | "How does next-auth handle session rotation?", "Playwright test isolation model" |
Azure Best Practices (get_azure_bestpractices) | Azure-specific code generation and deployment best practices — call before writing any Azure infra or SDK code | "Container Apps deployment", "Cosmos DB SDK usage" |
Web Search (web_search) | Recent releases, changelogs, migration guides, community consensus on emerging patterns | "Express 5 migration guide", "Next.js 15 breaking changes" |
Also check local resources
.github/skills/— Scan for an existing skill that covers the taskspecs/contracts/— Re-read the API and infra contracts to confirm scopepackage.json— Check current dependency versions before assuming APIs
Steps
- Consult tech stack — Read
specs/tech-stack.mdfirst. Most technology decisions, versions, and patterns should already be resolved from Phase 1d. Only research further if the current increment needs something not covered. - Inventory — List the technologies, SDKs, and services needed for the current feature/slice that are NOT already covered by
specs/tech-stack.md - Check skills — Scan
.github/skills/for existing skills that cover any of these technologies - Research each technology — For each item in the inventory: a. Query Microsoft Learn MCP for Azure/Microsoft technologies b. Query Context7 for latest framework/library docs and examples c. Query DeepWiki if you need to understand library internals d. Query Azure Best Practices if Azure resources are involved e. Use Web Search for recent changelogs or migration guides
- Check versions — Verify that the package versions in
package.jsonare current; note any that need updating - Summarize findings — Produce a concise research summary:
- Recommended patterns and APIs (with source links)
- Package versions to use or update
- Anti-patterns or deprecations to avoid
- Any relevant skills found in
.github/skills/
- Record in state — Save key findings in
state.jsonunder the current feature's metadata so future sessions don't repeat the research
Output Format
## Research Summary: <feature-name>
### Technologies Researched
| Technology | Version | Source | Key Finding |
|------------|---------|--------|-------------|
| @azure/cosmos | 4.2.0 | MS Learn | Use `iterateAll()` instead of `fetchAll()` for large datasets |
| next.js | 15.1.0 | Context7 | Server Actions stable; use `revalidatePath` for cache invalidation |
### Patterns to Follow
- <pattern description> (source: <link>)
### Anti-patterns / Deprecations
- <what to avoid> (source: <link>)
### Package Updates Needed
- <package>: <current> → <recommended> (reason)
### Skills Available
- <skill-name>: <how it applies>Notes
- Do not skip this step. Stale knowledge causes subtle bugs, deprecated API usage, and security vulnerabilities.
- Research is scoped to the current feature — don't boil the ocean.
- If a technology is well-established and unchanged (e.g., basic Express routing), a quick verification is sufficient.
- Cache-friendly: if you researched a technology for Feature A, reuse those findings for Feature B unless the context differs.
Other versions2 projects use a version of this.
Word for word · 1
- crgarcia12/Liliput★ 4100% same
Edited · 0
None found.
Wrote their own version · 1
- zeuikli/claude-code-workspace★ 155same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository47 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- adrSkill
- api-extractorSkill
- architecture-mapperSkill
- aspireSkill
- audit-logSkill
- azure-deploymentSkill
- bug-fixSkill
- build-checkSkill
- cloud-native-assessmentSkill
- cloud-native-plannerSkill
- codebase-scannerSkill
- commit-protocolSkill
- contract-generationSkill
- data-model-extractorSkill
- ddd-modelingSkill
- dependency-inventorySkill
- deploy-diagnosticsSkill
- e2e-generationSkill
- error-handlingSkill
- extension-plannerSkill
- find-skillsSkill
- frd-generatorSkill
- gherkin-generationSkill
- human-gateSkill
- implementationSkill
- modernization-assessmentSkill
- modernization-plannerSkill
- performance-assessmentSkill
- playwright-cliSkill
- prd-generatorSkill
- resumeSkill
- rewrite-assessmentSkill
- rewrite-plannerSkill
- security-assessmentSkill
- security-plannerSkill
- skill-creatorSkill
- skill-discoverySkill
- spec-refinementSkill
- spec-validatorSkill
- state-managementSkill
- tech-stack-resolutionSkill
- test-discoverySkill
- test-generationSkill
- test-runnerSkill
- ui-ux-designSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

