feat(A1.7): Add install_skill MCP tool for one-command workflow automation
Implements complete end-to-end skill installation in a single command: fetch_config → scrape_docs → enhance_skill_local → package_skill → upload_skill Changes: - MCP Tool: Added install_skill_tool() to server.py (~300 lines) - Input validation (config_name XOR config_path) - 5-phase orchestration with error handling - Dry-run mode for workflow preview - Mandatory AI enhancement (30-60 sec, 3/10→9/10 quality boost) - Auto-upload to Claude (if ANTHROPIC_API_KEY set) - CLI Integration: New install command - Created install_skill.py CLI wrapper (~150 lines) - Updated main.py with install subcommand - Added entry point to pyproject.toml - Testing: Comprehensive test suite - Created test_install_skill.py with 13 tests - Tests cover validation, dry-run, orchestration, error handling - All tests passing (13/13) - Documentation: Updated all user-facing docs - CLAUDE.md: Added MCP tool (10 tools total) and CLI examples - README.md: Added prominent one-command workflow section - FLEXIBLE_ROADMAP.md: Marked A1.7 as complete Features: - Zero friction: One command instead of 5 separate steps - Quality guaranteed: Mandatory enhancement ensures 9/10 quality - Complete automation: From config to uploaded skill - Intelligent: Auto-detects config type (name vs path) - Flexible: Dry-run, unlimited, no-upload modes - Well-tested: 13 unit tests with mocking Usage: skill-seekers install --config react skill-seekers install --config configs/custom.json --no-upload skill-seekers install --config django --unlimited skill-seekers install --config react --dry-run Closes #204 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -58,12 +58,13 @@ Small tasks that build community features incrementally
|
||||
- **Approach:** Use GitHub Issues with labels (no custom code needed)
|
||||
- **Workflow:** Review → Validate → Test → Approve/Reject
|
||||
- **Time:** 1-2 hours (GitHub Issues) or 4-6 hours (custom dashboard)
|
||||
- [ ] **Task A1.7:** Add MCP tool `install_skill` for one-command workflow (Issue #204)
|
||||
- [x] **Task A1.7:** Add MCP tool `install_skill` for one-command workflow (Issue #204) ✅ **COMPLETE!**
|
||||
- **Purpose:** Complete one-command workflow: fetch → scrape → **enhance** → package → upload
|
||||
- **Features:** Single command install, smart config detection, automatic AI enhancement (LOCAL)
|
||||
- **Workflow:** fetch_config → scrape_docs → enhance_skill_local → package_skill → upload_skill
|
||||
- **Critical:** Always includes AI enhancement step (30-60 sec, 3/10→9/10 quality boost)
|
||||
- **Time:** 3-4 hours
|
||||
- **Completed:** December 21, 2025 - 10 tools total, 13 tests passing, full automation working
|
||||
- [ ] **Task A1.8:** Add smart skill detection and auto-install (Issue #205)
|
||||
- **Purpose:** Auto-detect missing skills from user queries and offer to install them
|
||||
- **Features:** Topic extraction, skill gap analysis, API search, smart suggestions
|
||||
|
||||
Reference in New Issue
Block a user