This commit fixes three critical limitations discovered during local repository skill extraction testing: **Fix 1: Code Analyzer Import Issue** - Changed unified_scraper.py to use absolute imports instead of relative imports - Fixed: `from github_scraper import` → `from skill_seekers.cli.github_scraper import` - Fixed: `from pdf_scraper import` → `from skill_seekers.cli.pdf_scraper import` - Result: CodeAnalyzer now available during extraction, deep analysis works **Fix 2: Unity Library Exclusions** - Updated should_exclude_dir() to accept and check full directory paths - Updated _extract_file_tree_local() to pass both dir name and full path - Added exclusion config passing from unified_scraper to github_scraper - Result: exclude_dirs_additional now works (297 files excluded in test) **Fix 3: AI Enhancement for Single Sources** - Changed read_reference_files() to use rglob() for recursive search - Now finds reference files in subdirectories (e.g., references/github/README.md) - Result: AI enhancement works with unified skills that have nested references **Test Results:** - Code Analyzer: ✅ Working (deep analysis running) - Unity Exclusions: ✅ Working (297 files excluded from 679) - AI Enhancement: ✅ Working (finds and reads nested references) **Files Changed:** - src/skill_seekers/cli/unified_scraper.py (Fix 1 & 2) - src/skill_seekers/cli/github_scraper.py (Fix 2) - src/skill_seekers/cli/utils.py (Fix 3) **Test Artifacts:** - configs/deck_deck_go_local.json (test configuration) - docs/LOCAL_REPO_TEST_RESULTS.md (comprehensive test report) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
34 lines
948 B
JSON
34 lines
948 B
JSON
{
|
|
"name": "deck_deck_go_local_test",
|
|
"description": "Local repository skill extraction test for deck_deck_go Unity project. Demonstrates unlimited file analysis, deep code structure extraction, and AI enhancement workflow for Unity C# codebase.",
|
|
|
|
"sources": [
|
|
{
|
|
"type": "github",
|
|
"repo": "yusufkaraaslan/deck_deck_go",
|
|
"local_repo_path": "/mnt/1ece809a-2821-4f10-aecb-fcdf34760c0b/Git/Skill_Seekers/github/deck_deck_go",
|
|
"include_code": true,
|
|
"code_analysis_depth": "deep",
|
|
"include_issues": false,
|
|
"include_changelog": false,
|
|
"include_releases": false,
|
|
"exclude_dirs_additional": [
|
|
"Library",
|
|
"Temp",
|
|
"Obj",
|
|
"Build",
|
|
"Builds",
|
|
"Logs",
|
|
"UserSettings",
|
|
"TextMesh Pro/Examples & Extras"
|
|
],
|
|
"file_patterns": [
|
|
"Assets/**/*.cs"
|
|
]
|
|
}
|
|
],
|
|
|
|
"merge_mode": "rule-based",
|
|
"auto_upload": false
|
|
}
|