Agentic-RagBot / docs /archive /SKILLS_SUMMARY.txt
Nikhil Pravin Pise
docs: update all documentation to reflect current codebase state
aefac4f
raw
history blame
7.47 kB
╔══════════════════════════════════════════════════════════════════════════════╗
β•‘ βœ… RAGBOT SKILLS INSTALLATION COMPLETE β•‘
β•‘ 13 Strategic Skills to Level Up Your Project β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
TIER 1: CRITICAL SECURITY & TESTING (Install First)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
βœ… 1. Python Testing Patterns (3.7K installs)
β†’ Expand test suite from 83 to 150+ tests
β†’ Mock LLM calls for faster CI/CD
β†’ Target 90%+ code coverage
Location: ~/.agents/skills/python-testing-patterns/
βœ… 2. API Security Hardening (144 installs)
β†’ Add JWT/API key authentication
β†’ Input validation & sanitization
β†’ Security headers (CSP, HSTS, X-Frame-Options)
Location: ~/.agents/skills/api-security-hardening/
βœ… 3. OWASP Security Check (148 installs)
β†’ Scan for OWASP Top 10 vulnerabilities
β†’ Dependency security checks (CVE detection)
β†’ Data protection & access control audit
Location: ~/.agents/skills/owasp-security-check/
βœ… 4. API Rate Limiting (92 installs)
β†’ Protect critical endpoints from abuse
β†’ Implement tiered rate limits
β†’ Token bucket algorithm
Location: ~/.agents/skills/api-rate-limiting/
TIER 2: INFRASTRUCTURE & CODE QUALITY
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
βœ… 5. GitHub Actions Templates (2.8K installs)
β†’ Auto-run pytest on every PR
β†’ Build & push Docker images
β†’ Security scanning & dependency checks
Location: ~/.agents/skills/github-actions-templates/
βœ… 6. Code Review Excellence
β†’ Review checklists & standards
β†’ Common code smell detection
β†’ Security review guidelines
Location: ~/.agents/skills/code-review-excellence/
βœ… 7. Python Error Handling
β†’ Custom exception hierarchy
β†’ Graceful degradation patterns
β†’ Better error context
Location: ~/.agents/skills/python-error-handling/
TIER 3: ARCHITECTURE & CODE ORGANIZATION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
βœ… 8. Python Design Patterns
β†’ Singleton, Factory, Strategy patterns
β†’ Dependency injection
β†’ Code maintainability
Location: ~/.agents/skills/python-design-patterns/
βœ… 9. FastAPI Templates
β†’ FastAPI best practices
β†’ Middleware patterns
β†’ Exception handling
Location: ~/.agents/skills/fastapi-templates/
βœ… 10. Python Observability
β†’ Structured logging (JSON)
β†’ Metrics collection
β†’ Distributed tracing
Location: ~/.agents/skills/python-observability/
TIER 4: DOCUMENTATION & SPECIALIZED FEATURES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
βœ… 11. API Docs Generator (44 installs)
β†’ Auto-generate OpenAPI specs
β†’ Swagger UI & ReDoc documentation
β†’ Client SDK generation
Location: ~/.agents/skills/api-docs-generator/
βœ… 12. GitHub PR Review Workflow (31 installs)
β†’ PR templates & standards
β†’ Code ownership (CODEOWNERS)
β†’ Branch protection rules
Location: ~/.agents/skills/github-pr-review-workflow/
βœ… 13. RAG Implementation
β†’ Citation enforcement
β†’ Retrieval quality scoring
β†’ Chunk optimization
Location: ~/.agents/skills/rag-implementation/
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CRITICAL ISSUES TO ADDRESS (From Deep Code Review)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
πŸ”΄ CRITICAL:
1. biomarker_flags & safety_alerts not propagating through workflow
2. Schema mismatch between workflow output & API formatter
3. Prediction confidence forced to 0.5 (dangerous in medical domain)
🟑 HIGH PRIORITY:
4. Different biomarker naming in API vs CLI
5. JSON parsing fragility in LLM extraction
6. Missing citation enforcement in RAG outputs
ACTION PLAN
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WEEK 1: SECURITY & CRITICAL FIXES πŸ”’
β”œβ”€ Run OWASP security check on entire codebase
β”œβ”€ Add API key authentication to sensitive endpoints
β”œβ”€ Implement API rate limiting
β”œβ”€ Fix state propagation in workflow
└─ Remove forced confidence & default disease
WEEK 2: CODE QUALITY πŸ§ͺ
β”œβ”€ Expand test suite to 150+ tests using testing patterns
β”œβ”€ Implement parametrized tests for biomarker combinations
β”œβ”€ Mock LLM calls for faster CI/CD
β”œβ”€ Add error handling with custom exceptions
└─ Measure & improve coverage to 90%+
WEEK 3: INFRASTRUCTURE πŸš€
β”œβ”€ Set up GitHub Actions CI/CD workflows
β”œβ”€ Create CODEOWNERS and PR review standards
β”œβ”€ Configure branch protection rules
β”œβ”€ Generate & enhance API documentation
└─ Set up automated dependency scanning
WEEK 4: OBSERVABILITY & OPTIMIZATION πŸ“Š
β”œβ”€ Add structured logging with observability skill
β”œβ”€ Implement metrics collection (LLM latency, success rates)
β”œβ”€ Optimize RAG retrieval with citation enforcement
β”œβ”€ Apply design patterns for code organization
└─ Fine-tune FastAPI configuration
SKILLS USAGE QUICK REFERENCE
━━━━━━━━━━━━━━━━━━━━━━━━━━
List all skills:
$ npx skills list
Check for updates:
$ npx skills check
Update all skills:
$ npx skills update
View specific skill:
Open ~/.agents/skills/[skill-name]/
SKILL RECOMMENDATIONS BY USE CASE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
For increasing test coverage:
πŸ‘‰ Python Testing Patterns
For hospital/HIPAA compliance:
πŸ‘‰ API Security Hardening + OWASP Security Check
For improving reliability:
πŸ‘‰ Python Error Handling + Python Observability + RAG Implementation
For code maintainability:
πŸ‘‰ Python Design Patterns + Code Review Excellence
For deployment automation:
πŸ‘‰ GitHub Actions Templates + GitHub PR Review Workflow
For medical AI quality:
πŸ‘‰ RAG Implementation + API Docs Generator + Python Testing Patterns
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DOCUMENTATION:
See: SKILLS_INSTALLED_UPDATED.md (detailed guide with code examples)
Next Step: Deep dive into Phase 1 (Security) - see SKILLS_INSTALLED_UPDATED.md