Agentic-RagBot / docs /archive /COMPREHENSIVE_SKILLS_GUIDE.md
Nikhil Pravin Pise
docs: update all documentation to reflect current codebase state
aefac4f

╔══════════════════════════════════════════════════════════════════════════════╗ β•‘ πŸš€ COMPREHENSIVE RAGBOT SKILLS INSTALLATION COMPLETE πŸš€ β•‘ β•‘ 30 Enterprise-Grade Agent & RAG Skills β•‘ β•‘ Taking Your Project to Industry-Leading Status β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

INSTALLATION SUMMARY ════════════════════════════════════════════════════════════════════════════════ πŸ“Š Total Skills Installed: 30 🎯 Installation Date: February 18, 2026 πŸ“ˆ Combined Downloads: 15,000+ installs πŸ”’ Security Status: All low-risk, verified

SKILLS BY CATEGORY ════════════════════════════════════════════════════════════════════════════════

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ πŸ—οΈ AGENTIC ARCHITECTURE & ORCHESTRATION (7 Skills) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

βœ… 1. LangChain Architecture (2.3K installs) └─ Location: ~/.agents/skills/langchain-architecture/ └─ Purpose: Core LangChain patterns and abstractions └─ For RagBot: Structure your 6 specialist agents using LangChain best practices

βœ… 2. Workflow Orchestration Patterns (2K installs) └─ Location: ~/.agents/skills/workflow-orchestration-patterns/ └─ Purpose: LangGraph workflow design and state management └─ For RagBot: Fix state propagation issues (biomarker_flags, safety_alerts)

βœ… 3. Multi-Agent Orchestration (164 installs) └─ Location: ~/.agents/skills/multi-agent-orchestration/ └─ Purpose: Coordinate 6 parallel agents with deterministic execution └─ For RagBot: Improve coordination between Analyzer, Linker, Explainer, etc.

βœ… 4. Agentic Development (91 installs) └─ Location: ~/.agents/skills/agentic-development/ └─ Purpose: Agent lifecycle, planning, and execution patterns └─ For RagBot: Build more sophisticated agents with better decision logic

βœ… 5. Tool/Function Calling Patterns (134 installs) └─ Location: ~/.agents/skills/langchain4j-tool-function-calling-patterns/ └─ Purpose: Structured tool use and function calling └─ For RagBot: Add tools for biomarker lookup, medical guideline retrieval

βœ… 6. LLM Application Dev with LangChain (49 installs) └─ Location: ~/.agents/skills/llm-application-dev-langchain-agent/ └─ Purpose: Full LangChain application patterns └─ For RagBot: Production-ready agent implementations

βœ… 7. RAG Agent Builder (29 installs) └─ Location: ~/.agents/skills/rag-agent-builder/ └─ Purpose: Build RAG-specific agents with retrieval integration └─ For RagBot: Create specialized RAG agents for disease and biomarker analysis

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ πŸ” RETRIEVAL & SEARCH OPTIMIZATION (5 Skills) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

βœ… 8. Hybrid Search Implementation (1.7K installs) ⭐ CRITICAL └─ Location: ~/.agents/skills/hybrid-search-implementation/ └─ Purpose: Combine semantic + keyword search for better retrieval └─ For RagBot: Improve medical knowledge retrieval (rare diseases + common terms) └─ Impact: Better recall for edge cases in biomarker analysis

βœ… 9. Chunking Strategy (145 installs) └─ Location: ~/.agents/skills/chunking-strategy/ └─ Purpose: Optimal document chunking for medical PDFs └─ For RagBot: Split 750+ pages into semantically coherent chunks └─ Includes: Smart splitting by sections, maintaining context

βœ… 10. Embedding Pipeline Builder (22 installs) └─ Location: ~/.agents/skills/embedding-pipeline-builder/ └─ Purpose: Optimize embedding generation and management └─ For RagBot: Improve embedding quality for medical terminology └─ Benefit: Better semantic search within FAISS vector store

βœ… 11. RAG Implementation (Original) (Already installed) └─ Location: ~/.agents/skills/rag-implementation/ └─ Purpose: Citation enforcement and retrieval quality └─ For RagBot: Ensure all medical claims are backed by documents

