Spaces:
Sleeping
Sleeping
| ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| β β 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 | |