An explicit extension skill for cross-tech-stack project analysis.
This skill is designed for repositories where backend-service wording is too narrow, including:
- mobile app repositories
- H5 / web frontend repositories
- Python service / worker / task repositories
- mixed-stack repositories spanning app, page, bridge, backend, callback, and task layers
This skill does not replace the base backend-service-spec-skill.
It is an opt-in extension.
For normal backend microservice analysis, keep using the base skill.
For mixed-stack or non-backend-first projects, explicitly enable $cross-tech-stack-spec-skill.
Recommended wording:
Use $backend-service-spec-skill as the base workflow, and enable $cross-tech-stack-spec-skill for mixed-stack adaptation.
For a pure mobile / H5 / Python repo, you can also say:
Use $cross-tech-stack-spec-skill to analyze this project.
If the user wants a one-pass run that exercises the base workflow plus all optional extensions and generates all artifact types, see:
Note:
- full analysis mode can consume substantially more tokens
- it also increases scan time and output size for large workspaces
Mixed-stack diagrams are first-class outputs in this extension workflow.
Prefer Markdown + Mermaid so the results stay readable for both humans and AI.
Recommended diagram types:
- global mixed-stack architecture diagram
- cross-layer call graph
- page/app/backend/task/callback/bridge sequence diagram
- code dependency graph versus runtime dependency graph
- interface mapping diagram
- context propagation diagram
- gateway forwarding diagram
- async contract route diagram
Default trigger rule:
- when this extension runs as a standard output pass, companion mixed-stack diagrams should be generated by default
- users do not need to repeat "generate diagrams" in normal cases
- diagrams should be embedded into the corresponding document by default, and only split to
mydocs/diagrams/when reuse, frequent standalone updates, centralized export/management, or explicit diagram/text separation is needed
For communication analysis, this skill recommends a communication matrix with count basis, evidence levels, closure state, and code locations, so conclusions are easier to verify.
When this extension runs together with $backend-service-spec-skill, the outputs usually land in one shared mydocs/ structure.
For mixed-stack projects, the directory that most often needs explanation is mydocs/context/:
- it is not only for backend services
- it is not a private page set for one app module, one H5 page, or one Python subproject
- it is the cross-cutting context layer for the current analysis scope
In mixed-stack analysis, mydocs/context/ usually carries:
- frontend-to-backend interface mappings
- gateway or forwarding facts
- field lineage
- context propagation
- error semantics
- async producer/topic/consumer contracts
- external dependency dossiers
So it is the right place to answer questions like:
- which backend handler does this page or app entry finally call?
- how does
businessId,sessionId, orrequestIdmove across layers? - where is this error code or response structure normalized?
- which external systems does this capability depend on?
If you need finer-grained interface, field, error, context propagation, or cross-team dependency analysis, use the optional switch-controlled extensions. These remain disabled by default and do not change the stable baseline workflow.
- extension enabled without switches: workspace layering, communication evidence matrix, interface mapping, mixed-stack key route page, mixed-stack architecture diagram, cross-layer call graph
enable_contract_map: contract detail page, request/response field tables, interface mapping diagramenable_gateway_map: gateway/forwarding route page, gateway forwarding diagramenable_field_lineage: field lineage page, field movement diagram when helpfulenable_context_propagation_map: context propagation page, context propagation diagramenable_error_semantics: error semantics page, failure-path sequence diagram when helpfulenable_async_contract_map: async contract page, producer/topic/consumer route diagramenable_external_dependency_dossier: external dependency dossier pageenable_interface_verification_assets: verification assets page
See the full mapping here:
- Command Output Map
- Diagram Output Guidelines
- Diagram Output Example Template
- Mermaid Safety Checklist
- Cross-Tech-Stack References Index
- Detailed Usage Guide
- Command Output Map
- Command Quick Reference
- Diagram Output Guidelines
- Diagram Output Example Template
- Mermaid Safety Checklist
- Full Analysis Mode
- Usage And Differences
- Activation And Boundaries
- Workspace Layering Template
- Optional Switch-Controlled Extensions
- Priority Switch Template Index
- Contract Map Template
- Gateway Map Template
- Field Lineage Template
- Context Propagation Map Template
- Error Semantics Map Template
- Async Contract Map Template
- External Dependency Dossier Template
- Interface Verification Assets Template
- Mobile Project Guidelines
- H5 Project Guidelines
- Python Project Guidelines
- Mixed Stack Routing Guidelines
- Communication Matrix Guidelines
- Communication Evidence Levels
- Upgrade Roadmap