@c4a/context-cli 0.7.9 → 0.7.10-alpha.1
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/cli.js +59387 -99747
- package/indexers/bundles/context-code-indexer/SKILL.md +19 -44
- package/indexers/bundles/context-code-indexer/context-indexer.yaml +2 -19
- package/indexers/bundles/context-code-indexer/references/composers/contracts-and-chains.md +7 -2
- package/indexers/bundles/context-code-indexer/references/composers/cross-module-chain.md +7 -2
- package/indexers/bundles/context-code-indexer/references/composers/development-and-delivery.md +7 -2
- package/indexers/bundles/context-code-indexer/references/composers/event-flow.md +7 -2
- package/indexers/bundles/context-code-indexer/references/composers/examples-and-documentation.md +7 -2
- package/indexers/bundles/context-code-indexer/references/composers/persistence-boundary.md +7 -2
- package/indexers/bundles/context-code-indexer/references/composers/protocol-boundary.md +8 -3
- package/indexers/bundles/context-code-indexer/references/composers/public-contract.md +9 -4
- package/indexers/bundles/context-code-indexer/references/indexer.md +137 -328
- package/indexers/bundles/context-code-indexer/references/metrics.md +1 -1
- package/indexers/bundles/context-code-indexer/templates/adapter-integration-maintenance-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/adapter-integration-request-adaptation-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/adapter-integration-usage-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/api-service-maintenance-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/api-service-public-api-reference.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/background-runtime-maintenance-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/background-runtime-task-runtime-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/cli-tool-maintenance-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/cli-tool-public-api-reference.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/cli-tool-usage-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/component-library-maintenance-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/component-library-public-api-reference.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/component-library-usage-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/contract-source-public-api-reference.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/contract-source-usage-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/data-sync-reconciliation-maintenance-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/data-sync-reconciliation-task-runtime-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/data-sync-reconciliation.md +5 -6
- package/indexers/bundles/context-code-indexer/templates/derived-generated-source-public-api-reference.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/derived-generated-source-usage-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/domain-service-maintenance-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/domain-service-public-api-reference.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/event-consumer-maintenance-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/event-consumer-task-runtime-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/gateway-facade-maintenance-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/gateway-facade-public-api-reference.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/gateway-facade-request-adaptation-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/monorepo-container-maintenance-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/monorepo-container-usage-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/plugin-extension-maintenance-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/plugin-extension-public-api-reference.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/plugin-extension-usage-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/sdk-library-maintenance-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/sdk-library-public-api-reference.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/sdk-library-usage-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/storage-repository-maintenance-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/storage-repository-public-api-reference.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/web-application-federation-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/web-application-maintenance-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/templates/web-application-page-task-guide.md +1 -9
- package/indexers/bundles/context-code-indexer/tests/fixtures/composers.json +8 -8
- package/indexers/bundles/context-code-indexer/tests/fixtures/profiles.json +240 -48
- package/indexers/bundles/context-markdown-indexer/SKILL.md +20 -24
- package/indexers/bundles/context-markdown-indexer/context-indexer.yaml +2 -2
- package/indexers/bundles/context-markdown-indexer/references/classification.md +28 -63
- package/indexers/bundles/context-markdown-indexer/references/editorial-policy.md +2 -2
- package/indexers/bundles/context-markdown-indexer/references/indexer.md +57 -113
- package/indexers/bundles/context-markdown-indexer/references/semantic-planning.md +48 -176
- package/indexers/bundles/context-markdown-indexer/references/structure-and-artifacts.md +33 -115
- package/indexers/bundles/context-markdown-indexer/tests/fixtures/anonymous.json +0 -6
- package/indexers/bundles/context-markdown-indexer/tests/fixtures/profiles.json +195 -39
- package/indexers/bundles/context-note-indexer/SKILL.md +20 -5
- package/indexers/bundles/context-note-indexer/context-indexer.yaml +2 -371
- package/indexers/bundles/context-note-indexer/references/classification.md +22 -49
- package/indexers/bundles/context-note-indexer/references/customization.md +19 -32
- package/indexers/bundles/context-note-indexer/references/extension-placement.md +13 -39
- package/indexers/bundles/context-note-indexer/references/indexer.md +6 -2
- package/indexers/bundles/context-note-indexer/references/updates-and-composition.md +26 -32
- package/indexers/bundles/context-note-indexer/references/writing.md +4 -4
- package/indexers/bundles/context-note-indexer/tests/fixtures/profiles.json +0 -54
- package/indexers/bundles/context-sessions-indexer/SKILL.md +20 -5
- package/indexers/bundles/context-sessions-indexer/context-indexer.yaml +2 -371
- package/indexers/bundles/context-sessions-indexer/references/classification.md +22 -50
- package/indexers/bundles/context-sessions-indexer/references/customization.md +19 -32
- package/indexers/bundles/context-sessions-indexer/references/extension-placement.md +12 -39
- package/indexers/bundles/context-sessions-indexer/references/indexer.md +6 -2
- package/indexers/bundles/context-sessions-indexer/references/updates-and-composition.md +26 -32
- package/indexers/bundles/context-sessions-indexer/references/writing.md +4 -4
- package/indexers/bundles/context-sessions-indexer/tests/fixtures/profiles.json +0 -54
- package/indexers/contracts/operator-contract.json +2 -4
- package/indexers/contracts/profile-contract.json +246 -940
- package/indexers/release-manifest.json +94 -98
- package/package.json +12 -12
- package/parserEntryWorker.js +2759 -16446
- package/plugins/VERSION +1 -1
- package/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/plugins/claude/commands/context.md +6 -7
- package/plugins/claude/skills/context-indexer-create/SKILL.md +31 -70
- package/plugins/claude/skills/context-indexer-create/references/guides/indexer-skill-creation.md +107 -97
- package/plugins/codex/.codex-plugin/plugin.json +2 -2
- package/plugins/codex/skills/context/SKILL.md +6 -7
- package/plugins/codex/skills/context-indexer-create/SKILL.md +31 -70
- package/plugins/codex/skills/context-indexer-create/references/guides/indexer-skill-creation.md +107 -97
- package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
- package/plugins/cursor/commands/c4a-context.md +6 -7
- package/plugins/cursor/skills/context-indexer-create/SKILL.md +31 -70
- package/plugins/cursor/skills/context-indexer-create/references/guides/indexer-skill-creation.md +107 -97
- package/plugins/skills/context/SKILL.md +6 -7
- package/plugins/skills/context-code-indexer/SKILL.md +19 -44
- package/plugins/skills/context-code-indexer/context-indexer.yaml +2 -19
- package/plugins/skills/context-code-indexer/references/composers/contracts-and-chains.md +7 -2
- package/plugins/skills/context-code-indexer/references/composers/cross-module-chain.md +7 -2
- package/plugins/skills/context-code-indexer/references/composers/development-and-delivery.md +7 -2
- package/plugins/skills/context-code-indexer/references/composers/event-flow.md +7 -2
- package/plugins/skills/context-code-indexer/references/composers/examples-and-documentation.md +7 -2
- package/plugins/skills/context-code-indexer/references/composers/persistence-boundary.md +7 -2
- package/plugins/skills/context-code-indexer/references/composers/protocol-boundary.md +8 -3
- package/plugins/skills/context-code-indexer/references/composers/public-contract.md +9 -4
- package/plugins/skills/context-code-indexer/references/indexer.md +137 -328
- package/plugins/skills/context-code-indexer/references/metrics.md +1 -1
- package/plugins/skills/context-code-indexer/templates/adapter-integration-maintenance-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/adapter-integration-request-adaptation-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/adapter-integration-usage-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/api-service-maintenance-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/api-service-public-api-reference.md +1 -9
- package/plugins/skills/context-code-indexer/templates/background-runtime-maintenance-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/background-runtime-task-runtime-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/cli-tool-maintenance-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/cli-tool-public-api-reference.md +1 -9
- package/plugins/skills/context-code-indexer/templates/cli-tool-usage-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/component-library-maintenance-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/component-library-public-api-reference.md +1 -9
- package/plugins/skills/context-code-indexer/templates/component-library-usage-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/contract-source-public-api-reference.md +1 -9
- package/plugins/skills/context-code-indexer/templates/contract-source-usage-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/data-sync-reconciliation-maintenance-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/data-sync-reconciliation-task-runtime-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/data-sync-reconciliation.md +5 -6
- package/plugins/skills/context-code-indexer/templates/derived-generated-source-public-api-reference.md +1 -9
- package/plugins/skills/context-code-indexer/templates/derived-generated-source-usage-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/domain-service-maintenance-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/domain-service-public-api-reference.md +1 -9
- package/plugins/skills/context-code-indexer/templates/event-consumer-maintenance-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/event-consumer-task-runtime-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/gateway-facade-maintenance-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/gateway-facade-public-api-reference.md +1 -9
- package/plugins/skills/context-code-indexer/templates/gateway-facade-request-adaptation-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/monorepo-container-maintenance-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/monorepo-container-usage-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/plugin-extension-maintenance-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/plugin-extension-public-api-reference.md +1 -9
- package/plugins/skills/context-code-indexer/templates/plugin-extension-usage-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/sdk-library-maintenance-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/sdk-library-public-api-reference.md +1 -9
- package/plugins/skills/context-code-indexer/templates/sdk-library-usage-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/storage-repository-maintenance-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/storage-repository-public-api-reference.md +1 -9
- package/plugins/skills/context-code-indexer/templates/web-application-federation-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/web-application-maintenance-guide.md +1 -9
- package/plugins/skills/context-code-indexer/templates/web-application-page-task-guide.md +1 -9
- package/plugins/skills/context-code-indexer/tests/fixtures/composers.json +8 -8
- package/plugins/skills/context-code-indexer/tests/fixtures/profiles.json +240 -48
- package/plugins/skills/context-indexer-create/SKILL.md +31 -70
- package/plugins/skills/context-indexer-create/references/guides/indexer-skill-creation.md +107 -97
- package/plugins/skills/context-markdown-indexer/SKILL.md +20 -24
- package/plugins/skills/context-markdown-indexer/context-indexer.yaml +2 -2
- package/plugins/skills/context-markdown-indexer/references/classification.md +28 -63
- package/plugins/skills/context-markdown-indexer/references/editorial-policy.md +2 -2
- package/plugins/skills/context-markdown-indexer/references/indexer.md +57 -113
- package/plugins/skills/context-markdown-indexer/references/semantic-planning.md +48 -176
- package/plugins/skills/context-markdown-indexer/references/structure-and-artifacts.md +33 -115
- package/plugins/skills/context-markdown-indexer/tests/fixtures/anonymous.json +0 -6
- package/plugins/skills/context-markdown-indexer/tests/fixtures/profiles.json +195 -39
- package/plugins/skills/context-note-indexer/SKILL.md +20 -5
- package/plugins/skills/context-note-indexer/context-indexer.yaml +2 -371
- package/plugins/skills/context-note-indexer/references/classification.md +22 -49
- package/plugins/skills/context-note-indexer/references/customization.md +19 -32
- package/plugins/skills/context-note-indexer/references/extension-placement.md +13 -39
- package/plugins/skills/context-note-indexer/references/indexer.md +6 -2
- package/plugins/skills/context-note-indexer/references/updates-and-composition.md +26 -32
- package/plugins/skills/context-note-indexer/references/writing.md +4 -4
- package/plugins/skills/context-note-indexer/tests/fixtures/profiles.json +0 -54
- package/plugins/skills/context-sessions-indexer/SKILL.md +20 -5
- package/plugins/skills/context-sessions-indexer/context-indexer.yaml +2 -371
- package/plugins/skills/context-sessions-indexer/references/classification.md +22 -50
- package/plugins/skills/context-sessions-indexer/references/customization.md +19 -32
- package/plugins/skills/context-sessions-indexer/references/extension-placement.md +12 -39
- package/plugins/skills/context-sessions-indexer/references/indexer.md +6 -2
- package/plugins/skills/context-sessions-indexer/references/updates-and-composition.md +26 -32
- package/plugins/skills/context-sessions-indexer/references/writing.md +4 -4
- package/plugins/skills/context-sessions-indexer/tests/fixtures/profiles.json +0 -54
- package/providers/context/actions/approve-production-report.yaml +5 -0
- package/providers/context/actions/configure-production-requirements.yaml +5 -0
- package/providers/context/actions/prepare-production-stage.yaml +5 -0
- package/providers/context/actions/register-source-batch.yaml +1 -1
- package/providers/context/actions/run-indexer-lifecycle.yaml +4 -1
- package/providers/context/actions/work-production-stage.yaml +5 -0
- package/providers/context/codes.yaml +10 -7
- package/providers/context/graphs/indexer.yaml +127 -596
- package/providers/context/graphs/workspace.yaml +2 -37
- package/providers/context/manifest.json +106 -813
- package/providers/context/provider.yaml +1 -1
- package/providers/context/resources/contracts/indexer-provider-guide.yaml +2 -2
- package/providers/context/resources/diagnostics/verification.md +4 -6
- package/providers/context/resources/dialogue/source-boundary.md +5 -7
- package/providers/context/resources/manuals/guides/code-indexer-skill-authoring.md +84 -0
- package/providers/context/resources/manuals/guides/indexer-provider-and-customization.md +117 -0
- package/providers/context/resources/manuals/guides/knowledge-updates.md +35 -14
- package/providers/context/resources/manuals/guides/markdown-indexer-skill-authoring.md +65 -0
- package/providers/context/resources/manuals/reference/package-templates.md +39 -65
- package/providers/context/resources/manuals/reference/template-variables.md +2 -3
- package/providers/context/resources/procedures/approved-revision.md +28 -35
- package/providers/context/resources/procedures/knowledge-review.md +1 -1
- package/providers/context/resources/procedures/knowledge-updates.md +35 -14
- package/providers/context/resources/procedures/parallel-agent-batch.md +33 -134
- package/providers/context/resources/procedures/production-requirements.md +61 -0
- package/providers/context/resources/procedures/production-stage-files.md +57 -0
- package/providers/context/resources/procedures/source-boundary.md +8 -10
- package/providers/context/resources/procedures/task-recovery.md +15 -20
- package/providers/context/resources/procedures/work-start-report.md +91 -413
- package/providers/context/resources/templates/indexer-agent-worker.md +20 -61
- package/providers/context/resources/templates/work-start-report.md +43 -279
- package/providers/context/schemas/approved-revision-result.schema.json +61 -2
- package/providers/context/schemas/indexer-agent-step-result.schema.json +128 -2043
- package/providers/context/schemas/source-batch-input.schema.json +0 -14
- package/providers/context/skills/resolve-current-indexer-gate/SKILL.md +11 -50
- package/providers/context/skills/run-indexer-agent-step/SKILL.md +19 -425
- package/providers/context/skills/run-indexer-lifecycle/SKILL.md +28 -214
- package/providers/context/skills/work-production-stage/SKILL.md +35 -0
- package/indexers/bundles/context-markdown-indexer/tests/fixtures/migration-equivalence.json +0 -186
- package/plugins/claude/skills/context-indexer-create/references/guides/code-indexer-skill-authoring.md +0 -180
- package/plugins/claude/skills/context-indexer-create/references/guides/indexer-manifest-example.md +0 -103
- package/plugins/claude/skills/context-indexer-create/references/guides/indexer-provider-and-customization.md +0 -471
- package/plugins/claude/skills/context-indexer-create/references/guides/markdown-indexer-skill-authoring.md +0 -136
- package/plugins/claude/skills/context-indexer-create/references/guides/note.md +0 -37
- package/plugins/claude/skills/context-indexer-create/references/guides/sessions.md +0 -50
- package/plugins/claude/skills/context-indexer-create/references/reference/indexer-provider-protocol.md +0 -854
- package/plugins/codex/skills/context-indexer-create/references/guides/code-indexer-skill-authoring.md +0 -180
- package/plugins/codex/skills/context-indexer-create/references/guides/indexer-manifest-example.md +0 -103
- package/plugins/codex/skills/context-indexer-create/references/guides/indexer-provider-and-customization.md +0 -471
- package/plugins/codex/skills/context-indexer-create/references/guides/markdown-indexer-skill-authoring.md +0 -136
- package/plugins/codex/skills/context-indexer-create/references/guides/note.md +0 -37
- package/plugins/codex/skills/context-indexer-create/references/guides/sessions.md +0 -50
- package/plugins/codex/skills/context-indexer-create/references/reference/indexer-provider-protocol.md +0 -854
- package/plugins/cursor/skills/context-indexer-create/references/guides/code-indexer-skill-authoring.md +0 -180
- package/plugins/cursor/skills/context-indexer-create/references/guides/indexer-manifest-example.md +0 -103
- package/plugins/cursor/skills/context-indexer-create/references/guides/indexer-provider-and-customization.md +0 -471
- package/plugins/cursor/skills/context-indexer-create/references/guides/markdown-indexer-skill-authoring.md +0 -136
- package/plugins/cursor/skills/context-indexer-create/references/guides/note.md +0 -37
- package/plugins/cursor/skills/context-indexer-create/references/guides/sessions.md +0 -50
- package/plugins/cursor/skills/context-indexer-create/references/reference/indexer-provider-protocol.md +0 -854
- package/plugins/skills/context-indexer-create/references/guides/code-indexer-skill-authoring.md +0 -180
- package/plugins/skills/context-indexer-create/references/guides/indexer-manifest-example.md +0 -103
- package/plugins/skills/context-indexer-create/references/guides/indexer-provider-and-customization.md +0 -471
- package/plugins/skills/context-indexer-create/references/guides/markdown-indexer-skill-authoring.md +0 -136
- package/plugins/skills/context-indexer-create/references/guides/note.md +0 -37
- package/plugins/skills/context-indexer-create/references/guides/sessions.md +0 -50
- package/plugins/skills/context-indexer-create/references/reference/indexer-provider-protocol.md +0 -854
- package/plugins/skills/context-markdown-indexer/tests/fixtures/migration-equivalence.json +0 -186
- package/providers/context/actions/advance-current-indexer-lifecycle.yaml +0 -6
- package/providers/context/actions/apply-indexer-project.yaml +0 -7
- package/providers/context/actions/authorize-current-indexer-provider-program.yaml +0 -6
- package/providers/context/actions/authorize-indexer-dependencies.yaml +0 -7
- package/providers/context/actions/authorize-indexer-program-execution.yaml +0 -7
- package/providers/context/actions/compile-indexer-candidates.yaml +0 -8
- package/providers/context/actions/configure-community-indexer-fallback.yaml +0 -6
- package/providers/context/actions/configure-indexer-providers.yaml +0 -6
- package/providers/context/actions/confirm-index-requirement-workset.yaml +0 -8
- package/providers/context/actions/confirm-subject-reidentification.yaml +0 -8
- package/providers/context/actions/discover-markdown-indexer-providers.yaml +0 -6
- package/providers/context/actions/finalize-current-indexer-provider-selection.yaml +0 -5
- package/providers/context/actions/inspect-indexer-dependencies.yaml +0 -7
- package/providers/context/actions/inspect-indexer-program-execution.yaml +0 -7
- package/providers/context/actions/inspect-indexer-project-proposal.yaml +0 -7
- package/providers/context/actions/inspect-markdown-provider-capture.yaml +0 -7
- package/providers/context/actions/maintain-evidence.yaml +0 -6
- package/providers/context/actions/materialize-indexer-instructions.yaml +0 -7
- package/providers/context/actions/materialize-indexer-workset-view.yaml +0 -7
- package/providers/context/actions/observe-indexer-project.yaml +0 -7
- package/providers/context/actions/prepare-indexer-customization-project.yaml +0 -7
- package/providers/context/actions/propose-indexer-customization.yaml +0 -7
- package/providers/context/actions/propose-overlay-question-amendment.yaml +0 -7
- package/providers/context/actions/rebind-indexer-selection-to-requirement.yaml +0 -7
- package/providers/context/actions/report-indexer-incremental-impact.yaml +0 -8
- package/providers/context/actions/resolve-current-indexer-provider.yaml +0 -6
- package/providers/context/actions/route-index-requirement-confirmation.yaml +0 -8
- package/providers/context/actions/route-indexer-provider-selection.yaml +0 -7
- package/providers/context/actions/run-indexer-agent-step.yaml +0 -7
- package/providers/context/actions/run-indexer-post-author-composer.yaml +0 -7
- package/providers/context/actions/validate-indexer-contract-overlays.yaml +0 -7
- package/providers/context/actions/validate-indexer-customization.yaml +0 -7
- package/providers/context/actions/validate-indexer-selection-proposal.yaml +0 -7
- package/providers/context/actions/validate-main-index-run.yaml +0 -7
- package/providers/context/actions/validate-markdown-provider-selection.yaml +0 -7
- package/providers/context/actions/validate-subject-key-schemas.yaml +0 -8
- package/providers/context/resources/dialogue/evidence-maintenance.md +0 -26
- package/providers/context/resources/procedures/evidence-maintenance.md +0 -20
- package/providers/context/resources/views/authorized-indexer-workset-view.yaml +0 -15
- package/providers/context/resources/views/resolved-indexer-instructions.yaml +0 -21
- package/providers/context/schemas/evidence-maintenance-input.schema.json +0 -30
- package/providers/context/schemas/indexer-agent-step-input.schema.json +0 -80
- package/providers/context/schemas/indexer-authorized-workset-view.schema.json +0 -65
- package/providers/context/schemas/indexer-candidate-compile-input.schema.json +0 -57
- package/providers/context/schemas/indexer-candidate-compile-output.schema.json +0 -38
- package/providers/context/schemas/indexer-contract-overlay-validation-input.schema.json +0 -48
- package/providers/context/schemas/indexer-contract-overlay-validation-result.schema.json +0 -63
- package/providers/context/schemas/indexer-customization-project-preparation-result.schema.json +0 -44
- package/providers/context/schemas/indexer-customization-proposal-draft.schema.json +0 -83
- package/providers/context/schemas/indexer-customization-validation-result.schema.json +0 -36
- package/providers/context/schemas/indexer-dependency-authorization-input.schema.json +0 -71
- package/providers/context/schemas/indexer-dependency-authorization-result.schema.json +0 -138
- package/providers/context/schemas/indexer-incremental-impact-input.schema.json +0 -31
- package/providers/context/schemas/indexer-incremental-impact-output.schema.json +0 -52
- package/providers/context/schemas/indexer-main-lifecycle-input.schema.json +0 -180
- package/providers/context/schemas/indexer-main-lifecycle-output.schema.json +0 -194
- package/providers/context/schemas/indexer-markdown-provider-capture-input.schema.json +0 -17
- package/providers/context/schemas/indexer-markdown-provider-capture-output.schema.json +0 -54
- package/providers/context/schemas/indexer-markdown-provider-validation-input.schema.json +0 -34
- package/providers/context/schemas/indexer-markdown-provider-validation-output.schema.json +0 -75
- package/providers/context/schemas/indexer-materialize-request.schema.json +0 -49
- package/providers/context/schemas/indexer-materialized-resource.schema.json +0 -64
- package/providers/context/schemas/indexer-overlay-question-amendment.schema.json +0 -13
- package/providers/context/schemas/indexer-overlay-question-proposal-input.schema.json +0 -89
- package/providers/context/schemas/indexer-overlay-question-rebind-input.schema.json +0 -35
- package/providers/context/schemas/indexer-overlay-question-rebind-result.schema.json +0 -25
- package/providers/context/schemas/indexer-program-execution-authorization-input.schema.json +0 -145
- package/providers/context/schemas/indexer-program-execution-authorization-result.schema.json +0 -60
- package/providers/context/schemas/indexer-project-action-result.schema.json +0 -19
- package/providers/context/schemas/indexer-project-gate-input.schema.json +0 -100
- package/providers/context/schemas/indexer-project-observation-input.schema.json +0 -16
- package/providers/context/schemas/indexer-project-observation-result.schema.json +0 -42
- package/providers/context/schemas/indexer-provider-route-input.schema.json +0 -55
- package/providers/context/schemas/indexer-provider-route-report.schema.json +0 -188
- package/providers/context/schemas/indexer-requirement-confirmation-input.schema.json +0 -27
- package/providers/context/schemas/indexer-requirement-confirmation-output.schema.json +0 -24
- package/providers/context/schemas/indexer-selection-proposal-input.schema.json +0 -12
- package/providers/context/schemas/indexer-selection-proposal-validation.schema.json +0 -23
- package/providers/context/schemas/indexer-subject-reidentification-input.schema.json +0 -37
- package/providers/context/schemas/indexer-subject-reidentification-output.schema.json +0 -31
- package/providers/context/schemas/indexer-workset-view-materialization-request.schema.json +0 -35
- package/providers/context/skills/authorize-current-indexer-provider-program/SKILL.md +0 -20
- package/providers/context/skills/configure-indexer-providers/SKILL.md +0 -137
- package/providers/context/skills/configure-indexer-providers/references/guides/code-indexer-skill-authoring.md +0 -180
- package/providers/context/skills/configure-indexer-providers/references/guides/indexer-provider-and-customization.md +0 -471
- package/providers/context/skills/configure-indexer-providers/references/guides/markdown-indexer-skill-authoring.md +0 -136
- package/providers/context/skills/configure-indexer-providers/references/guides/note.md +0 -37
- package/providers/context/skills/configure-indexer-providers/references/guides/sessions.md +0 -50
- package/providers/context/skills/configure-indexer-providers/references/reference/indexer-provider-protocol.md +0 -854
- package/providers/context/skills/prepare-indexer-customization-project/SKILL.md +0 -31
- package/providers/context/skills/propose-indexer-customization/SKILL.md +0 -40
- package/providers/context/skills/resolve-current-indexer-provider/SKILL.md +0 -20
- package/providers/context/skills/run-indexer-post-author-composer/SKILL.md +0 -122
package/plugins/codex/skills/context-indexer-create/references/guides/indexer-skill-creation.md
CHANGED
|
@@ -1,99 +1,109 @@
|
|
|
1
1
|
# Creating a reusable Indexer Skill
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
##
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
source
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
3
|
+
An Indexer is source-specific investigation and writing guidance. It helps the
|
|
4
|
+
Agent understand authorized material and produce useful articles; it does not
|
|
5
|
+
own workflow routing, source authorization, review or permanent article identity.
|
|
6
|
+
Several skills may contribute to one module or article.
|
|
7
|
+
|
|
8
|
+
## Minimal package
|
|
9
|
+
|
|
10
|
+
Start with SKILL.md. Add references for substantial source-specific guidance,
|
|
11
|
+
templates when they help readers, and scripts only when a concrete repeated
|
|
12
|
+
operation needs deterministic assistance. A simple note interpreter needs no
|
|
13
|
+
script, manifest, profile registry or template catalog.
|
|
14
|
+
|
|
15
|
+
Use a discoverable name and a precise description. State when the skill helps,
|
|
16
|
+
which sources it understands, and real limits. Refer to bundled resources by
|
|
17
|
+
portable relative paths. Use an existing host-visible Indexer as a behavioral
|
|
18
|
+
example, not as a collection of fields to copy.
|
|
19
|
+
|
|
20
|
+
Do not generate context-indexer.yaml, an exact-version selection ritual,
|
|
21
|
+
integrity receipts, primary/extension ownership, article producer records or
|
|
22
|
+
a per-member disposition protocol. A release may have ordinary package
|
|
23
|
+
metadata; that is not a requirement for the Agent to verify before working.
|
|
24
|
+
|
|
25
|
+
## Investigation produces a skeleton
|
|
26
|
+
|
|
27
|
+
Explain the recognizable source signals and how to examine them cheaply.
|
|
28
|
+
For code, identify useful feature families from declarations or registrations,
|
|
29
|
+
with names and locations. A dependency or filename is a hint, not proof of
|
|
30
|
+
runtime behavior. For documents, use titles, opening excerpts and heading
|
|
31
|
+
hierarchy, with optional full reading to settle grouping. For saved notes and
|
|
32
|
+
sessions, directly interpret the provided record rather than scanning history.
|
|
33
|
+
|
|
34
|
+
A technology-specific helper, if needed, must have an explicit input boundary,
|
|
35
|
+
bounded time/output and a useful stopping behavior. Return names, counts and
|
|
36
|
+
entry locations, not source bodies or a full symbol/relationship graph during
|
|
37
|
+
planning. Distinguish checked counts from totals and identify unfinished scope.
|
|
38
|
+
Do not fabricate feature counts from file counts or silently treat timeouts as
|
|
39
|
+
empty results. Store large results in temporary files rather than long stdout.
|
|
40
|
+
|
|
41
|
+
Document any prerequisites and error recovery. Do not install dependencies,
|
|
42
|
+
parse the whole repository or read unrelated modules by default. A helper that
|
|
43
|
+
needs expensive semantic analysis belongs to selected writing tasks, not the
|
|
44
|
+
initial investigation path. Direct Agent investigation is a valid default
|
|
45
|
+
when a helper adds no useful capability.
|
|
46
|
+
|
|
47
|
+
## Guide topics without owning the plan
|
|
48
|
+
|
|
49
|
+
Describe which reader questions visible signals can suggest, and what further
|
|
50
|
+
evidence the writer needs. A route family, component or storage boundary may
|
|
51
|
+
justify a recurring outline, but not an automatic fixed number of pages.
|
|
52
|
+
A component manual may require individual analysis during writing.
|
|
53
|
+
|
|
54
|
+
Use existing article titles, descriptions and references as navigation, then
|
|
55
|
+
read relevant bodies or sources when necessary. Code can establish structure;
|
|
56
|
+
documents may supply better business topics. Multiple authorized sources may
|
|
57
|
+
form an article. Avoid duplicating a page merely because another skill or
|
|
58
|
+
source family supplied its material.
|
|
59
|
+
|
|
60
|
+
The current stage provides available-skill declarations and temporary planned
|
|
61
|
+
usage. The Agent selects useful skills and article batches. Keep uncertain
|
|
62
|
+
investigation and real evidence gaps visible. Required scope cannot be dropped
|
|
63
|
+
to reduce processing cost, and long-term exclusions require the applicable
|
|
64
|
+
user decision.
|
|
65
|
+
|
|
66
|
+
## Writing and file handoff
|
|
67
|
+
|
|
68
|
+
Explain source authority, meaningful reader output, real references and
|
|
69
|
+
revision behavior. Keep examples, assumptions and confirmed facts distinct.
|
|
70
|
+
A session summary is not a transcript; a change URL is not proof of deployment;
|
|
71
|
+
a declaration or test double is not independently verified runtime behavior.
|
|
72
|
+
|
|
73
|
+
Consume the current task directory, not a copied schema from a past release.
|
|
74
|
+
New articles use the supplied Markdown/reference contract; revisions can use
|
|
75
|
+
the task's base article and fragment edits. Write drafts and manifests to the
|
|
76
|
+
designated Agent temporary directory. The coordinator submits a finished
|
|
77
|
+
subset through the current CLI action and follows its receipt or recovery.
|
|
78
|
+
|
|
79
|
+
Do not write formal knowledge or mutate sources directly. Do not add a
|
|
80
|
+
parallel Author/Composer result envelope, semantic graph, field-by-field fact
|
|
81
|
+
ledger or skill identity to formal content. Source permissions, input
|
|
82
|
+
baselines, real citations and safe writes remain CLI responsibilities.
|
|
83
|
+
|
|
84
|
+
## Validate the claimed capability
|
|
85
|
+
|
|
86
|
+
Check skill frontmatter and every referenced local resource. Run new scripts
|
|
87
|
+
against small anonymous fixtures, including an empty input, a bounded partial
|
|
88
|
+
scan and any failure/recovery behavior they claim. Confirm the helper does not
|
|
89
|
+
escape its selected scope or emit secret/source-body dumps.
|
|
90
|
+
|
|
91
|
+
Exercise useful output, insufficient evidence and a revision of an existing
|
|
92
|
+
article. For source families advertised by the skill, include representative
|
|
93
|
+
differences: an unadopted proposal, a document requiring optional deeper reading,
|
|
94
|
+
or two technologies in one module. Do not claim support for families not tested.
|
|
95
|
+
|
|
96
|
+
A static resource check does not prove semantic quality, and a reviewed example
|
|
97
|
+
does not prove the CLI submission works. If an actual Context run is available
|
|
98
|
+
and requested, validate through the existing workflow in an isolated workspace,
|
|
99
|
+
including report confirmation and file submission. Report unavailable checks
|
|
100
|
+
honestly; do not fabricate a route or silently install tools to make it pass.
|
|
101
|
+
|
|
102
|
+
## Distribution
|
|
103
|
+
|
|
104
|
+
Keep the package portable and use the user's chosen installation channel.
|
|
105
|
+
The host lists available skills; planning records only useful temporary usage.
|
|
106
|
+
Formal articles, sources and necessary long-term scope decisions survive a
|
|
107
|
+
new machine. Unfinished drafts, candidates, skill choices and execution receipts
|
|
108
|
+
remain temporary; a new user can start a fresh production run without restoring
|
|
109
|
+
the former skill bundle or process.
|
|
@@ -187,13 +187,12 @@ or scope; discussion and save-only requests can end without production.
|
|
|
187
187
|
condition and do not register the same request repeatedly.
|
|
188
188
|
- When the user asks to compile, build or deliver a batch, use the current Route
|
|
189
189
|
to choose early delivery or rebuilding; do not guess a command name.
|
|
190
|
-
- **
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
or merely rebuild old approved pages; all Author tasks need not finish first.
|
|
190
|
+
- **Earlier delivery of completed articles:** when explicitly requested, finish
|
|
191
|
+
any running command, then use `context run --deliver --format json` and follow
|
|
192
|
+
its Review, close and build routes. This pauses further writing without
|
|
193
|
+
approving content. Successful delivery resumes remaining tasks; an explicit
|
|
194
|
+
`context run --resume-writing --format json` cancels the pause without losing
|
|
195
|
+
drafts or approvals. Batch grouping belongs to the current Agent plan.
|
|
197
196
|
- **An independent new task while work remains:** explain saved results,
|
|
198
197
|
unfinished scope and concrete rollback losses. Reuse or obtain the user's
|
|
199
198
|
choice to finish the current task or roll back an explicit scope. Do not
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: context-indexer-create
|
|
3
|
-
description: Use when the user explicitly asks to create a new Context Indexer
|
|
3
|
+
description: Use when the user explicitly asks to create a new Context Indexer Skill for code, documents, notes or session summaries. Do not activate for indexing existing sources, ordinary coding, knowledge queries or selecting an installed skill.
|
|
4
4
|
user-invocable: false
|
|
5
5
|
metadata:
|
|
6
6
|
context-role: "authoring-assistant"
|
|
@@ -9,72 +9,33 @@ metadata:
|
|
|
9
9
|
|
|
10
10
|
# Create a Context Indexer
|
|
11
11
|
|
|
12
|
-
Create a reusable
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
selected instruction references and one relevant template. Use a Host-visible
|
|
43
|
-
Skill path or the installed CLI catalog's guidance paths; do not crawl host
|
|
44
|
-
caches or require this repository's developer paths. If examples or the SDK are
|
|
45
|
-
unavailable, explain which validation remains unavailable. Do not invent a
|
|
46
|
-
successful validation or silently install dependencies.
|
|
47
|
-
|
|
48
|
-
## Write a complete, bounded Provider
|
|
49
|
-
|
|
50
|
-
Deliver SKILL.md, context-indexer.yaml, the declared instructions and useful
|
|
51
|
-
page templates. Add anonymous fixtures and validation instructions. Add programs
|
|
52
|
-
only for an actual unsupported extraction need; ordinary source interpretation
|
|
53
|
-
and writing belong to the Agent. Derive manifest capabilities and resources
|
|
54
|
-
from what the new bundle actually implements, not everything in the example.
|
|
55
|
-
|
|
56
|
-
Use one context.indexer.provider/v1 manifest for all four source families.
|
|
57
|
-
Note and Sessions currently use the markdown domain with their own target kinds
|
|
58
|
-
and profiles; do not invent new protocol domains. A resource must be declared
|
|
59
|
-
so the lifecycle can send it to the Agent: an unreferenced reference file is
|
|
60
|
-
not enough. Preserve stable source/subject identity, evidence bindings and
|
|
61
|
-
revision boundaries; keep nonessential metadata out of knowledge frontmatter.
|
|
62
|
-
|
|
63
|
-
The new Provider does not own source authorization, scheduling, approval,
|
|
64
|
-
close/build or publication. Return the current operation's declared results.
|
|
65
|
-
Do not turn suggestions in notes or sessions into established implementation
|
|
66
|
-
facts, and do not manufacture raw transcripts from summaries.
|
|
67
|
-
|
|
68
|
-
## Validate and hand off
|
|
69
|
-
|
|
70
|
-
Follow the guide's manifest, resource, template and fixture checks in an isolated
|
|
71
|
-
test directory. Test the intended reader output, insufficient material, revision
|
|
72
|
-
of an existing page, and composition when advertised. Cover only the source
|
|
73
|
-
families claimed by this Provider. Report static validation separately from an
|
|
74
|
-
actual lifecycle run; a valid YAML file alone is not a working Provider.
|
|
75
|
-
|
|
76
|
-
Summarize the created files, supported inputs, ownership/composition, tests and
|
|
77
|
-
remaining limitations. Explain the user's chosen installation channel and host
|
|
78
|
-
Skill switch. Installation/enabling does not select a Provider for a workspace.
|
|
79
|
-
Only hand off to the existing Context production Skill when the user asks to
|
|
80
|
-
use it there; that Skill follows a fresh Route for Provider selection.
|
|
12
|
+
Create a reusable skill in the user's chosen directory. This assistant writes
|
|
13
|
+
skills; it does not initialize a knowledge workspace or start production.
|
|
14
|
+
Use the conversation language and ask only for missing source, reader or
|
|
15
|
+
capability choices that materially affect the requested result.
|
|
16
|
+
|
|
17
|
+
Read [the authoring guide](references/guides/indexer-skill-creation.md).
|
|
18
|
+
When a relevant example is available, inspect its actual host-visible SKILL.md
|
|
19
|
+
and only the references needed for this source family. Do not crawl caches,
|
|
20
|
+
load every installed skill or require an exact Provider version.
|
|
21
|
+
|
|
22
|
+
Every Indexer starts with a useful skeleton: source structure, recognizable
|
|
23
|
+
features, names, counts when actually established, and entry locations.
|
|
24
|
+
Planning may use direct Agent investigation or a bounded helper appropriate
|
|
25
|
+
to the technology. Detailed parsing and behavior analysis are separate,
|
|
26
|
+
optional writing-time work. One module may use several skills.
|
|
27
|
+
|
|
28
|
+
Deliver SKILL.md and only useful references, templates or scripts. Do not
|
|
29
|
+
generate a Provider registration manifest, primary/extension binding, version
|
|
30
|
+
or hash verification flow, per-symbol fact ledger or persistent producer log.
|
|
31
|
+
The current Context stage supplies purpose, scope, scheduling and submission
|
|
32
|
+
schemas; the new skill contributes investigation and writing guidance.
|
|
33
|
+
|
|
34
|
+
Validate the skill's references and any scripts, then exercise realistic
|
|
35
|
+
anonymous material for its claimed capability. Distinguish static validation
|
|
36
|
+
from model output review and a real production run. Do not silently install
|
|
37
|
+
dependencies or claim tests that could not run.
|
|
38
|
+
|
|
39
|
+
Report created files, supported inputs, bounded helper behavior and remaining
|
|
40
|
+
limitations. Installation makes a skill available, not selected. Start actual
|
|
41
|
+
Context production only when requested, through its existing entry and route.
|
package/plugins/cursor/skills/context-indexer-create/references/guides/indexer-skill-creation.md
CHANGED
|
@@ -1,99 +1,109 @@
|
|
|
1
1
|
# Creating a reusable Indexer Skill
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
##
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
source
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
3
|
+
An Indexer is source-specific investigation and writing guidance. It helps the
|
|
4
|
+
Agent understand authorized material and produce useful articles; it does not
|
|
5
|
+
own workflow routing, source authorization, review or permanent article identity.
|
|
6
|
+
Several skills may contribute to one module or article.
|
|
7
|
+
|
|
8
|
+
## Minimal package
|
|
9
|
+
|
|
10
|
+
Start with SKILL.md. Add references for substantial source-specific guidance,
|
|
11
|
+
templates when they help readers, and scripts only when a concrete repeated
|
|
12
|
+
operation needs deterministic assistance. A simple note interpreter needs no
|
|
13
|
+
script, manifest, profile registry or template catalog.
|
|
14
|
+
|
|
15
|
+
Use a discoverable name and a precise description. State when the skill helps,
|
|
16
|
+
which sources it understands, and real limits. Refer to bundled resources by
|
|
17
|
+
portable relative paths. Use an existing host-visible Indexer as a behavioral
|
|
18
|
+
example, not as a collection of fields to copy.
|
|
19
|
+
|
|
20
|
+
Do not generate context-indexer.yaml, an exact-version selection ritual,
|
|
21
|
+
integrity receipts, primary/extension ownership, article producer records or
|
|
22
|
+
a per-member disposition protocol. A release may have ordinary package
|
|
23
|
+
metadata; that is not a requirement for the Agent to verify before working.
|
|
24
|
+
|
|
25
|
+
## Investigation produces a skeleton
|
|
26
|
+
|
|
27
|
+
Explain the recognizable source signals and how to examine them cheaply.
|
|
28
|
+
For code, identify useful feature families from declarations or registrations,
|
|
29
|
+
with names and locations. A dependency or filename is a hint, not proof of
|
|
30
|
+
runtime behavior. For documents, use titles, opening excerpts and heading
|
|
31
|
+
hierarchy, with optional full reading to settle grouping. For saved notes and
|
|
32
|
+
sessions, directly interpret the provided record rather than scanning history.
|
|
33
|
+
|
|
34
|
+
A technology-specific helper, if needed, must have an explicit input boundary,
|
|
35
|
+
bounded time/output and a useful stopping behavior. Return names, counts and
|
|
36
|
+
entry locations, not source bodies or a full symbol/relationship graph during
|
|
37
|
+
planning. Distinguish checked counts from totals and identify unfinished scope.
|
|
38
|
+
Do not fabricate feature counts from file counts or silently treat timeouts as
|
|
39
|
+
empty results. Store large results in temporary files rather than long stdout.
|
|
40
|
+
|
|
41
|
+
Document any prerequisites and error recovery. Do not install dependencies,
|
|
42
|
+
parse the whole repository or read unrelated modules by default. A helper that
|
|
43
|
+
needs expensive semantic analysis belongs to selected writing tasks, not the
|
|
44
|
+
initial investigation path. Direct Agent investigation is a valid default
|
|
45
|
+
when a helper adds no useful capability.
|
|
46
|
+
|
|
47
|
+
## Guide topics without owning the plan
|
|
48
|
+
|
|
49
|
+
Describe which reader questions visible signals can suggest, and what further
|
|
50
|
+
evidence the writer needs. A route family, component or storage boundary may
|
|
51
|
+
justify a recurring outline, but not an automatic fixed number of pages.
|
|
52
|
+
A component manual may require individual analysis during writing.
|
|
53
|
+
|
|
54
|
+
Use existing article titles, descriptions and references as navigation, then
|
|
55
|
+
read relevant bodies or sources when necessary. Code can establish structure;
|
|
56
|
+
documents may supply better business topics. Multiple authorized sources may
|
|
57
|
+
form an article. Avoid duplicating a page merely because another skill or
|
|
58
|
+
source family supplied its material.
|
|
59
|
+
|
|
60
|
+
The current stage provides available-skill declarations and temporary planned
|
|
61
|
+
usage. The Agent selects useful skills and article batches. Keep uncertain
|
|
62
|
+
investigation and real evidence gaps visible. Required scope cannot be dropped
|
|
63
|
+
to reduce processing cost, and long-term exclusions require the applicable
|
|
64
|
+
user decision.
|
|
65
|
+
|
|
66
|
+
## Writing and file handoff
|
|
67
|
+
|
|
68
|
+
Explain source authority, meaningful reader output, real references and
|
|
69
|
+
revision behavior. Keep examples, assumptions and confirmed facts distinct.
|
|
70
|
+
A session summary is not a transcript; a change URL is not proof of deployment;
|
|
71
|
+
a declaration or test double is not independently verified runtime behavior.
|
|
72
|
+
|
|
73
|
+
Consume the current task directory, not a copied schema from a past release.
|
|
74
|
+
New articles use the supplied Markdown/reference contract; revisions can use
|
|
75
|
+
the task's base article and fragment edits. Write drafts and manifests to the
|
|
76
|
+
designated Agent temporary directory. The coordinator submits a finished
|
|
77
|
+
subset through the current CLI action and follows its receipt or recovery.
|
|
78
|
+
|
|
79
|
+
Do not write formal knowledge or mutate sources directly. Do not add a
|
|
80
|
+
parallel Author/Composer result envelope, semantic graph, field-by-field fact
|
|
81
|
+
ledger or skill identity to formal content. Source permissions, input
|
|
82
|
+
baselines, real citations and safe writes remain CLI responsibilities.
|
|
83
|
+
|
|
84
|
+
## Validate the claimed capability
|
|
85
|
+
|
|
86
|
+
Check skill frontmatter and every referenced local resource. Run new scripts
|
|
87
|
+
against small anonymous fixtures, including an empty input, a bounded partial
|
|
88
|
+
scan and any failure/recovery behavior they claim. Confirm the helper does not
|
|
89
|
+
escape its selected scope or emit secret/source-body dumps.
|
|
90
|
+
|
|
91
|
+
Exercise useful output, insufficient evidence and a revision of an existing
|
|
92
|
+
article. For source families advertised by the skill, include representative
|
|
93
|
+
differences: an unadopted proposal, a document requiring optional deeper reading,
|
|
94
|
+
or two technologies in one module. Do not claim support for families not tested.
|
|
95
|
+
|
|
96
|
+
A static resource check does not prove semantic quality, and a reviewed example
|
|
97
|
+
does not prove the CLI submission works. If an actual Context run is available
|
|
98
|
+
and requested, validate through the existing workflow in an isolated workspace,
|
|
99
|
+
including report confirmation and file submission. Report unavailable checks
|
|
100
|
+
honestly; do not fabricate a route or silently install tools to make it pass.
|
|
101
|
+
|
|
102
|
+
## Distribution
|
|
103
|
+
|
|
104
|
+
Keep the package portable and use the user's chosen installation channel.
|
|
105
|
+
The host lists available skills; planning records only useful temporary usage.
|
|
106
|
+
Formal articles, sources and necessary long-term scope decisions survive a
|
|
107
|
+
new machine. Unfinished drafts, candidates, skill choices and execution receipts
|
|
108
|
+
remain temporary; a new user can start a fresh production run without restoring
|
|
109
|
+
the former skill bundle or process.
|