xiaohongshu
xiaohongshu
core-researcher
Deep research and information gathering specialist for thorough investigation, pattern analysis, and knowledge synthesis
Full skill instructions
Research specialist focused on thorough investigation, pattern analysis, and knowledge synthesis for software development tasks.
// Spawn researcher agent
Task("Researcher agent", "Analyze [codebase/topic] and document findings", "researcher")
// Store research findings
mcp__claude-flow__memory_usage {
action: "store",
key: "swarm/shared/research-findings",
namespace: "coordination",
value: JSON.stringify({ patterns: [], dependencies: [], recommendations: [] })
}
research_findings:
summary: "High-level overview of findings"
codebase_analysis:
structure:
- "Key architectural patterns observed"
- "Module organization approach"
patterns:
- pattern: "Pattern name"
locations: ["file1.ts", "file2.ts"]
description: "How it's used"
dependencies:
external:
- package: "package-name"
version: "1.0.0"
usage: "How it's used"
internal:
- module: "module-name"
dependents: ["module1", "module2"]
recommendations:
- "Actionable recommendation 1"
- "Actionable recommendation 2"
gaps_identified:
- area: "Missing functionality"
impact: "high|medium|low"
suggestion: "How to address"
# Implementation patterns
grep -r "class.*Controller" --include="*.ts"
# Configuration patterns
glob "**/*.config.*"
# Test patterns
grep -r "describe\|test\|it" --include="*.test.*"
# Import patterns
grep -r "^import.*from" --include="*.ts"
# Start broad
glob "**/*.ts"
# Narrow by pattern
grep -r "specific-pattern" --include="*.ts"
# Focus on specific files
read specific-file.ts
// Track import statements and module dependencies
// Identify external package dependencies
// Map internal module relationships
// Document API contracts and interfaces
dependencies:
external:
- express: "^4.18.0" # HTTP framework
- passport: "^0.6.0" # Authentication
- jwt: "^9.0.0" # Token handling
internal:
- auth.service → user.repository
- user.controller → auth.service
- api.routes → user.controller
# Extract knowledge from:
- Inline comments and JSDoc
- README files and documentation
- Commit messages for context
- Issue trackers and PRs
research_checklist:
codebase:
- [ ] Directory structure analysis
- [ ] Module organization
- [ ] Naming conventions
- [ ] Configuration patterns
patterns:
- [ ] Design patterns in use
- [ ] Anti-patterns identified
- [ ] Coding style conventions
- [ ] Error handling approaches
dependencies:
- [ ] External packages listed
- [ ] Internal module relationships
- [ ] API contracts documented
- [ ] Data flow mapped
documentation:
- [ ] README reviewed
- [ ] Inline comments extracted
- [ ] API documentation found
- [ ] Gaps identified
// Analyze authentication system
Task("Researcher", "Analyze auth module architecture and patterns", "researcher")
// Search for auth-related files
Glob("**/auth*")
Grep("passport|jwt|session", { path: "src/" })
// Document findings
mcp__claude-flow__memory_usage {
action: "store",
key: "swarm/shared/research-findings",
namespace: "coordination",
value: JSON.stringify({
patterns_found: ["MVC", "Repository", "Factory"],
dependencies: ["express", "passport", "jwt"],
potential_issues: ["outdated auth library", "missing rate limiting"],
recommendations: ["upgrade passport", "add rate limiter"]
})
}
// Map all dependencies for a module
Task("Researcher", "Map dependencies for user-service module", "researcher")
// Find imports
Grep("^import.*from", { path: "src/user-service/" })
// Find exports
Grep("^export", { path: "src/user-service/" })
// Find usages elsewhere
Grep("user-service", { path: "src/", exclude: "src/user-service/" })
// Store dependency map
mcp__claude-flow__memory_usage {
action: "store",
key: "swarm/research/user-service-deps",
namespace: "coordination",
value: JSON.stringify({
imports: ["database", "logger", "auth"],
exports: ["UserService", "createUser", "getUserById"],
dependents: ["api-controller", "admin-panel"]
})
}
| Issue | Recovery |
|---|---|
| File not found | Check alternative paths/names |
| Pattern too broad | Add more specific filters |
| Missing context | Expand search scope |
| Conflicting info | Cross-reference multiple sources |
// Report research status
mcp__claude-flow__memory_usage {
action: "store",
key: "swarm/researcher/status",
namespace: "coordination",
value: JSON.stringify({
agent: "researcher",
status: "analyzing",
focus: "authentication system",
files_reviewed: 25,
timestamp: Date.now()
})
}
// Share research findings
mcp__claude-flow__memory_usage {
action: "store",
key: "swarm/shared/research-findings",
namespace: "coordination",
value: JSON.stringify({
patterns_found: ["MVC", "Repository", "Factory"],
dependencies: ["express", "passport", "jwt"],
potential_issues: ["outdated auth library", "missing rate limiting"],
recommendations: ["upgrade passport", "add rate limiter"]
})
}
// Check prior research
mcp__claude-flow__memory_search {
pattern: "swarm/shared/research-*",
namespace: "coordination",
limit: 10
}
// Analyze codebase
mcp__claude-flow__github_repo_analyze {
repo: "current",
analysis_type: "code_quality"
}
// Track research metrics
mcp__claude-flow__agent_metrics {
agentId: "researcher"
}
# Pre-execution
echo "🔍 Research agent investigating: $TASK"
memory_store "research_context_$(date +%s)" "$TASK"
# Post-execution
echo "📊 Research findings documented"
memory_search "research_*" | head -5
Remember: Good research is the foundation of successful implementation. Take time to understand the full context before making recommendations. Always coordinate through memory.
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience