Files
skill-seekers-reference/src/skill_seekers/cli/setup_wizard.py
yusyus 81dd5bbfbc fix: Fix remaining 61 ruff linting errors (SIM102, SIM117)
Fixed all remaining linting errors from the 310 total:
- SIM102: Combined nested if statements (31 errors)
  - adaptors/openai.py
  - config_extractor.py
  - codebase_scraper.py
  - doc_scraper.py
  - github_fetcher.py
  - pattern_recognizer.py
  - pdf_scraper.py
  - test_example_extractor.py

- SIM117: Combined multiple with statements (24 errors)
  - tests/test_async_scraping.py (2 errors)
  - tests/test_github_scraper.py (2 errors)
  - tests/test_guide_enhancer.py (20 errors)

- Fixed test fixture parameter (mock_config in test_c3_integration.py)

All 700+ tests passing.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-17 23:25:12 +03:00

94 lines
2.6 KiB
Python
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"""
Interactive Setup Wizard for Skill Seekers
Guides users through installation options on first run.
"""
from pathlib import Path
def show_installation_guide():
"""Show installation options"""
print("""
╔═══════════════════════════════════════════════════════════╗
║ ║
║ Skill Seekers Setup Guide ║
║ ║
╚═══════════════════════════════════════════════════════════╝
Choose your installation profile:
1⃣ CLI Only (Skill Generation)
pip install skill-seekers
Features:
• Scrape documentation websites
• Analyze GitHub repositories
• Extract from PDFs
• Package skills for all platforms
2⃣ MCP Integration (Claude Code, Cursor, Windsurf)
pip install skill-seekers[mcp]
Features:
• Everything from CLI Only
• MCP server for Claude Code
• One-command skill installation
• HTTP/stdio transport modes
3⃣ Multi-LLM Support (Gemini, OpenAI)
pip install skill-seekers[all-llms]
Features:
• Everything from CLI Only
• Google Gemini support
• OpenAI ChatGPT support
• Enhanced AI features
4⃣ Everything
pip install skill-seekers[all]
Features:
• All features enabled
• Maximum flexibility
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Current installation: pip install skill-seekers
Upgrade with: pip install -U skill-seekers[mcp]
For configuration wizard:
skill-seekers config
For help:
skill-seekers --help
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
""")
def check_first_run():
"""Check if this is first run"""
flag_file = Path.home() / ".config" / "skill-seekers" / ".setup_shown"
if not flag_file.exists():
show_installation_guide()
# Create flag to not show again
flag_file.parent.mkdir(parents=True, exist_ok=True)
flag_file.touch()
input("\nPress Enter to continue...")
return True
return False
def main():
"""Show wizard"""
show_installation_guide()
if __name__ == "__main__":
main()