@c4a/context-cli 0.7.5 → 0.7.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +63 -2
- package/README.zh-CN.md +16 -0
- package/cli.js +132471 -111134
- package/docs/context-debug-event-v1.schema.json +3 -1
- package/docs/debug-tracing.md +17 -1
- package/indexers/bundles/context-code-indexer/SKILL.md +10 -1
- package/indexers/bundles/context-code-indexer/context-indexer.yaml +3102 -64
- package/indexers/bundles/context-code-indexer/references/article-catalog/adapter-integration-article-catalog.md +20 -0
- package/indexers/bundles/context-code-indexer/references/article-catalog/api-service-article-catalog.md +20 -0
- package/indexers/bundles/context-code-indexer/references/article-catalog/background-runtime-article-catalog.md +19 -0
- package/indexers/bundles/context-code-indexer/references/article-catalog/cli-tool-article-catalog.md +17 -0
- package/indexers/bundles/context-code-indexer/references/article-catalog/component-library-article-catalog.md +18 -0
- package/indexers/bundles/context-code-indexer/references/article-catalog/contract-source-article-catalog.md +17 -0
- package/indexers/bundles/context-code-indexer/references/article-catalog/data-sync-reconciliation-article-catalog.md +19 -0
- package/indexers/bundles/context-code-indexer/references/article-catalog/derived-generated-source-article-catalog.md +17 -0
- package/indexers/bundles/context-code-indexer/references/article-catalog/domain-service-article-catalog.md +23 -0
- package/indexers/bundles/context-code-indexer/references/article-catalog/event-consumer-article-catalog.md +19 -0
- package/indexers/bundles/context-code-indexer/references/article-catalog/gateway-facade-article-catalog.md +21 -0
- package/indexers/bundles/context-code-indexer/references/article-catalog/monorepo-container-article-catalog.md +17 -0
- package/indexers/bundles/context-code-indexer/references/article-catalog/plugin-extension-article-catalog.md +17 -0
- package/indexers/bundles/context-code-indexer/references/article-catalog/sdk-library-article-catalog.md +18 -0
- package/indexers/bundles/context-code-indexer/references/article-catalog/storage-repository-article-catalog.md +19 -0
- package/indexers/bundles/context-code-indexer/references/article-catalog/web-application-article-catalog.md +30 -0
- package/indexers/bundles/context-code-indexer/references/composers/public-contract.md +13 -1
- package/indexers/bundles/context-code-indexer/references/diagrams.md +122 -0
- package/indexers/bundles/context-code-indexer/references/indexer.md +184 -8
- package/indexers/bundles/context-code-indexer/references/visual-source-processing.md +42 -0
- package/indexers/bundles/context-code-indexer/templates/adapter-integration-maintenance-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/adapter-integration-request-adaptation-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/adapter-integration-usage-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/api-service-maintenance-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/api-service-public-api-reference.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/articles/c01.md +49 -0
- package/indexers/bundles/context-code-indexer/templates/articles/c02.md +36 -0
- package/indexers/bundles/context-code-indexer/templates/articles/c03.md +28 -0
- package/indexers/bundles/context-code-indexer/templates/articles/c04.md +29 -0
- package/indexers/bundles/context-code-indexer/templates/articles/c05.md +30 -0
- package/indexers/bundles/context-code-indexer/templates/articles/c07.md +51 -0
- package/indexers/bundles/context-code-indexer/templates/articles/d01.md +31 -0
- package/indexers/bundles/context-code-indexer/templates/articles/d02.md +32 -0
- package/indexers/bundles/context-code-indexer/templates/articles/d03.md +32 -0
- package/indexers/bundles/context-code-indexer/templates/articles/d04.md +38 -0
- package/indexers/bundles/context-code-indexer/templates/articles/f01.md +50 -0
- package/indexers/bundles/context-code-indexer/templates/articles/f02.md +33 -0
- package/indexers/bundles/context-code-indexer/templates/articles/f03.md +38 -0
- package/indexers/bundles/context-code-indexer/templates/articles/f04.md +32 -0
- package/indexers/bundles/context-code-indexer/templates/articles/f05.md +32 -0
- package/indexers/bundles/context-code-indexer/templates/articles/f06.md +32 -0
- package/indexers/bundles/context-code-indexer/templates/articles/f07.md +31 -0
- package/indexers/bundles/context-code-indexer/templates/articles/f08.md +36 -0
- package/indexers/bundles/context-code-indexer/templates/articles/f09.md +32 -0
- package/indexers/bundles/context-code-indexer/templates/articles/f10.md +32 -0
- package/indexers/bundles/context-code-indexer/templates/articles/f11.md +39 -0
- package/indexers/bundles/context-code-indexer/templates/articles/f12.md +59 -0
- package/indexers/bundles/context-code-indexer/templates/articles/l01.md +38 -0
- package/indexers/bundles/context-code-indexer/templates/articles/l02.md +103 -0
- package/indexers/bundles/context-code-indexer/templates/articles/l03.md +92 -0
- package/indexers/bundles/context-code-indexer/templates/articles/l04.md +30 -0
- package/indexers/bundles/context-code-indexer/templates/articles/l05.md +50 -0
- package/indexers/bundles/context-code-indexer/templates/articles/q03.md +29 -0
- package/indexers/bundles/context-code-indexer/templates/articles/q05.md +29 -0
- package/indexers/bundles/context-code-indexer/templates/articles/q06.md +29 -0
- package/indexers/bundles/context-code-indexer/templates/articles/s01.md +31 -0
- package/indexers/bundles/context-code-indexer/templates/articles/s02.md +30 -0
- package/indexers/bundles/context-code-indexer/templates/articles/s03.md +34 -0
- package/indexers/bundles/context-code-indexer/templates/articles/s04.md +35 -0
- package/indexers/bundles/context-code-indexer/templates/articles/s05.md +30 -0
- package/indexers/bundles/context-code-indexer/templates/articles/s06.md +30 -0
- package/indexers/bundles/context-code-indexer/templates/articles/s07.md +33 -0
- package/indexers/bundles/context-code-indexer/templates/background-runtime-maintenance-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/background-runtime-task-runtime-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/cli-tool-maintenance-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/cli-tool-public-api-reference.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/cli-tool-usage-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/component-library-maintenance-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/component-library-public-api-reference.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/component-library-usage-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/component-library.md +40 -3
- package/indexers/bundles/context-code-indexer/templates/contract-source-public-api-reference.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/contract-source-usage-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/contract-source.md +49 -0
- package/indexers/bundles/context-code-indexer/templates/data-sync-reconciliation-maintenance-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/data-sync-reconciliation-task-runtime-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/derived-generated-source-public-api-reference.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/derived-generated-source-usage-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/derived-generated-source.md +15 -0
- package/indexers/bundles/context-code-indexer/templates/domain-service-maintenance-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/domain-service-public-api-reference.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/event-consumer-maintenance-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/event-consumer-task-runtime-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/gateway-facade-maintenance-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/gateway-facade-public-api-reference.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/gateway-facade-request-adaptation-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/monorepo-container-maintenance-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/monorepo-container-usage-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/monorepo-container.md +9 -0
- package/indexers/bundles/context-code-indexer/templates/plugin-extension-maintenance-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/plugin-extension-public-api-reference.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/plugin-extension-usage-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/sdk-library-maintenance-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/sdk-library-public-api-reference.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/sdk-library-usage-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/storage-repository-maintenance-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/storage-repository-public-api-reference.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/web-application-federation-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/web-application-maintenance-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/templates/web-application-page-task-guide.md +81 -0
- package/indexers/bundles/context-code-indexer/tests/fixtures/composers.json +1 -1
- package/indexers/bundles/context-code-indexer/tests/fixtures/scenarios.json +1 -1
- package/indexers/bundles/context-markdown-indexer/SKILL.md +7 -1
- package/indexers/bundles/context-markdown-indexer/context-indexer.yaml +856 -15
- package/indexers/bundles/context-markdown-indexer/references/article-catalog/decision-record-article-catalog.md +7 -0
- package/indexers/bundles/context-markdown-indexer/references/article-catalog/documentation-site-article-catalog.md +8 -0
- package/indexers/bundles/context-markdown-indexer/references/article-catalog/domain-reference-article-catalog.md +14 -0
- package/indexers/bundles/context-markdown-indexer/references/article-catalog/faq-support-article-catalog.md +8 -0
- package/indexers/bundles/context-markdown-indexer/references/article-catalog/incident-review-article-catalog.md +9 -0
- package/indexers/bundles/context-markdown-indexer/references/article-catalog/product-requirements-article-catalog.md +8 -0
- package/indexers/bundles/context-markdown-indexer/references/article-catalog/public-api-reference-article-catalog.md +10 -0
- package/indexers/bundles/context-markdown-indexer/references/article-catalog/release-migration-guide-article-catalog.md +11 -0
- package/indexers/bundles/context-markdown-indexer/references/article-catalog/runbook-article-catalog.md +12 -0
- package/indexers/bundles/context-markdown-indexer/references/article-catalog/standard-policy-article-catalog.md +10 -0
- package/indexers/bundles/context-markdown-indexer/references/article-catalog/technical-guide-article-catalog.md +20 -0
- package/indexers/bundles/context-markdown-indexer/references/article-catalog/test-validation-article-catalog.md +11 -0
- package/indexers/bundles/context-markdown-indexer/references/article-catalog/user-and-developer-guide-article-catalog.md +13 -0
- package/indexers/bundles/context-markdown-indexer/references/diagrams.md +122 -0
- package/indexers/bundles/context-markdown-indexer/references/editorial-policy.md +19 -29
- package/indexers/bundles/context-markdown-indexer/references/indexer.md +63 -2
- package/indexers/bundles/context-markdown-indexer/references/semantic-planning.md +22 -8
- package/indexers/bundles/context-markdown-indexer/references/visual-source-processing.md +42 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/c01.md +37 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/c02.md +34 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/c03.md +26 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/c04.md +27 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/c05.md +28 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/c06.md +28 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/c07.md +27 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/d01.md +29 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/d02.md +30 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/d03.md +30 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/d04.md +44 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/f01.md +30 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/f05.md +30 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/f06.md +30 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/f08.md +34 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/f09.md +30 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/l01.md +35 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/l02.md +101 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/l03.md +90 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/l04.md +28 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/l05.md +48 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/q01.md +32 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/q02.md +33 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/q03.md +27 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/q04.md +32 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/q05.md +27 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/q06.md +27 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/q07.md +32 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/s01.md +29 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/s02.md +27 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/s03.md +31 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/s04.md +33 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/s05.md +28 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/s06.md +28 -0
- package/indexers/bundles/context-markdown-indexer/templates/articles/s07.md +31 -0
- package/indexers/bundles/context-note-indexer/SKILL.md +16 -0
- package/indexers/bundles/context-note-indexer/context-indexer.yaml +1459 -0
- package/indexers/bundles/context-note-indexer/references/article-catalog/decision-record-article-catalog.md +7 -0
- package/indexers/bundles/context-note-indexer/references/article-catalog/domain-reference-article-catalog.md +14 -0
- package/indexers/bundles/context-note-indexer/references/article-catalog/faq-support-article-catalog.md +8 -0
- package/indexers/bundles/context-note-indexer/references/article-catalog/incident-review-article-catalog.md +9 -0
- package/indexers/bundles/context-note-indexer/references/article-catalog/product-requirements-article-catalog.md +8 -0
- package/indexers/bundles/context-note-indexer/references/article-catalog/runbook-article-catalog.md +12 -0
- package/indexers/bundles/context-note-indexer/references/article-catalog/technical-guide-article-catalog.md +20 -0
- package/indexers/bundles/context-note-indexer/references/article-catalog/test-validation-article-catalog.md +11 -0
- package/indexers/bundles/context-note-indexer/references/article-catalog/user-and-developer-guide-article-catalog.md +13 -0
- package/indexers/bundles/context-note-indexer/references/classification.md +55 -0
- package/indexers/bundles/context-note-indexer/references/customization.md +36 -0
- package/indexers/bundles/context-note-indexer/references/diagrams.md +122 -0
- package/indexers/bundles/context-note-indexer/references/extension-placement.md +57 -0
- package/indexers/bundles/context-note-indexer/references/indexer.md +43 -0
- package/indexers/bundles/context-note-indexer/references/updates-and-composition.md +37 -0
- package/indexers/bundles/context-note-indexer/references/visual-source-processing.md +42 -0
- package/indexers/bundles/context-note-indexer/references/writing.md +57 -0
- package/indexers/bundles/context-note-indexer/templates/articles/c01.md +37 -0
- package/indexers/bundles/context-note-indexer/templates/articles/c02.md +34 -0
- package/indexers/bundles/context-note-indexer/templates/articles/c03.md +26 -0
- package/indexers/bundles/context-note-indexer/templates/articles/c04.md +27 -0
- package/indexers/bundles/context-note-indexer/templates/articles/c05.md +28 -0
- package/indexers/bundles/context-note-indexer/templates/articles/c06.md +28 -0
- package/indexers/bundles/context-note-indexer/templates/articles/c07.md +27 -0
- package/indexers/bundles/context-note-indexer/templates/articles/d01.md +29 -0
- package/indexers/bundles/context-note-indexer/templates/articles/d02.md +30 -0
- package/indexers/bundles/context-note-indexer/templates/articles/d03.md +30 -0
- package/indexers/bundles/context-note-indexer/templates/articles/d04.md +36 -0
- package/indexers/bundles/context-note-indexer/templates/articles/f01.md +30 -0
- package/indexers/bundles/context-note-indexer/templates/articles/f06.md +30 -0
- package/indexers/bundles/context-note-indexer/templates/articles/f08.md +34 -0
- package/indexers/bundles/context-note-indexer/templates/articles/f09.md +30 -0
- package/indexers/bundles/context-note-indexer/templates/articles/l01.md +35 -0
- package/indexers/bundles/context-note-indexer/templates/articles/l02.md +101 -0
- package/indexers/bundles/context-note-indexer/templates/articles/l03.md +90 -0
- package/indexers/bundles/context-note-indexer/templates/articles/l04.md +28 -0
- package/indexers/bundles/context-note-indexer/templates/articles/l05.md +48 -0
- package/indexers/bundles/context-note-indexer/templates/articles/q01.md +32 -0
- package/indexers/bundles/context-note-indexer/templates/articles/q02.md +33 -0
- package/indexers/bundles/context-note-indexer/templates/articles/q03.md +27 -0
- package/indexers/bundles/context-note-indexer/templates/articles/q04.md +32 -0
- package/indexers/bundles/context-note-indexer/templates/articles/q05.md +27 -0
- package/indexers/bundles/context-note-indexer/templates/articles/q06.md +27 -0
- package/indexers/bundles/context-note-indexer/templates/articles/q07.md +32 -0
- package/indexers/bundles/context-note-indexer/templates/articles/s01.md +29 -0
- package/indexers/bundles/context-note-indexer/templates/articles/s04.md +33 -0
- package/indexers/bundles/context-note-indexer/templates/articles/s05.md +28 -0
- package/indexers/bundles/context-note-indexer/templates/articles/s06.md +28 -0
- package/indexers/bundles/context-note-indexer/templates/articles/s07.md +31 -0
- package/indexers/bundles/context-note-indexer/templates/decision-record.md +33 -0
- package/indexers/bundles/context-note-indexer/templates/domain-reference.md +31 -0
- package/indexers/bundles/context-note-indexer/templates/faq-support.md +30 -0
- package/indexers/bundles/context-note-indexer/templates/incident-review.md +28 -0
- package/indexers/bundles/context-note-indexer/templates/product-requirements.md +29 -0
- package/indexers/bundles/context-note-indexer/templates/runbook.md +30 -0
- package/indexers/bundles/context-note-indexer/templates/technical-guide.md +31 -0
- package/indexers/bundles/context-note-indexer/templates/test-validation.md +28 -0
- package/indexers/bundles/context-note-indexer/templates/user-and-developer-guide.md +28 -0
- package/indexers/bundles/context-note-indexer/tests/fixtures/profiles.json +281 -0
- package/indexers/bundles/context-sessions-indexer/SKILL.md +16 -0
- package/indexers/bundles/context-sessions-indexer/context-indexer.yaml +1459 -0
- package/indexers/bundles/context-sessions-indexer/references/article-catalog/decision-record-article-catalog.md +7 -0
- package/indexers/bundles/context-sessions-indexer/references/article-catalog/domain-reference-article-catalog.md +14 -0
- package/indexers/bundles/context-sessions-indexer/references/article-catalog/faq-support-article-catalog.md +8 -0
- package/indexers/bundles/context-sessions-indexer/references/article-catalog/incident-review-article-catalog.md +9 -0
- package/indexers/bundles/context-sessions-indexer/references/article-catalog/product-requirements-article-catalog.md +8 -0
- package/indexers/bundles/context-sessions-indexer/references/article-catalog/runbook-article-catalog.md +12 -0
- package/indexers/bundles/context-sessions-indexer/references/article-catalog/technical-guide-article-catalog.md +20 -0
- package/indexers/bundles/context-sessions-indexer/references/article-catalog/test-validation-article-catalog.md +11 -0
- package/indexers/bundles/context-sessions-indexer/references/article-catalog/user-and-developer-guide-article-catalog.md +13 -0
- package/indexers/bundles/context-sessions-indexer/references/classification.md +56 -0
- package/indexers/bundles/context-sessions-indexer/references/customization.md +36 -0
- package/indexers/bundles/context-sessions-indexer/references/diagrams.md +122 -0
- package/indexers/bundles/context-sessions-indexer/references/extension-placement.md +63 -0
- package/indexers/bundles/context-sessions-indexer/references/indexer.md +48 -0
- package/indexers/bundles/context-sessions-indexer/references/updates-and-composition.md +37 -0
- package/indexers/bundles/context-sessions-indexer/references/visual-source-processing.md +42 -0
- package/indexers/bundles/context-sessions-indexer/references/writing.md +63 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/c01.md +37 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/c02.md +34 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/c03.md +26 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/c04.md +27 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/c05.md +28 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/c06.md +28 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/c07.md +27 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/d01.md +29 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/d02.md +30 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/d03.md +30 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/d04.md +36 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/f01.md +30 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/f06.md +30 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/f08.md +34 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/f09.md +30 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/l01.md +35 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/l02.md +101 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/l03.md +90 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/l04.md +28 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/l05.md +48 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/q01.md +32 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/q02.md +33 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/q03.md +27 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/q04.md +32 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/q05.md +27 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/q06.md +27 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/q07.md +32 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/s01.md +29 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/s04.md +33 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/s05.md +28 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/s06.md +28 -0
- package/indexers/bundles/context-sessions-indexer/templates/articles/s07.md +31 -0
- package/indexers/bundles/context-sessions-indexer/templates/decision-record.md +43 -0
- package/indexers/bundles/context-sessions-indexer/templates/domain-reference.md +31 -0
- package/indexers/bundles/context-sessions-indexer/templates/faq-support.md +33 -0
- package/indexers/bundles/context-sessions-indexer/templates/incident-review.md +37 -0
- package/indexers/bundles/context-sessions-indexer/templates/product-requirements.md +35 -0
- package/indexers/bundles/context-sessions-indexer/templates/runbook.md +32 -0
- package/indexers/bundles/context-sessions-indexer/templates/technical-guide.md +31 -0
- package/indexers/bundles/context-sessions-indexer/templates/test-validation.md +37 -0
- package/indexers/bundles/context-sessions-indexer/templates/user-and-developer-guide.md +31 -0
- package/indexers/bundles/context-sessions-indexer/tests/fixtures/profiles.json +281 -0
- package/indexers/contracts/profile-contract.json +657 -277
- package/indexers/release-manifest.json +1120 -32
- package/package.json +14 -12
- package/parserEntryWorker.js +34606 -0
- package/plugins/README.md +24 -6
- package/plugins/README_CN.md +21 -5
- package/plugins/VERSION +1 -1
- package/plugins/claude/.claude-plugin/plugin.json +14 -3
- package/plugins/claude/commands/context-inspect-search.md +159 -0
- package/plugins/claude/commands/context.md +375 -211
- package/plugins/claude/skills/context-indexer-create/SKILL.md +80 -0
- package/plugins/claude/skills/context-indexer-create/references/guides/code-indexer-skill-authoring.md +180 -0
- package/plugins/claude/skills/context-indexer-create/references/guides/indexer-manifest-example.md +103 -0
- package/plugins/claude/skills/context-indexer-create/references/guides/indexer-provider-and-customization.md +471 -0
- package/plugins/claude/skills/context-indexer-create/references/guides/indexer-skill-creation.md +99 -0
- package/plugins/claude/skills/context-indexer-create/references/guides/markdown-indexer-skill-authoring.md +136 -0
- package/plugins/claude/skills/context-indexer-create/references/guides/note.md +37 -0
- package/plugins/claude/skills/context-indexer-create/references/guides/sessions.md +50 -0
- package/plugins/claude/skills/context-indexer-create/references/reference/indexer-provider-protocol.md +854 -0
- package/plugins/codex/.codex-plugin/plugin.json +2 -2
- package/plugins/codex/skills/context/SKILL.md +372 -211
- package/plugins/codex/skills/context/agents/openai.yaml +2 -0
- package/plugins/codex/skills/context-indexer-create/SKILL.md +80 -0
- package/plugins/codex/skills/context-indexer-create/references/guides/code-indexer-skill-authoring.md +180 -0
- package/plugins/codex/skills/context-indexer-create/references/guides/indexer-manifest-example.md +103 -0
- package/plugins/codex/skills/context-indexer-create/references/guides/indexer-provider-and-customization.md +471 -0
- package/plugins/codex/skills/context-indexer-create/references/guides/indexer-skill-creation.md +99 -0
- package/plugins/codex/skills/context-indexer-create/references/guides/markdown-indexer-skill-authoring.md +136 -0
- package/plugins/codex/skills/context-indexer-create/references/guides/note.md +37 -0
- package/plugins/codex/skills/context-indexer-create/references/guides/sessions.md +50 -0
- package/plugins/codex/skills/context-indexer-create/references/reference/indexer-provider-protocol.md +854 -0
- package/plugins/codex/skills/context-inspect-search/SKILL.md +159 -0
- package/plugins/codex/skills/context-inspect-search/agents/openai.yaml +2 -0
- package/plugins/cursor/.cursor-plugin/plugin.json +21 -5
- package/plugins/cursor/commands/c4a-context-inspect-search.md +157 -0
- package/plugins/cursor/commands/c4a-context.md +371 -214
- package/plugins/cursor/skills/context-indexer-create/SKILL.md +80 -0
- package/plugins/cursor/skills/context-indexer-create/references/guides/code-indexer-skill-authoring.md +180 -0
- package/plugins/cursor/skills/context-indexer-create/references/guides/indexer-manifest-example.md +103 -0
- package/plugins/cursor/skills/context-indexer-create/references/guides/indexer-provider-and-customization.md +471 -0
- package/plugins/cursor/skills/context-indexer-create/references/guides/indexer-skill-creation.md +99 -0
- package/plugins/cursor/skills/context-indexer-create/references/guides/markdown-indexer-skill-authoring.md +136 -0
- package/plugins/cursor/skills/context-indexer-create/references/guides/note.md +37 -0
- package/plugins/cursor/skills/context-indexer-create/references/guides/sessions.md +50 -0
- package/plugins/cursor/skills/context-indexer-create/references/reference/indexer-provider-protocol.md +854 -0
- package/plugins/skills/context/SKILL.md +372 -211
- package/plugins/skills/context/agents/openai.yaml +2 -0
- package/plugins/skills/context-code-indexer/SKILL.md +10 -1
- package/plugins/skills/context-code-indexer/context-indexer.yaml +3102 -64
- package/plugins/skills/context-code-indexer/references/article-catalog/adapter-integration-article-catalog.md +20 -0
- package/plugins/skills/context-code-indexer/references/article-catalog/api-service-article-catalog.md +20 -0
- package/plugins/skills/context-code-indexer/references/article-catalog/background-runtime-article-catalog.md +19 -0
- package/plugins/skills/context-code-indexer/references/article-catalog/cli-tool-article-catalog.md +17 -0
- package/plugins/skills/context-code-indexer/references/article-catalog/component-library-article-catalog.md +18 -0
- package/plugins/skills/context-code-indexer/references/article-catalog/contract-source-article-catalog.md +17 -0
- package/plugins/skills/context-code-indexer/references/article-catalog/data-sync-reconciliation-article-catalog.md +19 -0
- package/plugins/skills/context-code-indexer/references/article-catalog/derived-generated-source-article-catalog.md +17 -0
- package/plugins/skills/context-code-indexer/references/article-catalog/domain-service-article-catalog.md +23 -0
- package/plugins/skills/context-code-indexer/references/article-catalog/event-consumer-article-catalog.md +19 -0
- package/plugins/skills/context-code-indexer/references/article-catalog/gateway-facade-article-catalog.md +21 -0
- package/plugins/skills/context-code-indexer/references/article-catalog/monorepo-container-article-catalog.md +17 -0
- package/plugins/skills/context-code-indexer/references/article-catalog/plugin-extension-article-catalog.md +17 -0
- package/plugins/skills/context-code-indexer/references/article-catalog/sdk-library-article-catalog.md +18 -0
- package/plugins/skills/context-code-indexer/references/article-catalog/storage-repository-article-catalog.md +19 -0
- package/plugins/skills/context-code-indexer/references/article-catalog/web-application-article-catalog.md +30 -0
- package/plugins/skills/context-code-indexer/references/composers/public-contract.md +13 -1
- package/plugins/skills/context-code-indexer/references/diagrams.md +122 -0
- package/plugins/skills/context-code-indexer/references/indexer.md +184 -8
- package/plugins/skills/context-code-indexer/references/visual-source-processing.md +42 -0
- package/plugins/skills/context-code-indexer/templates/adapter-integration-maintenance-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/adapter-integration-request-adaptation-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/adapter-integration-usage-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/api-service-maintenance-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/api-service-public-api-reference.md +81 -0
- package/plugins/skills/context-code-indexer/templates/articles/c01.md +49 -0
- package/plugins/skills/context-code-indexer/templates/articles/c02.md +36 -0
- package/plugins/skills/context-code-indexer/templates/articles/c03.md +28 -0
- package/plugins/skills/context-code-indexer/templates/articles/c04.md +29 -0
- package/plugins/skills/context-code-indexer/templates/articles/c05.md +30 -0
- package/plugins/skills/context-code-indexer/templates/articles/c07.md +51 -0
- package/plugins/skills/context-code-indexer/templates/articles/d01.md +31 -0
- package/plugins/skills/context-code-indexer/templates/articles/d02.md +32 -0
- package/plugins/skills/context-code-indexer/templates/articles/d03.md +32 -0
- package/plugins/skills/context-code-indexer/templates/articles/d04.md +38 -0
- package/plugins/skills/context-code-indexer/templates/articles/f01.md +50 -0
- package/plugins/skills/context-code-indexer/templates/articles/f02.md +33 -0
- package/plugins/skills/context-code-indexer/templates/articles/f03.md +38 -0
- package/plugins/skills/context-code-indexer/templates/articles/f04.md +32 -0
- package/plugins/skills/context-code-indexer/templates/articles/f05.md +32 -0
- package/plugins/skills/context-code-indexer/templates/articles/f06.md +32 -0
- package/plugins/skills/context-code-indexer/templates/articles/f07.md +31 -0
- package/plugins/skills/context-code-indexer/templates/articles/f08.md +36 -0
- package/plugins/skills/context-code-indexer/templates/articles/f09.md +32 -0
- package/plugins/skills/context-code-indexer/templates/articles/f10.md +32 -0
- package/plugins/skills/context-code-indexer/templates/articles/f11.md +39 -0
- package/plugins/skills/context-code-indexer/templates/articles/f12.md +59 -0
- package/plugins/skills/context-code-indexer/templates/articles/l01.md +38 -0
- package/plugins/skills/context-code-indexer/templates/articles/l02.md +103 -0
- package/plugins/skills/context-code-indexer/templates/articles/l03.md +92 -0
- package/plugins/skills/context-code-indexer/templates/articles/l04.md +30 -0
- package/plugins/skills/context-code-indexer/templates/articles/l05.md +50 -0
- package/plugins/skills/context-code-indexer/templates/articles/q03.md +29 -0
- package/plugins/skills/context-code-indexer/templates/articles/q05.md +29 -0
- package/plugins/skills/context-code-indexer/templates/articles/q06.md +29 -0
- package/plugins/skills/context-code-indexer/templates/articles/s01.md +31 -0
- package/plugins/skills/context-code-indexer/templates/articles/s02.md +30 -0
- package/plugins/skills/context-code-indexer/templates/articles/s03.md +34 -0
- package/plugins/skills/context-code-indexer/templates/articles/s04.md +35 -0
- package/plugins/skills/context-code-indexer/templates/articles/s05.md +30 -0
- package/plugins/skills/context-code-indexer/templates/articles/s06.md +30 -0
- package/plugins/skills/context-code-indexer/templates/articles/s07.md +33 -0
- package/plugins/skills/context-code-indexer/templates/background-runtime-maintenance-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/background-runtime-task-runtime-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/cli-tool-maintenance-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/cli-tool-public-api-reference.md +81 -0
- package/plugins/skills/context-code-indexer/templates/cli-tool-usage-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/component-library-maintenance-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/component-library-public-api-reference.md +81 -0
- package/plugins/skills/context-code-indexer/templates/component-library-usage-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/component-library.md +40 -3
- package/plugins/skills/context-code-indexer/templates/contract-source-public-api-reference.md +81 -0
- package/plugins/skills/context-code-indexer/templates/contract-source-usage-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/contract-source.md +49 -0
- package/plugins/skills/context-code-indexer/templates/data-sync-reconciliation-maintenance-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/data-sync-reconciliation-task-runtime-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/derived-generated-source-public-api-reference.md +81 -0
- package/plugins/skills/context-code-indexer/templates/derived-generated-source-usage-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/derived-generated-source.md +15 -0
- package/plugins/skills/context-code-indexer/templates/domain-service-maintenance-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/domain-service-public-api-reference.md +81 -0
- package/plugins/skills/context-code-indexer/templates/event-consumer-maintenance-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/event-consumer-task-runtime-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/gateway-facade-maintenance-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/gateway-facade-public-api-reference.md +81 -0
- package/plugins/skills/context-code-indexer/templates/gateway-facade-request-adaptation-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/monorepo-container-maintenance-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/monorepo-container-usage-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/monorepo-container.md +9 -0
- package/plugins/skills/context-code-indexer/templates/plugin-extension-maintenance-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/plugin-extension-public-api-reference.md +81 -0
- package/plugins/skills/context-code-indexer/templates/plugin-extension-usage-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/sdk-library-maintenance-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/sdk-library-public-api-reference.md +81 -0
- package/plugins/skills/context-code-indexer/templates/sdk-library-usage-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/storage-repository-maintenance-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/storage-repository-public-api-reference.md +81 -0
- package/plugins/skills/context-code-indexer/templates/web-application-federation-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/web-application-maintenance-guide.md +81 -0
- package/plugins/skills/context-code-indexer/templates/web-application-page-task-guide.md +81 -0
- package/plugins/skills/context-code-indexer/tests/fixtures/composers.json +1 -1
- package/plugins/skills/context-code-indexer/tests/fixtures/scenarios.json +1 -1
- package/plugins/skills/context-indexer-create/SKILL.md +80 -0
- package/plugins/skills/context-indexer-create/references/guides/code-indexer-skill-authoring.md +180 -0
- package/plugins/skills/context-indexer-create/references/guides/indexer-manifest-example.md +103 -0
- package/plugins/skills/context-indexer-create/references/guides/indexer-provider-and-customization.md +471 -0
- package/plugins/skills/context-indexer-create/references/guides/indexer-skill-creation.md +99 -0
- package/plugins/skills/context-indexer-create/references/guides/markdown-indexer-skill-authoring.md +136 -0
- package/plugins/skills/context-indexer-create/references/guides/note.md +37 -0
- package/plugins/skills/context-indexer-create/references/guides/sessions.md +50 -0
- package/plugins/skills/context-indexer-create/references/reference/indexer-provider-protocol.md +854 -0
- package/plugins/skills/context-inspect-search/SKILL.md +159 -0
- package/plugins/skills/context-inspect-search/agents/openai.yaml +2 -0
- package/plugins/skills/context-markdown-indexer/SKILL.md +7 -1
- package/plugins/skills/context-markdown-indexer/context-indexer.yaml +856 -15
- package/plugins/skills/context-markdown-indexer/references/article-catalog/decision-record-article-catalog.md +7 -0
- package/plugins/skills/context-markdown-indexer/references/article-catalog/documentation-site-article-catalog.md +8 -0
- package/plugins/skills/context-markdown-indexer/references/article-catalog/domain-reference-article-catalog.md +14 -0
- package/plugins/skills/context-markdown-indexer/references/article-catalog/faq-support-article-catalog.md +8 -0
- package/plugins/skills/context-markdown-indexer/references/article-catalog/incident-review-article-catalog.md +9 -0
- package/plugins/skills/context-markdown-indexer/references/article-catalog/product-requirements-article-catalog.md +8 -0
- package/plugins/skills/context-markdown-indexer/references/article-catalog/public-api-reference-article-catalog.md +10 -0
- package/plugins/skills/context-markdown-indexer/references/article-catalog/release-migration-guide-article-catalog.md +11 -0
- package/plugins/skills/context-markdown-indexer/references/article-catalog/runbook-article-catalog.md +12 -0
- package/plugins/skills/context-markdown-indexer/references/article-catalog/standard-policy-article-catalog.md +10 -0
- package/plugins/skills/context-markdown-indexer/references/article-catalog/technical-guide-article-catalog.md +20 -0
- package/plugins/skills/context-markdown-indexer/references/article-catalog/test-validation-article-catalog.md +11 -0
- package/plugins/skills/context-markdown-indexer/references/article-catalog/user-and-developer-guide-article-catalog.md +13 -0
- package/plugins/skills/context-markdown-indexer/references/diagrams.md +122 -0
- package/plugins/skills/context-markdown-indexer/references/editorial-policy.md +19 -29
- package/plugins/skills/context-markdown-indexer/references/indexer.md +63 -2
- package/plugins/skills/context-markdown-indexer/references/semantic-planning.md +22 -8
- package/plugins/skills/context-markdown-indexer/references/visual-source-processing.md +42 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/c01.md +37 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/c02.md +34 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/c03.md +26 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/c04.md +27 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/c05.md +28 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/c06.md +28 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/c07.md +27 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/d01.md +29 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/d02.md +30 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/d03.md +30 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/d04.md +44 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/f01.md +30 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/f05.md +30 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/f06.md +30 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/f08.md +34 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/f09.md +30 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/l01.md +35 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/l02.md +101 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/l03.md +90 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/l04.md +28 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/l05.md +48 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/q01.md +32 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/q02.md +33 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/q03.md +27 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/q04.md +32 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/q05.md +27 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/q06.md +27 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/q07.md +32 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/s01.md +29 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/s02.md +27 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/s03.md +31 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/s04.md +33 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/s05.md +28 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/s06.md +28 -0
- package/plugins/skills/context-markdown-indexer/templates/articles/s07.md +31 -0
- package/plugins/skills/context-note-indexer/SKILL.md +16 -0
- package/plugins/skills/context-note-indexer/context-indexer.yaml +1459 -0
- package/plugins/skills/context-note-indexer/references/article-catalog/decision-record-article-catalog.md +7 -0
- package/plugins/skills/context-note-indexer/references/article-catalog/domain-reference-article-catalog.md +14 -0
- package/plugins/skills/context-note-indexer/references/article-catalog/faq-support-article-catalog.md +8 -0
- package/plugins/skills/context-note-indexer/references/article-catalog/incident-review-article-catalog.md +9 -0
- package/plugins/skills/context-note-indexer/references/article-catalog/product-requirements-article-catalog.md +8 -0
- package/plugins/skills/context-note-indexer/references/article-catalog/runbook-article-catalog.md +12 -0
- package/plugins/skills/context-note-indexer/references/article-catalog/technical-guide-article-catalog.md +20 -0
- package/plugins/skills/context-note-indexer/references/article-catalog/test-validation-article-catalog.md +11 -0
- package/plugins/skills/context-note-indexer/references/article-catalog/user-and-developer-guide-article-catalog.md +13 -0
- package/plugins/skills/context-note-indexer/references/classification.md +55 -0
- package/plugins/skills/context-note-indexer/references/customization.md +36 -0
- package/plugins/skills/context-note-indexer/references/diagrams.md +122 -0
- package/plugins/skills/context-note-indexer/references/extension-placement.md +57 -0
- package/plugins/skills/context-note-indexer/references/indexer.md +43 -0
- package/plugins/skills/context-note-indexer/references/updates-and-composition.md +37 -0
- package/plugins/skills/context-note-indexer/references/visual-source-processing.md +42 -0
- package/plugins/skills/context-note-indexer/references/writing.md +57 -0
- package/plugins/skills/context-note-indexer/templates/articles/c01.md +37 -0
- package/plugins/skills/context-note-indexer/templates/articles/c02.md +34 -0
- package/plugins/skills/context-note-indexer/templates/articles/c03.md +26 -0
- package/plugins/skills/context-note-indexer/templates/articles/c04.md +27 -0
- package/plugins/skills/context-note-indexer/templates/articles/c05.md +28 -0
- package/plugins/skills/context-note-indexer/templates/articles/c06.md +28 -0
- package/plugins/skills/context-note-indexer/templates/articles/c07.md +27 -0
- package/plugins/skills/context-note-indexer/templates/articles/d01.md +29 -0
- package/plugins/skills/context-note-indexer/templates/articles/d02.md +30 -0
- package/plugins/skills/context-note-indexer/templates/articles/d03.md +30 -0
- package/plugins/skills/context-note-indexer/templates/articles/d04.md +36 -0
- package/plugins/skills/context-note-indexer/templates/articles/f01.md +30 -0
- package/plugins/skills/context-note-indexer/templates/articles/f06.md +30 -0
- package/plugins/skills/context-note-indexer/templates/articles/f08.md +34 -0
- package/plugins/skills/context-note-indexer/templates/articles/f09.md +30 -0
- package/plugins/skills/context-note-indexer/templates/articles/l01.md +35 -0
- package/plugins/skills/context-note-indexer/templates/articles/l02.md +101 -0
- package/plugins/skills/context-note-indexer/templates/articles/l03.md +90 -0
- package/plugins/skills/context-note-indexer/templates/articles/l04.md +28 -0
- package/plugins/skills/context-note-indexer/templates/articles/l05.md +48 -0
- package/plugins/skills/context-note-indexer/templates/articles/q01.md +32 -0
- package/plugins/skills/context-note-indexer/templates/articles/q02.md +33 -0
- package/plugins/skills/context-note-indexer/templates/articles/q03.md +27 -0
- package/plugins/skills/context-note-indexer/templates/articles/q04.md +32 -0
- package/plugins/skills/context-note-indexer/templates/articles/q05.md +27 -0
- package/plugins/skills/context-note-indexer/templates/articles/q06.md +27 -0
- package/plugins/skills/context-note-indexer/templates/articles/q07.md +32 -0
- package/plugins/skills/context-note-indexer/templates/articles/s01.md +29 -0
- package/plugins/skills/context-note-indexer/templates/articles/s04.md +33 -0
- package/plugins/skills/context-note-indexer/templates/articles/s05.md +28 -0
- package/plugins/skills/context-note-indexer/templates/articles/s06.md +28 -0
- package/plugins/skills/context-note-indexer/templates/articles/s07.md +31 -0
- package/plugins/skills/context-note-indexer/templates/decision-record.md +33 -0
- package/plugins/skills/context-note-indexer/templates/domain-reference.md +31 -0
- package/plugins/skills/context-note-indexer/templates/faq-support.md +30 -0
- package/plugins/skills/context-note-indexer/templates/incident-review.md +28 -0
- package/plugins/skills/context-note-indexer/templates/product-requirements.md +29 -0
- package/plugins/skills/context-note-indexer/templates/runbook.md +30 -0
- package/plugins/skills/context-note-indexer/templates/technical-guide.md +31 -0
- package/plugins/skills/context-note-indexer/templates/test-validation.md +28 -0
- package/plugins/skills/context-note-indexer/templates/user-and-developer-guide.md +28 -0
- package/plugins/skills/context-note-indexer/tests/fixtures/profiles.json +281 -0
- package/plugins/skills/context-sessions-indexer/SKILL.md +16 -0
- package/plugins/skills/context-sessions-indexer/context-indexer.yaml +1459 -0
- package/plugins/skills/context-sessions-indexer/references/article-catalog/decision-record-article-catalog.md +7 -0
- package/plugins/skills/context-sessions-indexer/references/article-catalog/domain-reference-article-catalog.md +14 -0
- package/plugins/skills/context-sessions-indexer/references/article-catalog/faq-support-article-catalog.md +8 -0
- package/plugins/skills/context-sessions-indexer/references/article-catalog/incident-review-article-catalog.md +9 -0
- package/plugins/skills/context-sessions-indexer/references/article-catalog/product-requirements-article-catalog.md +8 -0
- package/plugins/skills/context-sessions-indexer/references/article-catalog/runbook-article-catalog.md +12 -0
- package/plugins/skills/context-sessions-indexer/references/article-catalog/technical-guide-article-catalog.md +20 -0
- package/plugins/skills/context-sessions-indexer/references/article-catalog/test-validation-article-catalog.md +11 -0
- package/plugins/skills/context-sessions-indexer/references/article-catalog/user-and-developer-guide-article-catalog.md +13 -0
- package/plugins/skills/context-sessions-indexer/references/classification.md +56 -0
- package/plugins/skills/context-sessions-indexer/references/customization.md +36 -0
- package/plugins/skills/context-sessions-indexer/references/diagrams.md +122 -0
- package/plugins/skills/context-sessions-indexer/references/extension-placement.md +63 -0
- package/plugins/skills/context-sessions-indexer/references/indexer.md +48 -0
- package/plugins/skills/context-sessions-indexer/references/updates-and-composition.md +37 -0
- package/plugins/skills/context-sessions-indexer/references/visual-source-processing.md +42 -0
- package/plugins/skills/context-sessions-indexer/references/writing.md +63 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/c01.md +37 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/c02.md +34 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/c03.md +26 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/c04.md +27 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/c05.md +28 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/c06.md +28 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/c07.md +27 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/d01.md +29 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/d02.md +30 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/d03.md +30 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/d04.md +36 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/f01.md +30 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/f06.md +30 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/f08.md +34 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/f09.md +30 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/l01.md +35 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/l02.md +101 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/l03.md +90 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/l04.md +28 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/l05.md +48 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/q01.md +32 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/q02.md +33 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/q03.md +27 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/q04.md +32 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/q05.md +27 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/q06.md +27 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/q07.md +32 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/s01.md +29 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/s04.md +33 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/s05.md +28 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/s06.md +28 -0
- package/plugins/skills/context-sessions-indexer/templates/articles/s07.md +31 -0
- package/plugins/skills/context-sessions-indexer/templates/decision-record.md +43 -0
- package/plugins/skills/context-sessions-indexer/templates/domain-reference.md +31 -0
- package/plugins/skills/context-sessions-indexer/templates/faq-support.md +33 -0
- package/plugins/skills/context-sessions-indexer/templates/incident-review.md +37 -0
- package/plugins/skills/context-sessions-indexer/templates/product-requirements.md +35 -0
- package/plugins/skills/context-sessions-indexer/templates/runbook.md +32 -0
- package/plugins/skills/context-sessions-indexer/templates/technical-guide.md +31 -0
- package/plugins/skills/context-sessions-indexer/templates/test-validation.md +37 -0
- package/plugins/skills/context-sessions-indexer/templates/user-and-developer-guide.md +31 -0
- package/plugins/skills/context-sessions-indexer/tests/fixtures/profiles.json +281 -0
- package/providers/context/actions/advance-knowledge-maintenance.yaml +5 -0
- package/providers/context/actions/author-approved-revision.yaml +6 -0
- package/providers/context/actions/finish-rollback.yaml +5 -0
- package/providers/context/actions/inspect-source-update.yaml +6 -0
- package/providers/context/actions/inspect-task-recovery.yaml +5 -0
- package/providers/context/actions/record-workspace-version.yaml +5 -0
- package/providers/context/actions/register-source-batch.yaml +1 -1
- package/providers/context/actions/repair-project-entry.yaml +9 -0
- package/providers/context/actions/resume-workspace-task.yaml +5 -0
- package/providers/context/codes.yaml +11 -0
- package/providers/context/graphs/indexer.yaml +93 -2
- package/providers/context/graphs/workspace.yaml +86 -6
- package/providers/context/manifest.json +371 -59
- package/providers/context/provider.yaml +1 -1
- package/providers/context/resources/contracts/indexer-provider-guide.yaml +6 -0
- package/providers/context/resources/contracts/indexer-registry-bootstrap.yaml +6 -0
- package/providers/context/resources/diagnostics/verification.md +6 -4
- package/providers/context/resources/dialogue/knowledge-review.md +16 -9
- package/providers/context/resources/dialogue/package-output.md +18 -5
- package/providers/context/resources/dialogue/source-boundary.md +12 -2
- package/providers/context/resources/dialogue/workflow-mode-after-creation.md +15 -17
- package/providers/context/resources/manuals/guides/knowledge-updates.md +428 -0
- package/providers/context/resources/manuals/guides/lark-resources.md +5 -1
- package/providers/context/resources/manuals/guides/note.md +43 -0
- package/providers/context/resources/manuals/guides/package-outputs.md +231 -60
- package/providers/context/resources/manuals/guides/sessions.md +56 -0
- package/providers/context/resources/manuals/guides/workspace-commit.md +51 -0
- package/providers/context/resources/manuals/guides/workspace-prepare.md +78 -0
- package/providers/context/resources/manuals/guides/workspace-restore.md +65 -0
- package/providers/context/resources/manuals/reference/code-extractors.md +57 -0
- package/providers/context/resources/manuals/reference/package-templates.md +10 -9
- package/providers/context/resources/manuals/reference/project-api.md +100 -13
- package/providers/context/resources/manuals/reference/template-variables.md +7 -7
- package/providers/context/resources/procedures/approved-revision.md +159 -0
- package/providers/context/resources/procedures/close-and-build.md +58 -1
- package/providers/context/resources/procedures/homogeneous-source-review.md +123 -0
- package/providers/context/resources/procedures/knowledge-maintenance.md +68 -0
- package/providers/context/resources/procedures/knowledge-review.md +69 -6
- package/providers/context/resources/procedures/knowledge-updates.md +428 -0
- package/providers/context/resources/procedures/note.md +43 -0
- package/providers/context/resources/procedures/package-output.md +20 -1
- package/providers/context/resources/procedures/parallel-agent-batch.md +140 -0
- package/providers/context/resources/procedures/project-configuration.md +6 -0
- package/providers/context/resources/procedures/sessions.md +56 -0
- package/providers/context/resources/procedures/source-boundary.md +24 -1
- package/providers/context/resources/procedures/source-capture-detailed.md +36 -2
- package/providers/context/resources/procedures/source-update.md +50 -0
- package/providers/context/resources/procedures/task-recovery.md +71 -0
- package/providers/context/resources/procedures/verify-and-repair.md +5 -0
- package/providers/context/resources/procedures/work-start-report.md +419 -0
- package/providers/context/resources/procedures/workspace-commit.md +51 -0
- package/providers/context/resources/procedures/workspace-prepare.md +78 -0
- package/providers/context/resources/procedures/workspace-restore.md +65 -0
- package/providers/context/resources/templates/indexer-agent-worker.md +67 -0
- package/providers/context/resources/templates/recovery-issue.md +54 -0
- package/providers/context/resources/templates/work-start-report.md +302 -0
- package/providers/context/schemas/approved-revision-result.schema.json +88 -0
- package/providers/context/schemas/indexer-agent-step-result.schema.json +2232 -318
- package/providers/context/schemas/indexer-main-lifecycle-output.schema.json +1 -2
- package/providers/context/schemas/indexer-registry-bootstrap.schema.json +227 -0
- package/providers/context/schemas/source-batch-input.schema.json +15 -8
- package/providers/context/schemas/source-update-result.schema.json +83 -0
- package/providers/context/skills/configure-indexer-providers/SKILL.md +70 -5
- package/providers/context/skills/configure-indexer-providers/references/guides/code-indexer-skill-authoring.md +180 -0
- package/providers/context/skills/configure-indexer-providers/references/guides/indexer-provider-and-customization.md +471 -0
- package/providers/context/skills/configure-indexer-providers/references/guides/markdown-indexer-skill-authoring.md +136 -0
- package/providers/context/skills/configure-indexer-providers/references/guides/note.md +37 -0
- package/providers/context/skills/configure-indexer-providers/references/guides/sessions.md +50 -0
- package/providers/context/skills/configure-indexer-providers/references/reference/indexer-provider-protocol.md +854 -0
- package/providers/context/skills/prepare-indexer-customization-project/SKILL.md +1 -1
- package/providers/context/skills/propose-indexer-customization/SKILL.md +1 -1
- package/providers/context/skills/record-workspace-version/SKILL.md +46 -0
- package/providers/context/skills/recover-workspace/SKILL.md +15 -0
- package/providers/context/skills/resolve-current-indexer-gate/SKILL.md +33 -1
- package/providers/context/skills/run-indexer-agent-step/SKILL.md +403 -26
- package/providers/context/skills/run-indexer-lifecycle/SKILL.md +188 -1
- package/providers/context/skills/run-indexer-post-author-composer/SKILL.md +60 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: context.article.c02
|
|
3
|
+
kind: procedure
|
|
4
|
+
media-type: text/markdown
|
|
5
|
+
program:
|
|
6
|
+
article: c02
|
|
7
|
+
policies:
|
|
8
|
+
- standard
|
|
9
|
+
sections:
|
|
10
|
+
goals: 业务目标
|
|
11
|
+
actors: 角色与场景
|
|
12
|
+
prerequisites: 使用前提
|
|
13
|
+
operations: 操作与结果
|
|
14
|
+
exceptions: 规则与异常
|
|
15
|
+
acceptance: 验收依据
|
|
16
|
+
version: 版本和范围
|
|
17
|
+
capabilities: 能力边界
|
|
18
|
+
flows: 主要流程入口
|
|
19
|
+
references: 相关系统与文档
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
# C02 业务概览
|
|
23
|
+
|
|
24
|
+
This is a writing blueprint, not a completion gate. Adapt the headings and level of detail to the reader, evidence and language. Missing or additional chapters and ordinary version differences are advisory. Preserve real source coordinates and a useful next investigation step.
|
|
25
|
+
|
|
26
|
+
适用:有业务说明、真实页面或用例能够支持业务定位时。建议章节为 **业务目标 → 角色与场景 → 能力边界 → 主要流程入口 → 相关系统与文档**。每个场景至少给角色、触发动作和代码/资料定位;业务指标与历史原因只在权威资料支持时增加。
|
|
27
|
+
|
|
28
|
+
与 C01 区别:C01 帮读者找资料,C02 解释业务。内容过少时合并到 C01;不根据目录名虚构经营目标或业务指标。
|
|
29
|
+
|
|
30
|
+
**纯产品与功能说明变体**:只有产品文档时也可独立采用。产品总览使用 **目标与适用对象 → 场景与角色 → 功能地图 → 使用与规则入口 → 版本和范围**;功能详情使用 **用户任务 → 前置条件 → 操作与结果 → 规则和异常 → 验收依据 → 相关资料**。需求中的预期、已发布行为和用户观察分别标明,不把需求文档直接当作线上已实现。详细操作可由已有用户指南承载,验收资料关联 Q03/Q04;不强制出现源码、API 或部署章节。
|
|
31
|
+
|
|
32
|
+
## 图示选择
|
|
33
|
+
|
|
34
|
+
在业务流程或操作章节用 flowchart TD;产品方案与已发布行为分别标注。 图放在对应解释章节,图前说明目的与范围,图后给来源和继续位置;按已下发的共用图示指导编写,无增益时省略,不增加独立必填章节。
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: context.article.c03
|
|
3
|
+
kind: procedure
|
|
4
|
+
media-type: text/markdown
|
|
5
|
+
program:
|
|
6
|
+
article: c03
|
|
7
|
+
policies:
|
|
8
|
+
- standard
|
|
9
|
+
sections:
|
|
10
|
+
scope: 适用范围
|
|
11
|
+
terms: 术语表
|
|
12
|
+
distinctions: 易混概念
|
|
13
|
+
references: 相关入口
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
# C03 术语与标识
|
|
17
|
+
|
|
18
|
+
This is a writing blueprint, not a completion gate. Adapt the headings and level of detail to the reader, evidence and language. Missing or additional chapters and ordinary version differences are advisory. Preserve real source coordinates and a useful next investigation step.
|
|
19
|
+
|
|
20
|
+
适用:中文业务名、产品名、路由、API、领域类型之间存在定位需求。建议章节为 **适用范围 → 术语表 → 易混概念 → 相关入口**。
|
|
21
|
+
|
|
22
|
+
表格列:读者用语、代码/协议标识、含义、适用范围、来源与相关页。同义词必须来自材料或真实问题;不把同名字段视为同一业务概念。短表并入模块概览,跨模块通用词仅维护一份。
|
|
23
|
+
|
|
24
|
+
## 图示选择
|
|
25
|
+
|
|
26
|
+
术语优先表格;有明确概念关系才补带关系标签的 flowchart,不凭同名连线。 图放在对应解释章节,图前说明目的与范围,图后给来源和继续位置;按已下发的共用图示指导编写,无增益时省略,不增加独立必填章节。
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: context.article.c04
|
|
3
|
+
kind: procedure
|
|
4
|
+
media-type: text/markdown
|
|
5
|
+
program:
|
|
6
|
+
article: c04
|
|
7
|
+
policies:
|
|
8
|
+
- standard
|
|
9
|
+
sections:
|
|
10
|
+
layers: 依赖分层
|
|
11
|
+
catalog: 核心依赖表
|
|
12
|
+
initialization: 初始化与注入
|
|
13
|
+
compatibility: 兼容和版本约束
|
|
14
|
+
boundaries: 跨边界定位
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
# C04 依赖与协作边界
|
|
18
|
+
|
|
19
|
+
This is a writing blueprint, not a completion gate. Adapt the headings and level of detail to the reader, evidence and language. Missing or additional chapters and ordinary version differences are advisory. Preserve real source coordinates and a useful next investigation step.
|
|
20
|
+
|
|
21
|
+
适用:依赖影响模块运行、改动、问题归属时。建议章节为 **依赖分层 → 核心依赖表 → 初始化与注入 → 兼容和版本约束 → 跨边界定位**。
|
|
22
|
+
|
|
23
|
+
表格列:依赖身份、用途、使用位置、版本/来源、静态导入或运行时加载、继续查阅入口。前端包依赖、后端运行时调用分别使用自己的证据;锁文件证明版本,调用点才证明使用。全部依赖清单不直接变成读者正文。
|
|
24
|
+
|
|
25
|
+
## 图示选择
|
|
26
|
+
|
|
27
|
+
依赖章节用 flowchart LR,分别标注导入、调用、注入,不混同运行关系。 图放在对应解释章节,图前说明目的与范围,图后给来源和继续位置;按已下发的共用图示指导编写,无增益时省略,不增加独立必填章节。
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: context.article.c05
|
|
3
|
+
kind: procedure
|
|
4
|
+
media-type: text/markdown
|
|
5
|
+
program:
|
|
6
|
+
article: c05
|
|
7
|
+
policies:
|
|
8
|
+
- standard
|
|
9
|
+
sections:
|
|
10
|
+
symptoms: 现象索引
|
|
11
|
+
conditions: 适用条件
|
|
12
|
+
findings: 已知事实与判断
|
|
13
|
+
diagnosis: 排查步骤
|
|
14
|
+
recovery: 修复与验证
|
|
15
|
+
sources: 来源
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
# C05 已知问题与排障
|
|
19
|
+
|
|
20
|
+
This is a writing blueprint, not a completion gate. Adapt the headings and level of detail to the reader, evidence and language. Missing or additional chapters and ordinary version differences are advisory. Preserve real source coordinates and a useful next investigation step.
|
|
21
|
+
|
|
22
|
+
适用:存在已核实缺陷、受限能力、历史事件或具体可复现现象。建议章节为 **现象索引 → 适用条件 → 已知事实与判断 → 排查步骤 → 修复/绕行及验证 → 来源**。
|
|
23
|
+
|
|
24
|
+
记录列:现象、版本/环境、定位点、结论状态、下一步。TODO/FIXME 只能作为维护线索,不自动认定线上故障;已修问题标明适用历史版本。没有可信条目时不生成空的 known-issues 页。
|
|
25
|
+
|
|
26
|
+
## 图示选择
|
|
27
|
+
|
|
28
|
+
诊断步骤可用 flowchart TD,保留失败出口与下一步;不要画未经证实的根因链。 图放在对应解释章节,图前说明目的与范围,图后给来源和继续位置;按已下发的共用图示指导编写,无增益时省略,不增加独立必填章节。
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: context.article.c06
|
|
3
|
+
kind: procedure
|
|
4
|
+
media-type: text/markdown
|
|
5
|
+
program:
|
|
6
|
+
article: c06
|
|
7
|
+
policies:
|
|
8
|
+
- standard
|
|
9
|
+
sections:
|
|
10
|
+
context: 背景与问题
|
|
11
|
+
decision: 结论与状态
|
|
12
|
+
alternatives: 选项与取舍
|
|
13
|
+
impact: 影响范围
|
|
14
|
+
followup: 后续行动
|
|
15
|
+
sources: 来源与版本
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
# C06 补充说明与决策
|
|
19
|
+
|
|
20
|
+
This is a writing blueprint, not a completion gate. Adapt the headings and level of detail to the reader, evidence and language. Missing or additional chapters and ordinary version differences are advisory. Preserve real source coordinates and a useful next investigation step.
|
|
21
|
+
|
|
22
|
+
适用:有被保存的业务说明、约定、讨论结论或事件复盘。建议章节为 **背景和问题 → 已确认说明/决定 → 依据与适用范围 → 对现有能力的影响 → 关联代码和文档**。
|
|
23
|
+
|
|
24
|
+
沿用 Note/Sessions 的引用、观察、推测和纠正区分。能融入现有主题时优先更新对应章节;只有独立阅读价值才保留单篇。不会为每个模块预生成 supplements.md 或复制相同空框架。
|
|
25
|
+
|
|
26
|
+
## 图示选择
|
|
27
|
+
|
|
28
|
+
决策或历史过程可用 flowchart,标明采纳状态、时点和来源;短决定使用文字。 图放在对应解释章节,图前说明目的与范围,图后给来源和继续位置;按已下发的共用图示指导编写,无增益时省略,不增加独立必填章节。
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: context.article.c07
|
|
3
|
+
kind: procedure
|
|
4
|
+
media-type: text/markdown
|
|
5
|
+
program:
|
|
6
|
+
article: c07
|
|
7
|
+
policies:
|
|
8
|
+
- standard
|
|
9
|
+
sections:
|
|
10
|
+
entries: 问题到入口
|
|
11
|
+
identity: 源码身份与版本
|
|
12
|
+
reading: 推荐阅读顺序
|
|
13
|
+
boundaries: 外部边界
|
|
14
|
+
evidence: 进一步证据
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
# C07 从知识继续查源码
|
|
18
|
+
|
|
19
|
+
This is a writing blueprint, not a completion gate. Adapt the headings and level of detail to the reader, evidence and language. Missing or additional chapters and ordinary version differences are advisory. Preserve real source coordinates and a useful next investigation step.
|
|
20
|
+
|
|
21
|
+
适用:入口优先的业务知识包,尤其是只持有 dist 的消费 Agent。建议章节为 **问题到入口的映射 → 源码身份与版本 → 推荐阅读顺序 → 外部边界 → 何时需要进一步证据**。
|
|
22
|
+
|
|
23
|
+
定位记录:仓库身份、仓内路径/符号、证据版本、已证明到哪一层、接着读什么。在包内返回可执行的阅读指引;工作区 inspect 与包外源码归因遵循各自现有能力和授权,不声称普通 dist query 会自动 clone。无需在每篇文章重复整套工作流,只保留本篇起点和相关指引链接。
|
|
24
|
+
|
|
25
|
+
## 图示选择
|
|
26
|
+
|
|
27
|
+
源码坐标优先表格,阅读顺序可用 text 树;跨边界路径有证据再画 flowchart,并写下一步。 图放在对应解释章节,图前说明目的与范围,图后给来源和继续位置;按已下发的共用图示指导编写,无增益时省略,不增加独立必填章节。
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: context.article.d01
|
|
3
|
+
kind: procedure
|
|
4
|
+
media-type: text/markdown
|
|
5
|
+
program:
|
|
6
|
+
article: d01
|
|
7
|
+
policies:
|
|
8
|
+
- standard
|
|
9
|
+
sections:
|
|
10
|
+
scope: 领域职责
|
|
11
|
+
services: 服务分工
|
|
12
|
+
entries: 入口与调用边界
|
|
13
|
+
collaboration: 数据与事件协作
|
|
14
|
+
references: 阅读导航
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
# D01 领域架构与服务地图
|
|
18
|
+
|
|
19
|
+
This is a writing blueprint, not a completion gate. Adapt the headings and level of detail to the reader, evidence and language. Missing or additional chapters and ordinary version differences are advisory. Preserve real source coordinates and a useful next investigation step.
|
|
20
|
+
|
|
21
|
+
生成条件:多个已登记服务存在共同业务主题或明确协作关系。
|
|
22
|
+
|
|
23
|
+
建议章节:**领域职责 → 服务分工 → 入口与调用边界 → 主要数据/事件协作 → 阅读导航**。
|
|
24
|
+
|
|
25
|
+
服务表列:服务名/运行身份、仓库模块、职责依据、入口、下游边界、详细文章。图区分有证据的调用与仅共属某领域的节点;同组摆放不等于调用关系。未深化服务可直接保留可用源码入口。
|
|
26
|
+
|
|
27
|
+
## 图示选择
|
|
28
|
+
|
|
29
|
+
服务地图用 flowchart LR,分组只表示归属,调用必须另有带标签的边及来源。 图放在对应解释章节,图前说明目的与范围,图后给来源和继续位置;按已下发的共用图示指导编写,无增益时省略,不增加独立必填章节。
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: context.article.d02
|
|
3
|
+
kind: procedure
|
|
4
|
+
media-type: text/markdown
|
|
5
|
+
program:
|
|
6
|
+
article: d02
|
|
7
|
+
policies:
|
|
8
|
+
- standard
|
|
9
|
+
sections:
|
|
10
|
+
trigger: 场景与触发
|
|
11
|
+
actors: 参与方
|
|
12
|
+
flow: 主流程
|
|
13
|
+
branches: 分支与状态
|
|
14
|
+
failures: 失败和下一步
|
|
15
|
+
sources: 源码链路与证据边界
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
# D02 业务流程与跨层链路
|
|
19
|
+
|
|
20
|
+
This is a writing blueprint, not a completion gate. Adapt the headings and level of detail to the reader, evidence and language. Missing or additional chapters and ordinary version differences are advisory. Preserve real source coordinates and a useful next investigation step.
|
|
21
|
+
|
|
22
|
+
生成条件:有具体业务动作且相关来源已登记。适用于后端跨服务流程,也可跨前后端组织。
|
|
23
|
+
|
|
24
|
+
建议章节:**场景与触发 → 参与方 → 主流程 → 关键分支与状态 → 失败和下一步 → 源码链路与证据边界**。
|
|
25
|
+
|
|
26
|
+
步骤表列:动作、实现位置、输入/输出、下游、终止或继续条件。sequence/flow 图只绘制已证明的边;对授权范围外的服务终止在具名边界并提供入口。入口优先版本可仅写已有首跳,深度闭环作为后续增强。
|
|
27
|
+
|
|
28
|
+
## 图示选择
|
|
29
|
+
|
|
30
|
+
业务主流程用 flowchart TD,跨层交互用 sequenceDiagram;两图承担不同问题,避免重复。 图放在对应解释章节,图前说明目的与范围,图后给来源和继续位置;按已下发的共用图示指导编写,无增益时省略,不增加独立必填章节。
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: context.article.d03
|
|
3
|
+
kind: procedure
|
|
4
|
+
media-type: text/markdown
|
|
5
|
+
program:
|
|
6
|
+
article: d03
|
|
7
|
+
policies:
|
|
8
|
+
- standard
|
|
9
|
+
sections:
|
|
10
|
+
scope: 业务与版本
|
|
11
|
+
catalog: 规则分类
|
|
12
|
+
conditions: 条件与结果
|
|
13
|
+
implementation: 执行位置
|
|
14
|
+
conflicts: 例外与冲突
|
|
15
|
+
references: 相关流程
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
# D03 业务规则
|
|
19
|
+
|
|
20
|
+
This is a writing blueprint, not a completion gate. Adapt the headings and level of detail to the reader, evidence and language. Missing or additional chapters and ordinary version differences are advisory. Preserve real source coordinates and a useful next investigation step.
|
|
21
|
+
|
|
22
|
+
生成条件:存在规则文档、条件判断、校验、枚举含义或领域不变量。
|
|
23
|
+
|
|
24
|
+
建议章节:**适用业务与版本 → 规则分类 → 条件与结果 → 执行位置 → 例外与冲突 → 相关流程**。
|
|
25
|
+
|
|
26
|
+
规则表列:规则名、作用对象、前提、允许/禁止或计算结果、代码/文档来源。区分客户端提示、网关校验、领域强制规则;以名字相同判断实现一致不可接受。代码推导规则标明证据,不解释无材料支持的商业原因。
|
|
27
|
+
|
|
28
|
+
## 图示选择
|
|
29
|
+
|
|
30
|
+
条件规则可用 flowchart TD;精确规则与例外保留表格,未知分支明确说明。 图放在对应解释章节,图前说明目的与范围,图后给来源和继续位置;按已下发的共用图示指导编写,无增益时省略,不增加独立必填章节。
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: context.article.d04
|
|
3
|
+
kind: procedure
|
|
4
|
+
media-type: text/markdown
|
|
5
|
+
program:
|
|
6
|
+
article: d04
|
|
7
|
+
policies:
|
|
8
|
+
- standard
|
|
9
|
+
sections:
|
|
10
|
+
scope: 工程边界
|
|
11
|
+
commands: 构建与测试入口
|
|
12
|
+
delivery: 环境与交付
|
|
13
|
+
conventions: 兼容与研发约定
|
|
14
|
+
environment: 运行与环境
|
|
15
|
+
configuration: 配置定位
|
|
16
|
+
observability: 日志指标与追踪
|
|
17
|
+
diagnosis: 诊断路径
|
|
18
|
+
recovery: 恢复与回滚
|
|
19
|
+
verification: 验证依据
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
# D04 运维与排障入口
|
|
23
|
+
|
|
24
|
+
This is a writing blueprint, not a completion gate. Adapt the headings and level of detail to the reader, evidence and language. Missing or additional chapters and ordinary version differences are advisory. Preserve real source coordinates and a useful next investigation step.
|
|
25
|
+
|
|
26
|
+
生成条件:有维护脚本、配置、指标注册或已保存的 SOP/事件记录。
|
|
27
|
+
|
|
28
|
+
建议章节:**运行与环境 → 配置定位 → 日志/指标/追踪 → 常见现象与诊断路径 → 恢复/回滚 → 验证依据**。
|
|
29
|
+
|
|
30
|
+
表格列:问题/配置类别、代码使用点、查询入口、适用环境、下一步。平台标识不等于当前配置值,存在监控调用不等于告警已配置。读取脚本可以产生文档,不代表获得执行线上操作的授权。
|
|
31
|
+
|
|
32
|
+
**工程基础设施/研发规范变体**:承接技术基础设施、研发规范和后端构建部署资料。章节为 **工程边界 → 构建与测试入口 → 环境和交付 → 兼容与研发约定 → 排障定位**。有独立维护资料且内容足够时单独成篇;否则并入服务运行说明。操作事实、团队规范和 Agent 建议分清来源,不遗漏后端工程知识,也不复制前端命令。
|
|
33
|
+
|
|
34
|
+
## 图示选择
|
|
35
|
+
|
|
36
|
+
工程交付或故障诊断用 flowchart TD;部署依赖图仅在有实际配置依据时采用。 图放在对应解释章节,图前说明目的与范围,图后给来源和继续位置;按已下发的共用图示指导编写,无增益时省略,不增加独立必填章节。
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: context.article.f01
|
|
3
|
+
kind: procedure
|
|
4
|
+
media-type: text/markdown
|
|
5
|
+
program:
|
|
6
|
+
article: f01
|
|
7
|
+
policies:
|
|
8
|
+
- standard
|
|
9
|
+
sections:
|
|
10
|
+
architecture: 架构总览
|
|
11
|
+
stack: 技术栈与运行方式
|
|
12
|
+
startup: 启动与分层
|
|
13
|
+
crosscutting: 关键横切能力
|
|
14
|
+
deployment: 部署边界
|
|
15
|
+
references: 相关入口
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
# F01 架构
|
|
19
|
+
|
|
20
|
+
This is a writing blueprint, not a completion gate. Adapt the headings and level of detail to the reader, evidence and language. Missing or additional chapters and ordinary version differences are advisory. Preserve real source coordinates and a useful next investigation step.
|
|
21
|
+
|
|
22
|
+
生成条件:已定位启动入口与关键运行边界。
|
|
23
|
+
|
|
24
|
+
建议章节:**架构总览 → 技术栈与运行方式 → 启动与分层 → 关键横切能力 → 部署边界 → 相关入口**。
|
|
25
|
+
|
|
26
|
+
内容:启动/挂载文件、宿主与子应用职责、路由/状态/请求层的连接、跨层引用。架构图的每条边须有配置、调用或文档依据;历史设计原因需决策材料,不能从当前实现推断。远程模块身份不等于宿主身份。
|
|
27
|
+
|
|
28
|
+
## 图示选择
|
|
29
|
+
|
|
30
|
+
架构章节用 flowchart LR,按启动、宿主和请求层分组,每条边有来源。 图放在对应解释章节,图前说明目的与范围,图后给来源和继续位置;按已下发的共用图示指导编写,无增益时省略,不增加独立必填章节。
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: context.article.f06
|
|
3
|
+
kind: procedure
|
|
4
|
+
media-type: text/markdown
|
|
5
|
+
program:
|
|
6
|
+
article: f06
|
|
7
|
+
policies:
|
|
8
|
+
- standard
|
|
9
|
+
sections:
|
|
10
|
+
scope: 模型范围
|
|
11
|
+
catalog: 类型目录
|
|
12
|
+
roles: DTO 与视图模型
|
|
13
|
+
mapping: 转换与校验
|
|
14
|
+
authority: 权威与生成关系
|
|
15
|
+
references: 使用与源码
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
# F06 类型模型
|
|
19
|
+
|
|
20
|
+
This is a writing blueprint, not a completion gate. Adapt the headings and level of detail to the reader, evidence and language. Missing or additional chapters and ordinary version differences are advisory. Preserve real source coordinates and a useful next investigation step.
|
|
21
|
+
|
|
22
|
+
生成条件:DTO、请求/响应、View Model 或生成类型的映射对理解应用有价值。
|
|
23
|
+
|
|
24
|
+
建议章节:**类型来源与生成边界 → 核心类型 → 页面与 API 类型链路 → 转换及兼容约束 → 修改入口**。
|
|
25
|
+
|
|
26
|
+
表格列:类型名、类别、关键字段语义、使用位置、权威来源;链路表列页面/能力、View Model、Request、Response、转换函数。仅保留稳定且被使用的类型;完整声明仍留源码或契约引用,不恢复长段 Source type declaration。
|
|
27
|
+
|
|
28
|
+
## 图示选择
|
|
29
|
+
|
|
30
|
+
类型目录优先表格;转换关系用 flowchart,不把 DTO 直接画成数据库实体。 图放在对应解释章节,图前说明目的与范围,图后给来源和继续位置;按已下发的共用图示指导编写,无增益时省略,不增加独立必填章节。
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: context.article.f08
|
|
3
|
+
kind: procedure
|
|
4
|
+
media-type: text/markdown
|
|
5
|
+
program:
|
|
6
|
+
article: f08
|
|
7
|
+
policies:
|
|
8
|
+
- standard
|
|
9
|
+
sections:
|
|
10
|
+
systems: 使用的组件库与设计系统
|
|
11
|
+
layers: 样式分层
|
|
12
|
+
tokens: Token 定义与消费
|
|
13
|
+
overrides: 局部覆盖
|
|
14
|
+
platforms: 主题与平台差异
|
|
15
|
+
accessibility: 响应式与可访问性
|
|
16
|
+
examples: 调整入口与示例
|
|
17
|
+
references: 系统规范与源码
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
# F08 样式与设计系统
|
|
21
|
+
|
|
22
|
+
This is a writing blueprint, not a completion gate. Adapt the headings and level of detail to the reader, evidence and language. Missing or additional chapters and ordinary version differences are advisory. Preserve real source coordinates and a useful next investigation step.
|
|
23
|
+
|
|
24
|
+
生成条件:存在影响页面开发的主题、token、样式覆盖或组件库接入规则。
|
|
25
|
+
|
|
26
|
+
建议章节:**使用的组件库与设计系统 → 样式组织 → Token 与主题 → 覆盖顺序和隔离 → 响应式/可访问性 → 调整入口与示例**。
|
|
27
|
+
|
|
28
|
+
保留 token 身份、定义/消费位置、配置与维护示例。响应式断点、无障碍保证和颜色语义需代码/规范支持。设计稿与代码不一致时标明版本,不从截图猜 Props 或 token。
|
|
29
|
+
|
|
30
|
+
本篇负责应用如何消费和覆盖;系统自身的规范、基础资源和跨平台映射归 L03 独立设计系统模板。一组 CSS 变量不足以证明存在完整设计系统;没有系统资料时仍可写真实样式入口。
|
|
31
|
+
|
|
32
|
+
## 图示选择
|
|
33
|
+
|
|
34
|
+
token 定义/覆盖可用 flowchart;实际颜色或响应式外观使用授权来源图,代码不证明视觉效果。 图放在对应解释章节,图前说明目的与范围,图后给来源和继续位置;按已下发的共用图示指导编写,无增益时省略,不增加独立必填章节。
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: context.article.f09
|
|
3
|
+
kind: procedure
|
|
4
|
+
media-type: text/markdown
|
|
5
|
+
program:
|
|
6
|
+
article: f09
|
|
7
|
+
policies:
|
|
8
|
+
- standard
|
|
9
|
+
sections:
|
|
10
|
+
scope: 工程与交付边界
|
|
11
|
+
prerequisites: 运行前提
|
|
12
|
+
commands: 构建与测试入口
|
|
13
|
+
deployment: 部署与配置
|
|
14
|
+
verification: 验证与回滚
|
|
15
|
+
references: 相关资料
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
# F09 构建与部署
|
|
19
|
+
|
|
20
|
+
This is a writing blueprint, not a completion gate. Adapt the headings and level of detail to the reader, evidence and language. Missing or additional chapters and ordinary version differences are advisory. Preserve real source coordinates and a useful next investigation step.
|
|
21
|
+
|
|
22
|
+
生成条件:有项目拥有的脚本、工程配置或交付文档。
|
|
23
|
+
|
|
24
|
+
建议章节:**开发前提 → 本地启动与调试 → 构建入口及产物 → 环境选择 → 发布与回滚入口 → 常见定位点**。
|
|
25
|
+
|
|
26
|
+
命令来自 scripts/维护文档;说明包与执行目录、配置生效位置、产物身份。已存在发布脚本不等于线上已部署;仓库证据不足的真实平台值不补写。公共工程规则由一篇父级指南承载,子应用只写差异。
|
|
27
|
+
|
|
28
|
+
## 图示选择
|
|
29
|
+
|
|
30
|
+
构建交付顺序用 flowchart;命令和前提保留文字,步骤计划不代表执行回执。 图放在对应解释章节,图前说明目的与范围,图后给来源和继续位置;按已下发的共用图示指导编写,无增益时省略,不增加独立必填章节。
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: context.article.l01
|
|
3
|
+
kind: procedure
|
|
4
|
+
media-type: text/markdown
|
|
5
|
+
program:
|
|
6
|
+
article: l01
|
|
7
|
+
policies:
|
|
8
|
+
- standard
|
|
9
|
+
sections:
|
|
10
|
+
purpose: 用途与适用范围
|
|
11
|
+
installation: 安装与初始化
|
|
12
|
+
capabilities: 主要能力
|
|
13
|
+
usage: 典型用法
|
|
14
|
+
contracts: 契约与扩展点
|
|
15
|
+
limits: 限制与兼容
|
|
16
|
+
references: 源码与验证入口
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
# L01 公共能力与使用指南
|
|
20
|
+
|
|
21
|
+
This is a writing blueprint, not a completion gate. Adapt the headings and level of detail to the reader, evidence and language. Missing or additional chapters and ordinary version differences are advisory. Preserve real source coordinates and a useful next investigation step.
|
|
22
|
+
|
|
23
|
+
建议章节:**用途和适用场景 → 支持的导入/命令 → 初始化及前提 → 能力分组 → 维护示例 → 兼容与修改入口**。
|
|
24
|
+
|
|
25
|
+
能力表列:能力身份、入口、使用方、对应契约和示例。SDK 初始化、CLI 参数与插件注册各用已有专门模板;不复制源码中所有 export。可补分层架构、provider/middleware 和维护约定,但必须服务具体读者任务。
|
|
26
|
+
|
|
27
|
+
## 公共组件与设计系统的专用标准
|
|
28
|
+
|
|
29
|
+
L02 公共组件 已独立细化建议章节、家族、Props/事件/方法/Ref、示例与行为变体。非 UI 的公共 API 仍沿用对应 SDK/CLI 程序模板与 L01 的消费原则,不强套 UI 的样式/焦点章节。
|
|
30
|
+
|
|
31
|
+
L03 设计系统 独立覆盖系统入口、基础规范、主题接入和平台版本关系,避免缩成组件库的一小段颜色说明。
|
|
32
|
+
|
|
33
|
+
## 图示选择
|
|
34
|
+
|
|
35
|
+
接入调用有顺序要求时用 sequenceDiagram;命令/签名用表格,模块层次用 text 树。 图放在对应解释章节,图前说明目的与范围,图后给来源和继续位置;按已下发的共用图示指导编写,无增益时省略,不增加独立必填章节。
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: context.article.l02
|
|
3
|
+
kind: procedure
|
|
4
|
+
media-type: text/markdown
|
|
5
|
+
program:
|
|
6
|
+
article: l02
|
|
7
|
+
policies:
|
|
8
|
+
- standard
|
|
9
|
+
sections:
|
|
10
|
+
purpose: 用途与选用
|
|
11
|
+
setup: 接入与基本用法
|
|
12
|
+
scenarios: 场景与变体
|
|
13
|
+
api: API 与公开契约
|
|
14
|
+
behavior: 行为与组合规则
|
|
15
|
+
styles: 样式与设计系统
|
|
16
|
+
limits: 环境可访问性与限制
|
|
17
|
+
references: 相关组件与源码入口
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
# L02 公共组件与组件家族
|
|
21
|
+
|
|
22
|
+
This is a writing blueprint, not a completion gate. Adapt the headings and level of detail to the reader, evidence and language. Missing or additional chapters and ordinary version differences are advisory. Preserve real source coordinates and a useful next investigation step.
|
|
23
|
+
|
|
24
|
+
### 身份与拆页条件
|
|
25
|
+
|
|
26
|
+
先确认包/公开入口、组件名、平台、适用版本、稳定或弃用状态。仓内共享组件如果有明确跨模块消费契约,即使未发布 npm,也可按公共组件处理;单纯 export、放在 components/ 或出现在演示站不构成公共性证明。
|
|
27
|
+
|
|
28
|
+
默认按读者会选择和使用的能力成页。主组件、仅供其使用的 part、配置类型及辅助 hook 可以同页;独立公共能力、独立运行契约或明显不同平台再拆。静态方法不是第二个 SDK,Props 类型不是另一篇组件文章。
|
|
29
|
+
|
|
30
|
+
Toast 类家族可以先给成员选择表,再按成员或调用方式分节;复杂家族可以保留一篇入口和少量详情。不因为导出多个符号就强制多页,也不因同名而合并不同平台、包版本和 deprecated 实现。
|
|
31
|
+
|
|
32
|
+
### 默认文章结构
|
|
33
|
+
|
|
34
|
+
以下八个章节角色和顺序稳定。1、2、4、8 是基本阅读责任;其他章节按事实适用性出现。没有资料支撑的示例可以只保留维护示例入口和具体缺失前提,不能补造行为。
|
|
35
|
+
|
|
36
|
+
```markdown
|
|
37
|
+
# <组件或家族名称>
|
|
38
|
+
> 包与导入入口 · 平台 · 适用版本 · 维护状态
|
|
39
|
+
|
|
40
|
+
## 用途与选用
|
|
41
|
+
## 接入与基本用法
|
|
42
|
+
## 典型场景与变体
|
|
43
|
+
## API
|
|
44
|
+
## 行为与组合规则
|
|
45
|
+
## 样式与设计系统
|
|
46
|
+
## 运行环境、可访问性与限制
|
|
47
|
+
## 相关组件与源码入口
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
| 章节 | 应回答什么 | 内容形式与证据 |
|
|
51
|
+
| --- | --- | --- |
|
|
52
|
+
| 用途与选用 | 解决什么界面任务;与相近组件如何区分 | 简短用途;家族成员/选型表;产品语义来自维护说明或用法,不能按组件名发明设计建议 |
|
|
53
|
+
| 接入与基本用法 | 怎么导入、先配置什么、最少怎样使用 | 精确 import/entry、必要 Provider/CSS 链接、最小有来源示例;示例依赖不能只存在于演练场隐藏 scope |
|
|
54
|
+
| 典型场景与变体 | 哪些选择会改变使用方式 | 场景→相关 API→预期表现→示例;按行为差异选取,不枚举所有颜色和大小的笛卡尔积 |
|
|
55
|
+
| API | 消费者能传什么、调用什么、收到什么 | 下述分类契约表;公共关键配置类型可在本节局部解释,规范信息只维护一份 |
|
|
56
|
+
| 行为与组合规则 | 状态谁控制、如何交互、配置如何叠加 | 受控/非受控、回调、数据结构、覆盖顺序、关闭/清理、组合约束;具体内容由组件能力决定 |
|
|
57
|
+
| 样式与设计系统 | 哪些是组件可覆盖项、哪些来自全局系统 | 变体、尺寸、slot、token、逻辑方向等具体差异;公共基础规范链接到设计系统,不整篇复制 |
|
|
58
|
+
| 运行环境、可访问性与限制 | 在什么条件下可用、有什么已知边界 | SSR/Portal/宿主/移动端限制;已证实键盘、焦点、role、对比度相关行为;实际测试与静态观察区分 |
|
|
59
|
+
| 相关组件与源码入口 | 继续查哪里、换用谁、哪份证据支持本页 | 相关能力、实现/类型/示例/文档定位,明确证据版本;关键行为的定位尽量贴近对应章节 |
|
|
60
|
+
|
|
61
|
+
章节可以有组件特定的小节,例如“选择后是否关闭”“清理时机”“嵌套分组”。固定公共章节不要求把每个组件的业务特点改成相同文案,也不改变事实的原有语义。
|
|
62
|
+
|
|
63
|
+
### API 分组规范
|
|
64
|
+
|
|
65
|
+
| 类别 | 默认列 | 适用条件 |
|
|
66
|
+
| --- | --- | --- |
|
|
67
|
+
| Props/属性 | 名称、类型、必填、默认或取值来源、语义/约束 | 公共输入属性;仅展示一次,不混入 export-entry 伪属性 |
|
|
68
|
+
| 事件/回调 | 名称、参数、触发时机、与状态的关系 | callback 也是 prop 时用链接或合并行,避免两份定义漂移 |
|
|
69
|
+
| 方法/静态 API | 名称、签名或参数、返回、生命周期/清理 | show/destroy 等公开方法;不能只打印 JSDoc 一段字符串 |
|
|
70
|
+
| Ref/命令式句柄 | 获取方式、公开成员、何时可用、失效/清理 | 有 ref/handle 契约时,函数类型需保留有效签名 |
|
|
71
|
+
| 子组件/slot/part | 身份、放置位置、组合限制、独立 API | 公开复合组件,不将仅内部渲染函数列为消费者可用 |
|
|
72
|
+
| Hook | 调用前提、参数、返回、Provider/生命周期依赖 | 有明确公共契约时;独立用途较大可另用公共库参考 |
|
|
73
|
+
| 关键配置类型 | 判别字段、各分支必需项、嵌套项、关联 API | 对象数组、union、group/item、受约束配置等对用法必要时 |
|
|
74
|
+
|
|
75
|
+
**类型必须可理解。** 保留 union 成员、数组元素、泛型和函数参数。无法解析的类型给准确别名与权威定义入口,不能渲染成 `{}` 后当作完整契约。不递归展开整个 React、宿主上下文或基础库类型树。
|
|
76
|
+
|
|
77
|
+
**默认值必须有来源。** 区分参数默认、运行时分支默认、继承环境与文档声明。同版本事实矛盾时说明冲突并回查,不能用大量 `unknown` 遮住已知默认;未声明的默认不能猜成 false/undefined。正文与 API 表不能给相互冲突的确定值。
|
|
78
|
+
|
|
79
|
+
继承属性优先“来源链接+本组件差异/覆盖”;仅在独立消费必须时展开必要字段。配置类型用于解释约束,不在表后再次粘贴完整原始声明。少量无法由表表达的签名可以保留,声明压缩后的正确性需要核验。
|
|
80
|
+
|
|
81
|
+
### 不同组件能力的章节变体
|
|
82
|
+
|
|
83
|
+
| 能力形态 | 必须额外表达的有效信息 |
|
|
84
|
+
| --- | --- |
|
|
85
|
+
| 展示型 | 内容与截断、尺寸/外观变体;不能强造状态管理章节 |
|
|
86
|
+
| 可交互/表单型 | 受控关系、输入输出、禁用与只读、校验、触发时机;不要混淆视觉禁用和实际阻止事件 |
|
|
87
|
+
| 浮层型 | trigger、Portal root、定位/碰撞、开合、dismiss、焦点、安全区与层级;已证实的环境差异 |
|
|
88
|
+
| 数据/复合型 | item/group 判别结构、部件组合、全局与局部配置优先级、选择后的动作 |
|
|
89
|
+
| 命令式型 | 初始化上下文、show/update/destroy 等实际公开方法、返回句柄、排队/替换、卸载与资源清理 |
|
|
90
|
+
|
|
91
|
+
这些是同一标准模板的条件章节,不是新增 Provider。一个组件同时满足多个形态时组合使用,语义信息只写一次。
|
|
92
|
+
|
|
93
|
+
### 示例标准
|
|
94
|
+
|
|
95
|
+
默认一个可说明基本用法的维护示例,再按独立行为补必要案例;没有固定六个示例或每个 Prop 一个示例的要求。命令式与声明式都是公开用法时,分别保留入口。至少覆盖会改变消费方式的关键分支,而非只提供装饰性按钮 demo。
|
|
96
|
+
|
|
97
|
+
示例需标明原始文件/故事/官网来源及适用版本。摘取时保留必需 import、状态回写、Provider 和样式前提;允许省略重复的演示布局,不能删掉决定行为的控制代码。引用已有例子不等于本轮实际运行通过。官方示例若与目标版本不匹配,先记录版本差异,不能直接覆盖代码契约。
|
|
98
|
+
|
|
99
|
+
## 图示选择
|
|
100
|
+
|
|
101
|
+
公开 parts 层级用 text 树;有证据的受控交互或命令式生命周期用 sequenceDiagram/状态图;外观用授权示例图。 图放在对应解释章节,图前说明目的与范围,图后给来源和继续位置;按已下发的共用图示指导编写,无增益时省略,不增加独立必填章节。
|