This document defines the recommended team workflow for using the skill library in real projects.
The goal is not to turn on every feature by default. The goal is to:
- establish reliable boundaries first
- deepen analysis layer by layer
- keep outputs evidence-based and explicitly graded
Recommended order:
- Start with workspace layering
- Then do single-service deep dives
- Then do cross-service
create_codemap - Then do
crate_router_map - Only then build domain pages
- Turn on optional switches only for explicit problem scenarios
Do not start by:
- turning on every optional switch
- writing domain pages before service-level understanding exists
- tracing fields without scope control
- enabling gateway mapping without explicit gateway evidence
That usually causes:
- bloated output
- clue-level content mixed into fact-level pages
- speculative summaries instead of code-grounded structure
Use when:
- the repository is mixed-stack
- it contains
app / h5 / backend / python - the workspace is large and noisy
Outputs:
- workspace layering page
- representative sample list
in scope / delayed / excluded / clue-only
Why it matters:
- sets clear boundaries for later scans
- reduces noise
- prevents undirected full-repo sweeps
Use when:
- you want to fully understand a high-value service first
- later work will include cross-service or domain-level mapping
Outputs:
- service overview
- controllers and interface inventory
- package/module responsibilities
- dependency relationships
- key norms and technical characteristics
Why it matters:
- provides factual foundations for later cross-service work
- gives domain pages stronger service-level evidence
Use when:
- you want a service-family view
- you want structure and collaboration across related services
Outputs:
- service-family overview
- service responsibility map
- sync/async capability distribution
- Feign / controller / MQ / SSE / WS distribution
Why it matters:
- establishes the cross-service skeleton
- provides entry points for router maps
Use when:
- you need to confirm who calls whom
- you need a concrete request or message path across layers and services
Outputs:
- sync call paths
- async communication paths
- evidence levels
- unresolved gaps
Why it matters:
- gives the most direct context for integration and troubleshooting
Use when:
- the team already has service-level and route-level documents
- you want to elevate scattered knowledge into reusable context
Recommended preconditions:
- ideally after single-service deep dives
- ideally after at least one cross-service codemap pass
Outputs:
domain -> entry surfaces -> systems/services/modules -> rules/specs
Why it matters:
- useful for central knowledge repositories
- helps new team members understand what a group of systems solves together
Unless the scenario is explicit, do not turn on all eight optional switches.
Recommended pattern:
- complete the base four steps first
- then enable one to three switches that match the problem
First priority:
enable_contract_mapenable_context_propagation_mapenable_error_semantics
Second priority:
enable_async_contract_mapenable_interface_verification_assets
Third priority:
enable_field_lineageenable_external_dependency_dossierenable_gateway_map
Integration scenarios:
enable_contract_mapenable_field_lineageenable_interface_verification_assets
Gateway/BFF uncertainty:
enable_gateway_mapenable_context_propagation_map
Failure-path troubleshooting:
enable_error_semanticsenable_context_propagation_mapenable_async_contract_map
Kafka / MQ / callback systems:
enable_async_contract_mapenable_error_semantics
Central knowledge repository / dependency governance:
enable_external_dependency_dossierenable_interface_verification_assetsenable_contract_map
Order:
- Workspace layering
- Single-service deep dives
- Cross-service codemap
- Domain pages
Order:
- Single-service deep dive
crate_router_map- Add
enable_contract_mapif needed - Add
enable_context_propagation_mapif needed - Add
enable_error_semanticsif needed
Order:
- Single-service deep dive
crate_router_map- Turn on
enable_async_contract_map - Turn on
enable_error_semantics - Add
enable_context_propagation_mapif needed
The most stable team workflow is:
- layer first
- understand high-value services first
- then build the cross-service skeleton
- then map concrete routes
- only then elevate to domains
- keep optional switches problem-driven, never default-on