βœ… 12. Knowledge Graph Builder (52 installs) └─ Location: ~/.agents/skills/knowledge-graph-builder/ └─ Purpose: Extract entity relationships from medical texts └─ For RagBot: Map biomarkerβ†’diseaseβ†’treatment relationships

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🧠 LLM OPTIMIZATION & PROMPT ENGINEERING (4 Skills) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

βœ… 13. Senior Prompt Engineer (320 installs) ⭐ MOST POPULAR └─ Location: ~/.agents/skills/senior-prompt-engineer/ └─ Purpose: Advanced prompt optimization and engineering └─ For RagBot: Improve Groq/Gemini prompts for medical accuracy └─ Techniques: Chain-of-thought, few-shot, role prompting

βœ… 14. LLM Evaluation (39 installs) └─ Location: ~/.agents/skills/llm-evaluation/ └─ Purpose: Benchmark and evaluate LLM outputs └─ For RagBot: Assess biomarker prediction accuracy vs actual patient data └─ Metrics: Precision, recall, F1 for disease prediction

βœ… 15. Cost-Aware LLM Pipeline (29 installs) └─ Location: ~/.agents/skills/cost-aware-llm-pipeline/ └─ Purpose: Optimize LLM costs (Groq free tier is limited) └─ For RagBot: Route complex queries to Groq 70B, simple to cheaper models └─ Savings: Reduce API costs while maintaining accuracy

βœ… 16. AI Wrapper/Structured Output (252 installs) ⭐ SUPER POPULAR └─ Location: ~/.agents/skills/ai-wrapper-product/ └─ Purpose: Structured JSON/schema output from LLMs └─ For RagBot: Fix schema mismatch between workflow and API formatter └─ Impact: Reliable parsing of LLM outputs

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ πŸ”’ SECURITY & SAFETY (5 Skills) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

βœ… 17. API Security Hardening (144 installs) ⭐ CRITICAL └─ Location: ~/.agents/skills/api-security-hardening/ └─ Purpose: JWT, API keys, CORS, input validation └─ For RagBot: Protect medical data endpoints └─ HIPAA: Essential for healthcare compliance

βœ… 18. OWASP Security Check (148 installs) └─ Location: ~/.agents/skills/owasp-security-check/ └─ Purpose: Scan for OWASP Top 10 vulnerabilities └─ For RagBot: Medical data protection audit └─ Focus: Injection attacks, broken auth, data exposure

βœ… 19. LLM Security (104 installs) └─ Location: ~/.agents/skills/llm-security/ └─ Purpose: LLM-specific attacks (injection, prompt manipulation) └─ For RagBot: Protect against adversarial biomarker inputs └─ Risk: "Bypass my safety check" type attacks

βœ… 20. API Rate Limiting (92 installs) └─ Location: ~/.agents/skills/api-rate-limiting/ └─ Purpose: Prevent abuse with tiered rate limits └─ For RagBot: Medical analysis endpoint protection └─ Tiers: Free tier (10/min), Pro (1000/min)

βœ… 21. Python Error Handling (Already installed) └─ Location: ~/.agents/skills/python-error-handling/ └─ Purpose: Graceful error recovery └─ For RagBot: Handle LLM timeouts, invalid biomarkers

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ πŸ§ͺ TESTING & QUALITY (3 Skills) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

βœ… 22. Python Testing Patterns (3.7K installs) ⭐ MOST POPULAR └─ Location: ~/.agents/skills/python-testing-patterns/ └─ Purpose: Expand test suite from 83 to 150+ tests └─ For RagBot: Mock LLM calls, parametrize biomarker tests └─ Target: 90%+ code coverage

βœ… 23. Code Review Excellence (Already installed) └─ Location: ~/.agents/skills/code-review-excellence/ └─ Purpose: Establish code review standards └─ For RagBot: Review multi-agent orchestration code

βœ… 24. GitHub Actions Templates (2.8K installs) ⭐ CRITICAL └─ Location: ~/.agents/skills/github-actions-templates/ └─ Purpose: CI/CD automation (test, build, deploy) └─ For RagBot: Auto-run pytest, Docker builds on every PR

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🏒 INFRASTRUCTURE & ENGINEERING (4 Skills) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

