Skip to main content

share-semantic-analysis

Consolidate or review repository discovery, semantic parsing, functional-pattern detection, codebase fingerprints, and snapshot generation. Use for context init, DocumentationGenerator, AgentGenerator, SemanticSnapshotService, CodebaseAnalyzer, FileMapper, analysis caching, or large-monorepo performance work.

소스 정보

저장소
vinilana/dotcontext
최근 소스 활동
2026년 7월 11일 15:53
감지된 SKILL.md 언어
영어
스타
573
포크
96

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
share-semantic-analysis
description
Consolidate or review repository discovery, semantic parsing, functional-pattern detection, codebase fingerprints, and snapshot generation. Use for context init, DocumentationGenerator, AgentGenerator, SemanticSnapshotService, CodebaseAnalyzer, FileMapper, analysis caching, or large-monorepo performance work.
# Share Semantic Analysis Compute one bounded analysis bundle per operation and reuse it. ## Workflow 1. Map every repository scan, glob, file read, parse, fingerprint, and derived output in the operation. 2. Define one AnalysisBundle owner at the harness application boundary. 3. Discover relevant files once with shared ignores. 4. Parse each selected file once and derive symbols, architecture, and functional patterns from the same analyses. 5. Pass the same bundle to documentation, agent, plan, and snapshot consumers. 6. Apply file-count, per-file byte, total-byte, and concurrency limits. 7. Mark partial analysis and skipped reasons explicitly. 8. Release operation-scoped caches in finally. ## Fingerprinting Enumerate only relevant files. Reuse content hashes when path, size, and mtime are unchanged. Include dirty files when using git identity. Limit stabilization retries and keep the previous snapshot readable until publication succeeds. ## Required invariants - Never perform a second semantic read only to derive functional patterns. - Never let generators silently create independent analyzers in the main context-init path. - Never glob the entire repository and filter relevance only afterward. - Never call an analysis complete after a configured limit was hit. - Honor cacheEnabled. - Keep snapshot publication atomic. ## Dotcontext routing - Own AnalysisBundle in src/harness/application/context. - Keep parsing in semantic adapters. - Inject data into generators instead of importing transport state. - Follow [F-05](../../../specs/performance/f-05-shared-semantic-analysis.md). ## Review gate Instrument tests to count discovery calls, file reads, parse calls, maximum concurrency, bytes read, and fingerprint attempts. Require one parse per selected file in default type=both context init.
GitHub에서 보기