✨ Improvements: - Add .gitignore entries for test artifacts (.pytest_cache, .coverage, htmlcov) - Create cli/__init__.py with exports for llms_txt modules - Create mcp/__init__.py with package documentation - Create mcp/tools/__init__.py as placeholder for future modularization ✅ Benefits: - Proper Python package structure enables clean imports - IDE autocomplete now works for cli modules - Can use: from cli import LlmsTxtDetector - Foundation for future refactoring 📊 Impact: - Code Quality: 6.0/10 (up from 5.5/10) - Import Issues: Fixed ✅ - Package Structure: Fixed ✅ Related: Phase 0 of REFACTORING_PLAN.md Time: 42 minutes Risk: Zero - additive changes only
38 lines
1.2 KiB
Python
38 lines
1.2 KiB
Python
"""Skill Seekers CLI tools package.
|
|
|
|
This package provides command-line tools for converting documentation
|
|
websites into Claude AI skills.
|
|
|
|
Main modules:
|
|
- doc_scraper: Main documentation scraping and skill building tool
|
|
- llms_txt_detector: Detect llms.txt files at documentation URLs
|
|
- llms_txt_downloader: Download llms.txt content
|
|
- llms_txt_parser: Parse llms.txt markdown content
|
|
- pdf_scraper: Extract documentation from PDF files
|
|
- enhance_skill: AI-powered skill enhancement (API-based)
|
|
- enhance_skill_local: AI-powered skill enhancement (local)
|
|
- estimate_pages: Estimate page count before scraping
|
|
- package_skill: Package skills into .zip files
|
|
- upload_skill: Upload skills to Claude
|
|
- utils: Shared utility functions
|
|
"""
|
|
|
|
from .llms_txt_detector import LlmsTxtDetector
|
|
from .llms_txt_downloader import LlmsTxtDownloader
|
|
from .llms_txt_parser import LlmsTxtParser
|
|
|
|
try:
|
|
from .utils import open_folder
|
|
except ImportError:
|
|
# utils.py might not exist in all configurations
|
|
open_folder = None
|
|
|
|
__version__ = "1.2.0"
|
|
|
|
__all__ = [
|
|
"LlmsTxtDetector",
|
|
"LlmsTxtDownloader",
|
|
"LlmsTxtParser",
|
|
"open_folder",
|
|
]
|