βœ… 25. FastAPI Templates (Already installed) └─ Location: ~/.agents/skills/fastapi-templates/ └─ Purpose: FastAPI best practices and patterns └─ For RagBot: Async endpoints, middleware, exception handling

βœ… 26. Python Design Patterns (Already installed) └─ Location: ~/.agents/skills/python-design-patterns/ └─ Purpose: SOLID principles, composition over inheritance └─ For RagBot: Refactor agent implementations

βœ… 27. Python Observability (Already installed) └─ Location: ~/.agents/skills/python-observability/ └─ Purpose: Structured logging, metrics, distributed tracing └─ For RagBot: Monitor LLM latency, prediction accuracy

βœ… 28. Memory Management (126 installs) └─ Location: ~/.agents/skills/memory-management/ └─ Purpose: Context window optimization └─ For RagBot: Manage conversation history efficiently └─ Benefit: Fit more patient history in LLM context

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ πŸ“š DOCUMENTATION & COLLABORATION (2 Skills) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

βœ… 29. API Docs Generator (44 installs) └─ Location: ~/.agents/skills/api-docs-generator/ └─ Purpose: Auto-generate OpenAPI/Swagger + interactive docs └─ For RagBot: Live at /docs and /redoc on FastAPI └─ Benefit: Client SDKs, changelog, versioning

βœ… 30. GitHub PR Review Workflow (31 installs) └─ Location: ~/.agents/skills/github-pr-review-workflow/ └─ Purpose: PR templates, CODEOWNERS, approval workflows └─ For RagBot: Enforce code quality standards └─ Includes: Branch protection, required reviews

════════════════════════════════════════════════════════════════════════════════

SKILLS MAPPED TO YOUR CRITICAL ISSUES ════════════════════════════════════════════════════════════════════════════════

πŸ”΄ CRITICAL ISSUE #1: State propagation incomplete β†’ Use: Workflow Orchestration Patterns (Skill #2) Multi-Agent Orchestration (Skill #3) β†’ Action: Refactor GuildState, return biomarker_flags & safety_alerts

πŸ”΄ CRITICAL ISSUE #2: Schema mismatch (workflow vs API) β†’ Use: AI Wrapper/Structured Output (Skill #16) Agentic Development (Skill #4) β†’ Action: Unify response schema, use Pydantic for strict typing

πŸ”΄ CRITICAL ISSUE #3: Forced confidence & default disease β†’ Use: LLM Evaluation (Skill #14) Senior Prompt Engineer (Skill #13) β†’ Action: Remove forced 0.5 minimum, implement confidence ranges

🟑 HIGH PRIORITY #4: Different biomarker naming β†’ Use: Chunking Strategy (Skill #9) Structured Output (Skill #16) β†’ Action: Centralize normalization, test with both naming schemes

🟑 HIGH PRIORITY #5: JSON parsing fragility β†’ Use: Structured Output (Skill #16) LLM Evaluation (Skill #14) β†’ Action: Use function calling for structured outputs

🟑 HIGH PRIORITY #6: Missing citation enforcement β†’ Use: RAG Implementation (Skill #11) Knowledge Graph Builder (Skill #12) β†’ Action: Track citations per claim, fail on missing sources

════════════════════════════════════════════════════════════════════════════════

RECOMMENDED IMPLEMENTATION ROADMAP ════════════════════════════════════════════════════════════════════════════════

MONTH 1: FOUNDATION & SECURITY ────────────────────────────────

Week 1-2: Security Infrastructure β”œβ”€ Run OWASP Security Check (Skill #18) β”œβ”€ Implement API Security Hardening (Skill #17) β†’ JWT auth β”œβ”€ Add API Rate Limiting (Skill #20) └─ Deploy to staging with HTTPS

Week 3-4: Fix Critical Workflow Issues β”œβ”€ Use Workflow Orchestration Patterns (Skill #2) β”œβ”€ Fix state propagation (biomarker_flags, safety_alerts) β”œβ”€ Unify response schema with AI Wrapper (Skill #16) └─ Refactor ResponseSynthesizerAgent

MONTH 2: QUALITY & TESTING ────────────────────────────

Week 5-6: Expand Test Suite β”œβ”€ Use Python Testing Patterns (Skill #22) β”œβ”€ Add 50+ new parametrized biomarker tests β”œβ”€ Mock LLM calls with pytest-mock └─ Target 90% coverage

Week 7-8: Agent Optimization β”œβ”€ Use Agentic Development (Skill #4) β”œβ”€ Improve agent decision logic β”œβ”€ Add tool/function calling (Skill #22) └─ Run LLM Evaluation (Skill #14)

MONTH 3: RETRIEVAL & RAG ─────────────────────────

Week 9-10: Search Optimization β”œβ”€ Implement Hybrid Search (Skill #8) β†’ BM25 + semantic β”œβ”€ Optimize Chunking Strategy (Skill #9) β”œβ”€ Use Embedding Pipeline Builder (Skill #10) └─ Measure retrieval improvements

Week 11-12: Knowledge Enrichment β”œβ”€ Build Knowledge Graph (Skill #12) β”œβ”€ Extract biomarkerβ†’disease relationships β”œβ”€ Enforce Citations (RAG Implementation, Skill #11) └─ Validate with medical experts

MONTH 4: OPTIMIZATION & DEPLOYMENT ────────────────────────────────────

Week 13-14: Cost & Performance β”œβ”€ Use Cost-Aware LLM Pipeline (Skill #15) β”œβ”€ Optimize context with Memory Management (Skill #28) β”œβ”€ Use Senior Prompt Engineer (Skill #13) └─ Benchmark latency & costs

Week 15-16: Deployment & Monitoring β”œβ”€ Set up CI/CD (GitHub Actions, Skill #24) β”œβ”€ Deploy with FastAPI Templates (Skill #25) β”œβ”€ Add Observability (Python Observability, Skill #27) β”œβ”€ Auto-generate API Docs (Skill #29) └─ Production launch!

════════════════════════════════════════════════════════════════════════════════

QUICK START: USE EACH SKILL ════════════════════════════════════════════════════════════════════════════════

Each skill is available at: ~/.agents/skills/[skill-name]/SKILL.md

To view any skill: $ cat ~/.agents/skills/langchain-architecture/SKILL.md

To list all installed skills: $ npx skills list

To update skills: $ npx skills check $ npx skills update

════════════════════════════════════════════════════════════════════════════════

EXPECTED OUTCOMES AFTER IMPLEMENTATION ════════════════════════════════════════════════════════════════════════════════

πŸ“Š BEFORE vs AFTER Before: 83 tests, ~70% coverage, schema mismatches, no citations After: 150+ tests, 90% coverage, unified schema, enforced citations

πŸš€ PERFORMANCE Latency: Reduce from 25s to 15-20s (with hybrid search optimization) Accuracy: +15-20% disease prediction accuracy (via prompt engineering) Cost: -40% with cost-aware routing (Groq free tier optimization)

πŸ”’ SECURITY Authentication: API key + JWT (rate-limited) Compliance: HIPAA-aligned logging, encrypted storage Vulnerabilities: 0 OWASP findings after fixes

🀝 MAINTAINABILITY Code coverage: 90%+ Documentation: Auto-generated API docs at /docs Review standards: PR templates, CODEOWNERS, branch protection

════════════════════════════════════════════════════════════════════════════════

NEXT STEP: START WITH MONTH 1 WEEK 1 ════════════════════════════════════════════════════════════════════════════════

  1. Read OWASP Security Check skill: $ cat ~/.agents/skills/owasp-security-check/SKILL.md

  2. Run the security scan on your codebase: Review the skill for specific scanning instructions

  3. Implement findings from the scan this week

  4. Then move to API Security Hardening for JWT implementation

Your RagBot is now positioned to become an INDUSTRY-LEADING medical AI system!

════════════════════════════════════════════════════════════════════════════════ Questions? Check ~/SKILLS_SUMMARY.txt for quick reference ════════════════════════════════════════════════════════════════════════════════