@vesviet/agent-skills 5.8.0 → 5.11.0
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/INDEX.md +35 -22
- package/README.md +7 -18
- package/VERSION +1 -1
- package/adapters/antigravity/ANTIGRAVITY.md +40 -142
- package/adapters/antigravity/INDEX_TIER1.json +174 -146
- package/adapters/antigravity/a2a-config.template.yaml +1 -1
- package/adapters/antigravity/antigravity-tools.md +25 -0
- package/adapters/antigravity/role-skill-index.json +175 -58
- package/adapters/claude/CLAUDE_ADAPTER.md +3 -7
- package/adapters/claude/settings.template.json +18 -3
- package/adapters/cursor/README.md +1 -5
- package/adapters/cursor/hooks.template.json +4 -2
- package/core/contracts/README.md +0 -20
- package/core/contracts/schemas/compact-working-state.json +42 -1
- package/core/contracts/schemas/ui-component-spec.json +28 -2
- package/core/policies/README.md +0 -20
- package/core/policies/action-boundaries.yaml +10 -1
- package/core/policies/execution-sandbox.md +0 -12
- package/core/policies/mcp-tool-map.yaml +28 -0
- package/core/roles/3d-graphics-engineer.md +144 -208
- package/core/roles/README.md +1 -23
- package/core/roles/agent-coordinator.md +28 -147
- package/core/roles/agent-discovery-engineer.md +46 -39
- package/core/roles/ai-systems-engineer.md +2 -0
- package/core/roles/backend-developer.md +22 -117
- package/core/roles/cloudflare-engineer.md +1 -1
- package/core/roles/data-engineer.md +3 -1
- package/core/roles/devops-engineer.md +4 -3
- package/core/roles/ecommerce-engineer.md +18 -6
- package/core/roles/frontend-developer.md +146 -317
- package/core/roles/game-developer.md +2 -1
- package/core/roles/mobile-engineer.md +18 -204
- package/core/roles/product-manager.md +3 -3
- package/core/roles/project-manager.md +5 -5
- package/core/roles/references/3d-graphics-engineer-review-checklist.md +109 -109
- package/core/roles/references/agent-coordinator-responsibilities.md +120 -0
- package/core/roles/references/agent-coordinator-review-checklist.md +22 -4
- package/core/roles/references/agent-discovery-engineer-review-checklist.md +29 -20
- package/core/roles/references/backend-developer-responsibilities.md +47 -0
- package/core/roles/references/backend-developer-review-checklist.md +15 -0
- package/core/roles/references/business-analyst-responsibilities.md +2 -2
- package/core/roles/references/frontend-developer-responsibilities.md +14 -6
- package/core/roles/references/frontend-developer-review-checklist.md +13 -6
- package/core/roles/references/mobile-engineer-responsibilities.md +137 -0
- package/core/roles/references/mobile-engineer-review-checklist.md +63 -0
- package/core/roles/references/reviewer-review-checklist.md +54 -0
- package/core/roles/references/sdet-review-checklist.md +53 -0
- package/core/roles/references/solution-architect-responsibilities.md +134 -0
- package/core/roles/references/sre-review-checklist.md +81 -0
- package/core/roles/references/system-engineer-responsibilities.md +124 -0
- package/core/roles/references/technical-architect-responsibilities.md +192 -0
- package/core/roles/references/technical-architect-review-checklist.md +58 -0
- package/core/roles/references/technical-lead-review-checklist.md +65 -0
- package/core/roles/references/ui-ux-designer-anti-slop-standards.md +61 -35
- package/core/roles/references/ui-ux-designer-responsibilities.md +79 -226
- package/core/roles/references/ui-ux-designer-review-checklist.md +102 -116
- package/core/roles/references/vietnam-accounting-specialist-review-checklist.md +6 -6
- package/core/roles/researcher.md +3 -3
- package/core/roles/reviewer.md +2 -2
- package/core/roles/role-standard.md +79 -205
- package/core/roles/sdet.md +5 -6
- package/core/roles/security-engineer.md +4 -3
- package/core/roles/solution-architect.md +9 -130
- package/core/roles/sre.md +1 -0
- package/core/roles/system-engineer.md +15 -155
- package/core/roles/task-planner.md +1 -1
- package/core/roles/technical-architect.md +15 -244
- package/core/roles/technical-lead.md +1 -0
- package/core/roles/technical-writer.md +3 -3
- package/core/roles/ui-ux-designer.md +158 -303
- package/core/roles/vietnam-accounting-specialist.md +20 -20
- package/core/rules/README.md +0 -22
- package/core/rules/code.md +11 -6
- package/core/skills/README.md +12 -25
- package/core/skills/agent/agent-delegation/SKILL.md +11 -0
- package/core/skills/agent/agent-graph-orchestration/SKILL.md +5 -0
- package/core/skills/agent/agent-memory-compaction/SKILL.md +79 -82
- package/core/skills/agent/agent-memory-compaction/references/anchored-schema-and-compaction-algorithms.md +74 -115
- package/core/skills/agent/agent-model-routing/SKILL.md +2 -0
- package/core/skills/agent/agent-observability/SKILL.md +12 -6
- package/core/skills/agent/agent-observability/references/session-forensics-7-dimensions.md +41 -0
- package/core/skills/agent/agent-panel-meeting/SKILL.md +3 -3
- package/core/skills/agent/agent-quality-gate/SKILL.md +9 -0
- package/core/skills/agent/configure-agent-commerce/SKILL.md +2 -0
- package/core/skills/agent/configure-agent-commerce/examples/ucp-commerce-manifest-and-endpoints.json +55 -0
- package/core/skills/agent/configure-agent-commerce/references/acp-ucp-agent-commerce-manifest-specs.md +66 -0
- package/core/skills/agent/configure-agent-headers/SKILL.md +3 -0
- package/core/skills/agent/configure-agent-skills/SKILL.md +4 -4
- package/core/skills/agent/configure-oauth-metadata/SKILL.md +10 -7
- package/core/skills/agent/manage-agent-identity/SKILL.md +2 -0
- package/core/skills/agent/manage-agent-identity/examples/agent-identity-spire-workload.yaml +72 -0
- package/core/skills/agent/manage-agent-identity/references/nhi-lifecycle-and-token-rotation.md +45 -0
- package/core/skills/ai/deploy-vllm-inference/SKILL.md +2 -0
- package/core/skills/ai/deploy-vllm-inference/examples/vllm-production-serve-config.yaml +22 -0
- package/core/skills/ai/deploy-vllm-inference/references/vllm-v1-paged-attention-and-kv-tiering.md +20 -0
- package/core/skills/ai/openrouter-task/SKILL.md +5 -5
- package/core/skills/ai-agent/context-optimization/SKILL.md +2 -0
- package/core/skills/ai-agent/context-optimization/examples/context-pruner-and-reorderer.py +85 -0
- package/core/skills/ai-agent/context-optimization/references/token-budgeting-and-attention-allocation.md +47 -0
- package/core/skills/ai-agent/memory-hygiene/SKILL.md +13 -0
- package/core/skills/ai-agent/memory-hygiene/examples/memory-audit-and-compaction-routine.py +90 -0
- package/core/skills/ai-agent/memory-hygiene/references/agent-memory-vault-spec.md +137 -0
- package/core/skills/ai-agent/memory-hygiene/references/owasp-asi06-and-memory-poisoning-defense.md +38 -0
- package/core/skills/backend/add-api-endpoint/SKILL.md +9 -0
- package/core/skills/backend/add-api-endpoint/examples/express-zod-rfc9457-endpoint.md +329 -0
- package/core/skills/backend/add-api-endpoint/examples/kratos-go-clean-architecture-endpoint.md +405 -0
- package/core/skills/backend/add-api-endpoint/references/idempotency-and-rate-limiting.md +116 -0
- package/core/skills/backend/add-event-handler/SKILL.md +12 -1
- package/core/skills/backend/add-event-handler/examples/go-outbox-skip-locked-relay.go +97 -0
- package/core/skills/backend/add-event-handler/references/transactional-outbox-and-cloudevents.md +42 -0
- package/core/skills/backend/add-service-client/SKILL.md +2 -0
- package/core/skills/backend/add-service-client/examples/ts-circuit-breaker-full-jitter-client.ts +71 -0
- package/core/skills/backend/add-service-client/references/resilient-client-circuit-breaker-specs.md +25 -0
- package/core/skills/backend/build-mcp-server/SKILL.md +2 -0
- package/core/skills/backend/build-mcp-server/examples/ts-stateless-mcp-server-zod.ts +52 -0
- package/core/skills/backend/build-mcp-server/references/mcp-2026-stateless-contract-specs.md +21 -0
- package/core/skills/backend/design-caching-and-locking/SKILL.md +83 -0
- package/core/skills/backend/design-caching-and-locking/examples/redis-lua-atomic-reservation-fencing.lua +30 -0
- package/core/skills/backend/design-caching-and-locking/references/redis-lua-fencing-and-stampede-specs.md +25 -0
- package/core/skills/backend/design-caching-and-locking/scripts/verify_lua_atomicity.py +68 -0
- package/core/skills/backend/implement-auth/SKILL.md +9 -0
- package/core/skills/backend/implement-structured-outputs/SKILL.md +2 -0
- package/core/skills/backend/implement-structured-outputs/examples/python-pydantic-structured-output.py +65 -0
- package/core/skills/backend/implement-structured-outputs/references/constrained-decoding-and-double-validation.md +18 -0
- package/core/skills/backend/optimize-postgres/SKILL.md +9 -0
- package/core/skills/backend/scaffold-new-service/SKILL.md +2 -1
- package/core/skills/backend/scaffold-new-service/references/deep-modules-and-seams.md +43 -0
- package/core/skills/business/elicit-requirements/SKILL.md +2 -0
- package/core/skills/business/trace-requirements-impact/SKILL.md +1 -0
- package/core/skills/business/write-use-cases/SKILL.md +1 -0
- package/core/skills/commerce/handle-checkout-flow/SKILL.md +18 -66
- package/core/skills/commerce/handle-checkout-flow/examples/production-checkout-orchestrator.ts +185 -0
- package/core/skills/commerce/handle-checkout-flow/references/pci-dss-v4-and-agentic-checkout-specs.md +72 -0
- package/core/skills/commerce/integrate-payment-gateway/SKILL.md +22 -58
- package/core/skills/commerce/integrate-payment-gateway/examples/resilient-webhook-and-mpp-handler.ts +164 -0
- package/core/skills/commerce/integrate-payment-gateway/references/mpp-x402-and-webhook-security-specs.md +47 -0
- package/core/skills/commerce/manage-order-fulfillment/SKILL.md +17 -50
- package/core/skills/commerce/manage-order-fulfillment/examples/temporal-fulfillment-saga.ts +104 -0
- package/core/skills/commerce/manage-order-fulfillment/references/event-sourced-fulfillment-and-carrier-webhooks.md +58 -0
- package/core/skills/commerce/manage-product-catalog/SKILL.md +5 -1
- package/core/skills/commerce/manage-product-catalog/examples/hybrid-search-and-governance-pipeline.ts +120 -0
- package/core/skills/commerce/manage-product-catalog/references/semantic-vector-catalog-and-graphrag.md +54 -0
- package/core/skills/content/write-article/SKILL.md +1 -1
- package/core/skills/document/docx/SKILL.md +1 -0
- package/core/skills/document/pdf/SKILL.md +2 -0
- package/core/skills/document/pdf/references/pdf-acroforms-and-pdfplumber-specs.md +54 -0
- package/core/skills/document/pdf/scripts/check_fillable_fields.py +144 -0
- package/core/skills/document/pdf/scripts/fill_fillable_fields.py +145 -0
- package/core/skills/document/xlsx/SKILL.md +1 -0
- package/core/skills/documentation/configure-llms-txt/SKILL.md +3 -0
- package/core/skills/documentation/configure-llms-txt/examples/canonical-llms-txt-and-full-txt.md +45 -0
- package/core/skills/documentation/configure-llms-txt/references/llms-txt-and-llms-full-txt-standard.md +37 -0
- package/core/skills/documentation/write-documentation/SKILL.md +4 -1
- package/core/skills/documentation/write-documentation/examples/microservice-production-readme-and-api-docs.md +70 -0
- package/core/skills/documentation/write-documentation/references/diataxis-framework-and-doc-standards.md +62 -0
- package/core/skills/documentation/write-tech-radar/SKILL.md +1 -0
- package/core/skills/education/create-exercises/SKILL.md +1 -0
- package/core/skills/education/design-learning-plan/SKILL.md +1 -0
- package/core/skills/education/grade-and-review/SKILL.md +1 -0
- package/core/skills/foundation/accessibility-review/SKILL.md +1 -0
- package/core/skills/foundation/ai-risk-assessment/SKILL.md +4 -5
- package/core/skills/foundation/ai-risk-assessment/examples/genai-system-risk-register.md +67 -0
- package/core/skills/foundation/ai-risk-assessment/references/nist-ai-rmf-and-eu-ai-act-taxonomy.md +49 -0
- package/core/skills/foundation/combinatorial-testing/SKILL.md +1 -0
- package/core/skills/foundation/conduct-research/SKILL.md +2 -2
- package/core/skills/foundation/conduct-research/references/ai-era-source-discipline.md +1 -1
- package/core/skills/foundation/create-migration/SKILL.md +10 -0
- package/core/skills/foundation/design-review/SKILL.md +9 -10
- package/core/skills/foundation/design-ux-flow/SKILL.md +9 -7
- package/core/skills/foundation/discernment-nudge/SKILL.md +2 -0
- package/core/skills/foundation/hostile-component-stress-testing/SKILL.md +1 -0
- package/core/skills/foundation/incident-report/SKILL.md +1 -0
- package/core/skills/foundation/plan-technical-delivery/SKILL.md +3 -1
- package/core/skills/foundation/playwright-evidence-qa/SKILL.md +1 -0
- package/core/skills/foundation/refactor-legacy-code/SKILL.md +84 -0
- package/core/skills/foundation/refactor-legacy-code/examples/characterization-test-seam-extraction.py +34 -0
- package/core/skills/foundation/refactor-legacy-code/references/strangler-fig-seams-and-characterization-tests.md +17 -0
- package/core/skills/foundation/refactor-legacy-code/scripts/check_refactor_blast_radius.py +63 -0
- package/core/skills/foundation/release-notes/SKILL.md +3 -3
- package/core/skills/foundation/release-notes/examples/enterprise-platform-release-notes.md +42 -0
- package/core/skills/foundation/release-notes/references/keep-a-changelog-and-semver-governance.md +43 -0
- package/core/skills/foundation/systematic-debugging/SKILL.md +15 -0
- package/core/skills/foundation/webapp-server-runner/SKILL.md +1 -0
- package/core/skills/foundation/write-product-brief/SKILL.md +1 -0
- package/core/skills/foundation/write-tests/SKILL.md +9 -0
- package/core/skills/foundation/write-tests/examples/anti-tautological-tdd-walkthrough.md +204 -0
- package/core/skills/foundation/write-tests/examples/testcontainers-kratos-integration-test.md +186 -0
- package/core/skills/foundation/write-tests/references/contract-and-chaos-testing.md +187 -0
- package/core/skills/frontend/INDEX.json +16 -0
- package/core/skills/frontend/add-page-route/SKILL.md +10 -8
- package/core/skills/frontend/add-page-route/examples/streaming-rsc-page-with-view-transition.tsx +133 -0
- package/core/skills/frontend/add-page-route/references/rsc-routing-and-view-transitions.md +72 -0
- package/core/skills/frontend/add-ui-component/SKILL.md +4 -1
- package/core/skills/frontend/add-ui-component/examples/compound-dialog-and-form-actions.tsx +193 -0
- package/core/skills/frontend/add-ui-component/references/react19-component-standards-and-anti-slop.md +55 -0
- package/core/skills/frontend/component-composition/SKILL.md +12 -1
- package/core/skills/frontend/component-composition/examples/headless-combobox-compound-component.tsx +207 -0
- package/core/skills/frontend/design-md-specification/SKILL.md +5 -0
- package/core/skills/frontend/design-system-engineering/SKILL.md +4 -2
- package/core/skills/frontend/frontend-micro-polish/SKILL.md +1 -0
- package/core/skills/frontend/frontend-testing/SKILL.md +4 -1
- package/core/skills/frontend/frontend-testing/examples/playwright-e2e-with-msw-and-axe.spec.ts +87 -0
- package/core/skills/frontend/frontend-testing/references/playwright-msw-and-a11y-testing-standards.md +78 -0
- package/core/skills/frontend/implement-ai-disclosure/SKILL.md +119 -0
- package/core/skills/frontend/implement-view-transitions/SKILL.md +1 -0
- package/core/skills/frontend/implement-webmcp/SKILL.md +7 -4
- package/core/skills/frontend/implement-webmcp/examples/webmcp-provider-and-hitl-modal.tsx +163 -0
- package/core/skills/frontend/implement-webmcp/references/webmcp-architecture-and-hitl-security.md +48 -0
- package/core/skills/frontend/integrate-api-client/SKILL.md +12 -12
- package/core/skills/frontend/integrate-api-client/examples/orval-query-and-streaming-mutation.ts +102 -0
- package/core/skills/frontend/integrate-api-client/references/orval-tanstack-query-and-streaming-specs.md +57 -0
- package/core/skills/frontend/interactive-component-workbench/SKILL.md +1 -0
- package/core/skills/frontend/motion-performance-engineering/SKILL.md +1 -0
- package/core/skills/frontend/setup-design-system/SKILL.md +6 -3
- package/core/skills/frontend/setup-design-system/examples/tailwind-v4-theme-and-dtcg-tokens.css +87 -0
- package/core/skills/frontend/setup-design-system/references/tailwind-v4-oklch-and-dtcg-tokens.md +61 -0
- package/core/skills/frontend/setup-visual-regression/SKILL.md +8 -5
- package/core/skills/frontend/setup-visual-regression/examples/visual-regression-playwright.config.ts +83 -0
- package/core/skills/frontend/setup-visual-regression/references/visual-regression-docker-and-masking-specs.md +46 -0
- package/core/skills/frontend/ui-ux-designer-anti-slop-standards.md +64 -42
- package/core/skills/frontend/web-quality-audit/SKILL.md +1 -0
- package/core/skills/gamedev/abstract-input-actions/SKILL.md +2 -0
- package/core/skills/gamedev/abstract-input-actions/examples/input-action-manager.ts +85 -0
- package/core/skills/gamedev/abstract-input-actions/references/action-mapping-and-analog-deadzones.md +54 -0
- package/core/skills/gamedev/architect-ecs-systems/SKILL.md +2 -0
- package/core/skills/gamedev/architect-ecs-systems/examples/bevy-flecs-combat-system.rs +73 -0
- package/core/skills/gamedev/architect-ecs-systems/references/data-oriented-design-and-archetype-ecs.md +39 -0
- package/core/skills/gamedev/author-game-ai/SKILL.md +2 -0
- package/core/skills/gamedev/author-game-ai/examples/modular-behavior-tree-ai.ts +98 -0
- package/core/skills/gamedev/author-game-ai/references/behavior-trees-and-utility-ai-curves.md +47 -0
- package/core/skills/gamedev/configure-physics-collision/SKILL.md +2 -0
- package/core/skills/gamedev/configure-physics-collision/examples/kinematic-physics-substepping.cpp +100 -0
- package/core/skills/gamedev/configure-physics-collision/references/continuous-collision-detection-and-substepping.md +50 -0
- package/core/skills/gamedev/develop-gameplay-systems/SKILL.md +2 -0
- package/core/skills/gamedev/develop-gameplay-systems/examples/kinematic-character-controller.gd +86 -0
- package/core/skills/gamedev/develop-gameplay-systems/references/deterministic-gameplay-state-machines.md +42 -0
- package/core/skills/gamedev/implement-save-persistence/SKILL.md +2 -0
- package/core/skills/gamedev/implement-save-persistence/examples/versioned-save-manager.ts +127 -0
- package/core/skills/gamedev/implement-save-persistence/references/versioned-save-schemas-and-checksums.md +44 -0
- package/core/skills/gamedev/render-webgl-threejs/SKILL.md +14 -10
- package/core/skills/gamedev/render-webgl-threejs/examples/production-threejs-webgpu-scene.ts +116 -0
- package/core/skills/gamedev/render-webgl-threejs/references/webgpu-threejs-pbr-pipeline.md +72 -0
- package/core/skills/legal-compliance/audit-ai-compliance/SKILL.md +1 -0
- package/core/skills/legal-compliance/draft-legal-opinion/SKILL.md +1 -0
- package/core/skills/legal-compliance/manage-vietnam-legal/SKILL.md +1 -0
- package/core/skills/meetings-analysis/analyze-business-requirements/SKILL.md +1 -0
- package/core/skills/meetings-analysis/analyze-data/SKILL.md +1 -0
- package/core/skills/meetings-analysis/meeting-review/SKILL.md +1 -0
- package/core/skills/mmo/analyze-campaign-roi/SKILL.md +2 -0
- package/core/skills/mmo/analyze-campaign-roi/examples/campaign-roi-and-roas-dashboard.py +80 -0
- package/core/skills/mmo/analyze-campaign-roi/references/multi-touch-attribution-and-cpa-analytics.md +33 -0
- package/core/skills/mmo/create-automation-script/SKILL.md +2 -0
- package/core/skills/mmo/create-automation-script/examples/stealth-browser-automation-flow.ts +65 -0
- package/core/skills/mmo/create-automation-script/references/stealth-cdp-and-behavioral-mimicry.md +37 -0
- package/core/skills/mmo/deploy-mmo-infrastructure/SKILL.md +3 -0
- package/core/skills/mmo/deploy-mmo-infrastructure/examples/proxy-health-probe-and-rotation-daemon.py +75 -0
- package/core/skills/mmo/deploy-mmo-infrastructure/references/proxy-pool-rotation-and-anti-detect-specs.md +45 -0
- package/core/skills/mmo/deploy-proxyware-fleet/SKILL.md +3 -0
- package/core/skills/mmo/deploy-proxyware-fleet/examples/docker-compose-depin-light-node-fleet.yaml +52 -0
- package/core/skills/mmo/deploy-proxyware-fleet/references/depin-bandwidth-monetization-node-specs.md +43 -0
- package/core/skills/mmo/generate-mmo-content/SKILL.md +2 -0
- package/core/skills/mmo/generate-mmo-content/examples/pseo-programmatic-page-generator.ts +76 -0
- package/core/skills/mmo/generate-mmo-content/references/pseo-landing-pages-and-social-video-hooks.md +39 -0
- package/core/skills/mmo/manage-mmo-assets/SKILL.md +2 -0
- package/core/skills/mmo/manage-mmo-assets/examples/mmo-asset-vault-manager.py +63 -0
- package/core/skills/mmo/manage-mmo-assets/references/mmo-asset-rbac-and-vault-isolation.md +38 -0
- package/core/skills/mmo/setup-tracking-system/SKILL.md +2 -0
- package/core/skills/mmo/setup-tracking-system/examples/meta-capi-s2s-event-dispatcher.ts +79 -0
- package/core/skills/mmo/setup-tracking-system/references/server-to-server-postback-and-capi-specs.md +45 -0
- package/core/skills/mobile/deploy-mobile-app/SKILL.md +1 -0
- package/core/skills/mobile/develop-mobile-app/SKILL.md +1 -0
- package/core/skills/platform/add-telemetry-instrumentation/SKILL.md +2 -0
- package/core/skills/platform/add-telemetry-instrumentation/examples/kratos-otel-middleware-instrumentation.go +87 -0
- package/core/skills/platform/add-telemetry-instrumentation/references/opentelemetry-semantic-conventions-2026.md +37 -0
- package/core/skills/platform/agents-sdk/SKILL.md +1 -0
- package/core/skills/platform/aws-infrastructure/SKILL.md +2 -0
- package/core/skills/platform/aws-infrastructure/examples/opentofu-eks-pod-identity-vpc.tf +101 -0
- package/core/skills/platform/aws-infrastructure/references/opentofu-aws-zero-trust-and-irsa.md +40 -0
- package/core/skills/platform/cloudflare-email-service/SKILL.md +2 -2
- package/core/skills/platform/configure-ci-cd-pipeline/SKILL.md +83 -0
- package/core/skills/platform/configure-ci-cd-pipeline/examples/hardened-ci-matrix-workflow.yml +33 -0
- package/core/skills/platform/configure-ci-cd-pipeline/references/github-actions-sha-pinning-and-slsa-specs.md +22 -0
- package/core/skills/platform/configure-ci-cd-pipeline/scripts/audit_workflow_pinning.py +74 -0
- package/core/skills/platform/debug-runtime-platform/SKILL.md +1 -2
- package/core/skills/platform/debug-workers-edge/SKILL.md +2 -2
- package/core/skills/platform/durable-objects/SKILL.md +1 -0
- package/core/skills/platform/orchestrate-chaos-experiment/SKILL.md +1 -0
- package/core/skills/platform/sandbox-sdk/SKILL.md +1 -0
- package/core/skills/platform/setup-deployment/SKILL.md +6 -2
- package/core/skills/platform/setup-deployment/examples/kustomize-production-service-manifests.yaml +123 -0
- package/core/skills/platform/setup-deployment/references/interactive-hitl-wizard.md +55 -0
- package/core/skills/platform/setup-deployment/references/k8s-gitops-and-kustomize-invariants.md +40 -0
- package/core/skills/platform/setup-gpu-finops/SKILL.md +2 -0
- package/core/skills/platform/setup-gpu-finops/examples/gpu-finops-prometheus-rules.yaml +23 -0
- package/core/skills/platform/setup-gpu-finops/references/dcgm-kubecost-gpu-attribution-specs.md +16 -0
- package/core/skills/platform/setup-llm-gateway/SKILL.md +2 -0
- package/core/skills/platform/setup-llm-gateway/examples/litellm-gateway-config.yaml +28 -0
- package/core/skills/platform/setup-llm-gateway/references/litellm-routing-budget-failover-specs.md +16 -0
- package/core/skills/platform/supply-chain-security/SKILL.md +3 -2
- package/core/skills/platform/supply-chain-security/examples/github-actions-sbom-cosign.yaml +57 -0
- package/core/skills/platform/supply-chain-security/references/slsa-provenance-and-sbom-sigstore.md +60 -0
- package/core/skills/platform/turnstile-spin/SKILL.md +2 -2
- package/core/skills/platform/web-perf/SKILL.md +2 -2
- package/core/skills/platform/workers-best-practices/SKILL.md +1 -0
- package/core/skills/platform/wrangler/SKILL.md +1 -0
- package/core/skills/product/build-story-map/SKILL.md +3 -0
- package/core/skills/product/define-product-strategy/SKILL.md +1 -0
- package/core/skills/product/model-saas-metrics/SKILL.md +1 -0
- package/core/skills/product/prioritize-roadmap/SKILL.md +1 -0
- package/core/skills/repo-ops/commit-code/SKILL.md +1 -0
- package/core/skills/repo-ops/navigate-service/SKILL.md +28 -132
- package/core/skills/repo-ops/navigate-service/examples/service-boundary-map-example.md +14 -0
- package/core/skills/repo-ops/navigate-service/references/service-topology-mapping-guide.md +18 -0
- package/core/skills/repo-ops/review-code/SKILL.md +12 -2
- package/core/skills/repo-ops/review-code/examples/adversarial-two-axis-pr-review.md +167 -0
- package/core/skills/repo-ops/review-code/examples/ai-vibe-slop-remediation.md +220 -0
- package/core/skills/repo-ops/review-code/references/supply-chain-and-migration-safety.md +103 -0
- package/core/skills/repo-ops/review-service/SKILL.md +4 -1
- package/core/skills/repo-ops/review-service/examples/service-release-audit-report.md +21 -0
- package/core/skills/repo-ops/review-service/references/release-readiness-audit-rubric.md +21 -0
- package/core/skills/repo-ops/troubleshoot-service/SKILL.md +1 -0
- package/core/skills/security-data/database-maintenance/SKILL.md +1 -1
- package/core/skills/security-data/manage-secrets/SKILL.md +2 -0
- package/core/skills/security-data/manage-secrets/examples/external-secrets-vault-crds.yaml +53 -0
- package/core/skills/security-data/manage-secrets/references/zero-trust-secret-rotation-and-eso.md +30 -0
- package/core/skills/security-data/manage-vietnam-accounting/SKILL.md +8 -7
- package/core/skills/security-data/prompt-injection-defense/SKILL.md +2 -0
- package/core/skills/security-data/prompt-injection-defense/examples/bounded-tool-execution-wrapper.py +78 -0
- package/core/skills/security-data/prompt-injection-defense/references/prompt-injection-taxonomy-and-delimiters.md +37 -0
- package/core/skills/security-data/reverse-engineer-binary/SKILL.md +3 -0
- package/core/skills/security-data/reverse-engineer-binary/examples/binary-triage-and-vulnerability-dossier.md +58 -0
- package/core/skills/security-data/reverse-engineer-binary/references/ghidra-radare2-and-rea-evidence-ledgers.md +43 -0
- package/core/skills/security-data/security-audit/SKILL.md +3 -1
- package/core/skills/security-data/security-audit/examples/enterprise-service-security-audit-report.md +54 -0
- package/core/skills/security-data/security-audit/references/owasp-asi-and-cvss4-threat-modeling.md +39 -0
- package/core/skills/security-data/skill-preflight-ast-check/SKILL.md +3 -0
- package/core/skills/security-data/skill-preflight-ast-check/references/ast-lethal-trifecta-and-static-vetting.md +38 -0
- package/core/skills/security-data/skill-preflight-ast-check/scripts/scan-skill-ast.py +127 -0
- package/core/skills/seo/audit-technical-seo/SKILL.md +1 -0
- package/core/skills/seo/implement-schema-markup/SKILL.md +1 -0
- package/core/workflows/README.md +0 -20
- package/overlays/README.md +2 -22
- package/overlays/astro-cloudflare/README.md +0 -20
- package/overlays/astro-cloudflare/rules/astro-cloudflare-conventions.md +0 -31
- package/overlays/b2b-catalog-golf/README.md +0 -20
- package/overlays/b2b-catalog-golf/rules/golf-project-rules.md +0 -31
- package/overlays/b2b-catalog-golf/skills/develop-b2b-golf-feature/SKILL.md +1 -0
- package/overlays/b2b-factory-catalog/README.md +0 -20
- package/overlays/b2b-factory-catalog/rules/icm-project-rules.md +0 -31
- package/overlays/b2b-factory-catalog/skills/develop-b2b-catalog-feature/SKILL.md +1 -0
- package/overlays/b2b-sport-catalog/README.md +0 -20
- package/overlays/b2b-sport-catalog/rules/sport-project-rules.md +0 -31
- package/overlays/cad-projection/README.md +0 -20
- package/overlays/cad-projection/rules/cad-conventions.md +0 -20
- package/overlays/cad-projection/skills/isometric-svg-projection/SKILL.md +1 -0
- package/overlays/data-analyst-stack/README.md +0 -20
- package/overlays/data-analyst-stack/rules/metric-dashboard-templates.md +0 -31
- package/overlays/data-analyst-stack/rules/stack-conventions.md +0 -31
- package/overlays/data-warehouse/README.md +0 -22
- package/overlays/data-warehouse/learning/learning-conventions.md +0 -31
- package/overlays/data-warehouse/learning/phase-roadmap.md +0 -31
- package/overlays/data-warehouse/rules/amis-accounting-standards.md +0 -33
- package/overlays/data-warehouse/rules/duckdb-concurrency.md +0 -37
- package/overlays/data-warehouse/rules/pii-scrubbing.md +0 -37
- package/overlays/data-warehouse/rules/stocktake-tolerance.md +0 -33
- package/overlays/ecommerce-microservices/README.md +22 -35
- package/overlays/ecommerce-microservices/config/README.md +3 -1
- package/overlays/ecommerce-microservices/rules/README.md +2 -1
- package/overlays/ecommerce-microservices/rules/microservices-conventions.md +30 -0
- package/overlays/ecommerce-microservices/skills/README.md +1 -1
- package/overlays/ecommerce-microservices/workflows/README.md +3 -1
- package/overlays/fintech-compliance/README.md +0 -20
- package/overlays/fintech-compliance/rules/credit-scorecard-rules.md +0 -20
- package/overlays/fintech-compliance/skills/build-credit-scorecard/SKILL.md +1 -0
- package/overlays/go-microservices/README.md +1 -21
- package/overlays/go-microservices/rules/go-conventions.md +0 -31
- package/overlays/hugo-authority-content/README.md +0 -20
- package/overlays/hugo-authority-content/roles/README.md +0 -20
- package/overlays/hugo-authority-content/rules/content-brand.md +0 -30
- package/overlays/hugo-authority-content/rules/link-topology.md +0 -30
- package/overlays/hugo-authority-content/rules/seo-authority.md +0 -30
- package/overlays/hugo-authority-content/rules/technical-article-2027.md +0 -30
- package/overlays/hugo-authority-content/skills/audit-technical-article/SKILL.md +1 -0
- package/overlays/hugo-authority-content/skills/write-hugo-twin-content/SKILL.md +1 -0
- package/overlays/hugo-authority-content/workflows/README.md +0 -20
- package/overlays/hvac-authority-content/README.md +0 -20
- package/overlays/hvac-authority-content/config/collections.md +0 -22
- package/overlays/hvac-authority-content/rules/content-schema.md +0 -30
- package/overlays/hvac-authority-content/rules/hvac-engineering-standards.md +0 -30
- package/overlays/hvac-authority-content/rules/silo-linking.md +0 -30
- package/overlays/hvac-authority-content/skills/write-hvac-authority-content/SKILL.md +1 -0
- package/overlays/hvac-authority-content/workflows/publish-hvac-content.md +0 -22
- package/overlays/laravel-ecommerce/README.md +0 -20
- package/overlays/laravel-ecommerce/rules/elomus-design-system.md +0 -31
- package/overlays/laravel-ecommerce/rules/laravel-ecommerce-rules.md +0 -31
- package/overlays/laravel-ecommerce/skills/develop-laravel-ecommerce-feature/SKILL.md +1 -0
- package/overlays/laravel-filament/README.md +0 -20
- package/overlays/laravel-filament/rules/laravel-conventions.md +0 -31
- package/overlays/laravel-filament/skills/develop-laravel-feature/SKILL.md +1 -0
- package/overlays/livestream-web/README.md +0 -20
- package/overlays/livestream-web/rules/livestream-web-ux-conventions.md +0 -31
- package/overlays/obj-configurator/README.md +0 -20
- package/overlays/obj-configurator/rules/obj-project-rules.md +0 -31
- package/overlays/obj-configurator/skills/develop-obj-feature/SKILL.md +1 -0
- package/overlays/r3f-stack/README.md +0 -20
- package/overlays/r3f-stack/rules/stub.md +0 -31
- package/overlays/r3f-stack/skills/debug-3d-scene/SKILL.md +4 -2
- package/overlays/r3f-stack/skills/integrate-r3f-three-legacy/SKILL.md +6 -5
- package/overlays/r3f-stack/skills/optimize-3d-assets/SKILL.md +4 -3
- package/overlays/real-estate-content/README.md +0 -20
- package/overlays/real-estate-content/roles/README.md +0 -20
- package/overlays/real-estate-content/rules/affiliate-links.md +0 -31
- package/overlays/real-estate-content/rules/content-schema.md +0 -31
- package/overlays/real-estate-content/rules/seo-baseline.md +0 -31
- package/overlays/real-estate-content/skills/write-real-estate-astro-data/SKILL.md +1 -0
- package/overlays/real-estate-content/workflows/README.md +0 -20
- package/overlays/security-research/README.md +0 -20
- package/overlays/security-research/rules/reverse-engineering-rules.md +0 -20
- package/overlays/seo-publishing/README.md +1 -21
- package/overlays/seo-publishing/rules/publish-log-conventions.md +0 -31
- package/overlays/seo-publishing/rules/publishing-cadence.md +0 -31
- package/overlays/seo-publishing/rules/site-mix-and-cannibalization.md +0 -31
- package/overlays/seo-publishing/rules/topic-board-template.md +0 -31
- package/overlays/ui-design-system/README.md +0 -20
- package/overlays/ui-design-system/rules/handoff-conventions.md +0 -31
- package/package.json +2 -2
- package/packs/README.md +3 -9
- package/packs/ecommerce-team/manifest.yaml +1 -1
- package/core/skills/commerce/2026_STANDARDS_SUMMARY.md +0 -316
- package/core/skills/commerce/handle-checkout-flow/UPGRADE_PLAN_2026.md +0 -99
- package/core/skills/commerce/integrate-payment-gateway/UPGRADE_PLAN_2026.md +0 -128
- package/core/skills/commerce/manage-order-fulfillment/UPGRADE_PLAN_2026.md +0 -136
- package/core/skills/commerce/manage-product-catalog/UPGRADE_PLAN_2026.md +0 -130
- package/core/skills/education/2026_STANDARDS_SUMMARY.md +0 -290
- package/core/skills/education/create-exercises/UPGRADE_PLAN_2026.md +0 -115
- package/core/skills/education/design-learning-plan/UPGRADE_PLAN_2026.md +0 -140
- package/core/skills/education/grade-and-review/UPGRADE_PLAN_2026.md +0 -141
- package/core/skills/frontend/2026_STANDARDS_SUMMARY.md +0 -345
- package/core/skills/frontend/add-page-route/UPGRADE_PLAN_2026.md +0 -102
- package/core/skills/frontend/add-ui-component/UPGRADE_PLAN_2026.md +0 -114
- package/core/skills/frontend/component-composition/UPGRADE_PLAN_2026.md +0 -103
- package/core/skills/frontend/frontend-testing/UPGRADE_PLAN_2026.md +0 -137
- package/core/skills/frontend/implement-view-transitions/UPGRADE_PLAN_2026.md +0 -118
- package/core/skills/frontend/implement-webmcp/UPGRADE_PLAN_2026.md +0 -108
- package/core/skills/frontend/integrate-api-client/UPGRADE_PLAN_2026.md +0 -118
- package/core/skills/frontend/setup-design-system/UPGRADE_PLAN_2026.md +0 -123
- package/core/skills/frontend/setup-visual-regression/UPGRADE_PLAN_2026.md +0 -121
- package/core/skills/meetings-analysis/2026_STANDARDS_SUMMARY.md +0 -236
- package/core/skills/meetings-analysis/analyze-business-requirements/UPGRADE_PLAN_2026.md +0 -97
- package/core/skills/meetings-analysis/analyze-data/UPGRADE_PLAN_2026.md +0 -143
- package/core/skills/meetings-analysis/meeting-review/UPGRADE_PLAN_2026.md +0 -125
- package/core/skills/mobile/2026_STANDARDS_SUMMARY.md +0 -209
- package/core/skills/mobile/deploy-mobile-app/UPGRADE_PLAN_2026.md +0 -122
- package/core/skills/mobile/develop-mobile-app/UPGRADE_PLAN_2026.md +0 -141
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""
|
|
3
|
+
Inspect and discover interactive AcroForm fields in PDF documents.
|
|
4
|
+
|
|
5
|
+
Scans PDF files using pypdf, reporting field names, types, default values,
|
|
6
|
+
and validation flags (Required, Read-Only). Emits formatted tables or JSON.
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
from __future__ import annotations
|
|
10
|
+
|
|
11
|
+
import argparse
|
|
12
|
+
import json
|
|
13
|
+
import sys
|
|
14
|
+
from pathlib import Path
|
|
15
|
+
from typing import Any, Dict, List, Optional
|
|
16
|
+
|
|
17
|
+
try:
|
|
18
|
+
import pypdf
|
|
19
|
+
from pypdf import PdfReader
|
|
20
|
+
except ImportError:
|
|
21
|
+
pypdf = None
|
|
22
|
+
PdfReader = None
|
|
23
|
+
|
|
24
|
+
FIELD_TYPE_MAP: Dict[str, str] = {
|
|
25
|
+
"/Tx": "Text",
|
|
26
|
+
"/Btn": "Button/Checkbox",
|
|
27
|
+
"/Ch": "Choice/Dropdown",
|
|
28
|
+
"/Sig": "Signature",
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def inspect_pdf_fields(pdf_path: Path) -> Dict[str, Any]:
|
|
33
|
+
if pypdf is None:
|
|
34
|
+
raise RuntimeError("pypdf is required. Install via 'pip install pypdf>=4.0.0'.")
|
|
35
|
+
|
|
36
|
+
if not pdf_path.exists():
|
|
37
|
+
raise FileNotFoundError(f"PDF file not found: {pdf_path}")
|
|
38
|
+
|
|
39
|
+
try:
|
|
40
|
+
reader = PdfReader(str(pdf_path))
|
|
41
|
+
except Exception as exc:
|
|
42
|
+
raise ValueError(f"Failed to parse PDF document: {exc}") from exc
|
|
43
|
+
|
|
44
|
+
if reader.is_encrypted:
|
|
45
|
+
try:
|
|
46
|
+
reader.decrypt("")
|
|
47
|
+
except Exception as exc:
|
|
48
|
+
raise PermissionError(f"PDF is encrypted and requires a password: {exc}") from exc
|
|
49
|
+
|
|
50
|
+
raw_fields = reader.get_fields() or {}
|
|
51
|
+
fields_list: List[Dict[str, Any]] = []
|
|
52
|
+
|
|
53
|
+
for name, field_obj in raw_fields.items():
|
|
54
|
+
if not isinstance(field_obj, dict):
|
|
55
|
+
continue
|
|
56
|
+
|
|
57
|
+
raw_type = str(field_obj.get("/FT", "Unknown"))
|
|
58
|
+
readable_type = FIELD_TYPE_MAP.get(raw_type, raw_type)
|
|
59
|
+
value = field_obj.get("/V", "")
|
|
60
|
+
flags = int(field_obj.get("/Ff", 0) or 0)
|
|
61
|
+
|
|
62
|
+
read_only = bool(flags & 1)
|
|
63
|
+
required = bool(flags & 2)
|
|
64
|
+
|
|
65
|
+
fields_list.append({
|
|
66
|
+
"name": name,
|
|
67
|
+
"type": readable_type,
|
|
68
|
+
"field_type_raw": raw_type,
|
|
69
|
+
"value": str(value) if value is not None else "",
|
|
70
|
+
"read_only": read_only,
|
|
71
|
+
"required": required,
|
|
72
|
+
})
|
|
73
|
+
|
|
74
|
+
return {
|
|
75
|
+
"file": str(pdf_path),
|
|
76
|
+
"page_count": len(reader.pages),
|
|
77
|
+
"is_fillable": len(fields_list) > 0,
|
|
78
|
+
"field_count": len(fields_list),
|
|
79
|
+
"fields": fields_list,
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
def format_text_table(data: Dict[str, Any]) -> str:
|
|
84
|
+
lines = [
|
|
85
|
+
"=" * 70,
|
|
86
|
+
f"PDF ACROFORM FIELD AUDIT: {data['file']}",
|
|
87
|
+
"=" * 70,
|
|
88
|
+
f"Page Count : {data['page_count']}",
|
|
89
|
+
f"Is Fillable : {data['is_fillable']}",
|
|
90
|
+
f"Field Count : {data['field_count']}",
|
|
91
|
+
"-" * 70,
|
|
92
|
+
]
|
|
93
|
+
|
|
94
|
+
if not data["fields"]:
|
|
95
|
+
lines.append("No interactive AcroForm fields discovered in this document.")
|
|
96
|
+
lines.append("=" * 70)
|
|
97
|
+
return "\n".join(lines)
|
|
98
|
+
|
|
99
|
+
lines.append(f"{'#':<4} {'Field Name':<30} {'Type':<18} {'Flags':<12}")
|
|
100
|
+
lines.append("-" * 70)
|
|
101
|
+
|
|
102
|
+
for idx, f in enumerate(data["fields"], 1):
|
|
103
|
+
flags = []
|
|
104
|
+
if f["required"]:
|
|
105
|
+
flags.append("REQ")
|
|
106
|
+
if f["read_only"]:
|
|
107
|
+
flags.append("RO")
|
|
108
|
+
flags_str = ",".join(flags) if flags else "-"
|
|
109
|
+
lines.append(f"{idx:<4} {f['name'][:28]:<30} {f['type'][:16]:<18} {flags_str:<12}")
|
|
110
|
+
|
|
111
|
+
lines.append("=" * 70)
|
|
112
|
+
return "\n".join(lines)
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
def main() -> int:
|
|
116
|
+
parser = argparse.ArgumentParser(description="Inspect interactive AcroForm fields in a PDF.")
|
|
117
|
+
parser.add_argument("pdf_path", type=Path, help="Path to input PDF file")
|
|
118
|
+
parser.add_argument("--json", action="store_true", help="Emit output as JSON")
|
|
119
|
+
parser.add_argument("--strict", action="store_true", help="Exit 2 if no fillable fields exist")
|
|
120
|
+
parser.add_argument("-o", "--output", type=Path, default=None, help="Save report to file")
|
|
121
|
+
args = parser.parse_args()
|
|
122
|
+
|
|
123
|
+
try:
|
|
124
|
+
report = inspect_pdf_fields(args.pdf_path)
|
|
125
|
+
except Exception as exc:
|
|
126
|
+
print(f"Error: {exc}", file=sys.stderr)
|
|
127
|
+
return 1
|
|
128
|
+
|
|
129
|
+
out_content = json.dumps(report, indent=2) if args.json else format_text_table(report)
|
|
130
|
+
|
|
131
|
+
if args.output:
|
|
132
|
+
args.output.parent.mkdir(parents=True, exist_ok=True)
|
|
133
|
+
args.output.write_text(out_content, encoding="utf-8")
|
|
134
|
+
else:
|
|
135
|
+
print(out_content)
|
|
136
|
+
|
|
137
|
+
if args.strict and not report["is_fillable"]:
|
|
138
|
+
return 2
|
|
139
|
+
|
|
140
|
+
return 0
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
if __name__ == "__main__":
|
|
144
|
+
sys.exit(main())
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""
|
|
3
|
+
Populate interactive AcroForm fields in a PDF using a JSON payload.
|
|
4
|
+
|
|
5
|
+
Enforces Core Rule 5 ASCII Dash normalization (U+2011 to U+002D) and generates
|
|
6
|
+
machine-readable forms with optional field flattening.
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
from __future__ import annotations
|
|
10
|
+
|
|
11
|
+
import argparse
|
|
12
|
+
import hashlib
|
|
13
|
+
import json
|
|
14
|
+
import sys
|
|
15
|
+
from pathlib import Path
|
|
16
|
+
from typing import Any, Dict, Set
|
|
17
|
+
|
|
18
|
+
try:
|
|
19
|
+
import pypdf
|
|
20
|
+
from pypdf import PdfReader, PdfWriter
|
|
21
|
+
except ImportError:
|
|
22
|
+
pypdf = None
|
|
23
|
+
PdfReader = None
|
|
24
|
+
PdfWriter = None
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
def normalize_value(val: Any) -> Any:
|
|
28
|
+
"""Normalize text according to Core Rule 5: convert non-breaking hyphens to ASCII."""
|
|
29
|
+
if isinstance(val, str):
|
|
30
|
+
return val.replace("\u2011", "\u002d")
|
|
31
|
+
return val
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
def fill_pdf_form(
|
|
35
|
+
input_pdf: Path,
|
|
36
|
+
values_json: Path,
|
|
37
|
+
output_pdf: Path,
|
|
38
|
+
flatten: bool = False,
|
|
39
|
+
strict: bool = False,
|
|
40
|
+
) -> Dict[str, Any]:
|
|
41
|
+
if pypdf is None:
|
|
42
|
+
raise RuntimeError("pypdf is required. Install via 'pip install pypdf>=4.0.0'.")
|
|
43
|
+
|
|
44
|
+
if not input_pdf.exists():
|
|
45
|
+
raise FileNotFoundError(f"Input PDF not found: {input_pdf}")
|
|
46
|
+
if not values_json.exists():
|
|
47
|
+
raise FileNotFoundError(f"Values JSON not found: {values_json}")
|
|
48
|
+
|
|
49
|
+
try:
|
|
50
|
+
payload = json.loads(values_json.read_text(encoding="utf-8"))
|
|
51
|
+
if not isinstance(payload, dict):
|
|
52
|
+
raise ValueError("Values JSON root must be an object/dict")
|
|
53
|
+
except Exception as exc:
|
|
54
|
+
raise ValueError(f"Failed to parse values JSON: {exc}") from exc
|
|
55
|
+
|
|
56
|
+
normalized_payload = {str(k): normalize_value(v) for k, v in payload.items()}
|
|
57
|
+
|
|
58
|
+
try:
|
|
59
|
+
reader = PdfReader(str(input_pdf))
|
|
60
|
+
except Exception as exc:
|
|
61
|
+
raise ValueError(f"Failed to read input PDF: {exc}") from exc
|
|
62
|
+
|
|
63
|
+
available_fields = reader.get_fields() or {}
|
|
64
|
+
if not available_fields:
|
|
65
|
+
raise ValueError(f"Input PDF '{input_pdf}' contains no interactive AcroForm fields.")
|
|
66
|
+
|
|
67
|
+
available_keys: Set[str] = set(available_fields.keys())
|
|
68
|
+
payload_keys: Set[str] = set(normalized_payload.keys())
|
|
69
|
+
|
|
70
|
+
matched = payload_keys.intersection(available_keys)
|
|
71
|
+
unmatched = payload_keys.difference(available_keys)
|
|
72
|
+
|
|
73
|
+
if strict and unmatched:
|
|
74
|
+
raise ValueError(f"Strict mode failure: Payload keys not in PDF fields: {sorted(unmatched)}")
|
|
75
|
+
|
|
76
|
+
writer = PdfWriter()
|
|
77
|
+
writer.append(reader)
|
|
78
|
+
|
|
79
|
+
# Populate form fields across all pages
|
|
80
|
+
for page in writer.pages:
|
|
81
|
+
try:
|
|
82
|
+
writer.update_page_form_field_values(page, normalized_payload)
|
|
83
|
+
except Exception:
|
|
84
|
+
pass
|
|
85
|
+
|
|
86
|
+
if flatten:
|
|
87
|
+
for page in writer.pages:
|
|
88
|
+
try:
|
|
89
|
+
page.flatten_annotations()
|
|
90
|
+
except Exception:
|
|
91
|
+
pass
|
|
92
|
+
|
|
93
|
+
output_pdf.parent.mkdir(parents=True, exist_ok=True)
|
|
94
|
+
with output_pdf.open("wb") as fp:
|
|
95
|
+
writer.write(fp)
|
|
96
|
+
|
|
97
|
+
out_bytes = output_pdf.read_bytes()
|
|
98
|
+
sha256 = hashlib.sha256(out_bytes).hexdigest()
|
|
99
|
+
|
|
100
|
+
return {
|
|
101
|
+
"status": "SUCCESS",
|
|
102
|
+
"input_pdf": str(input_pdf),
|
|
103
|
+
"output_pdf": str(output_pdf),
|
|
104
|
+
"total_pdf_fields": len(available_keys),
|
|
105
|
+
"payload_fields_count": len(payload_keys),
|
|
106
|
+
"matched_fields_count": len(matched),
|
|
107
|
+
"unmatched_fields": sorted(unmatched),
|
|
108
|
+
"flattened": flatten,
|
|
109
|
+
"output_size_bytes": len(out_bytes),
|
|
110
|
+
"output_sha256": sha256,
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
def main() -> int:
|
|
115
|
+
parser = argparse.ArgumentParser(description="Populate AcroForm fields from JSON payload.")
|
|
116
|
+
parser.add_argument("input_pdf", type=Path, help="Path to input fillable PDF")
|
|
117
|
+
parser.add_argument("values_json", type=Path, help="Path to JSON values payload")
|
|
118
|
+
parser.add_argument("output_pdf", type=Path, help="Path where filled PDF is written")
|
|
119
|
+
parser.add_argument("--flatten", action="store_true", help="Flatten form fields into static text")
|
|
120
|
+
parser.add_argument("--strict", action="store_true", help="Fail if payload contains unknown keys")
|
|
121
|
+
args = parser.parse_args()
|
|
122
|
+
|
|
123
|
+
try:
|
|
124
|
+
result = fill_pdf_form(
|
|
125
|
+
args.input_pdf,
|
|
126
|
+
args.values_json,
|
|
127
|
+
args.output_pdf,
|
|
128
|
+
flatten=args.flatten,
|
|
129
|
+
strict=args.strict,
|
|
130
|
+
)
|
|
131
|
+
print("=" * 60)
|
|
132
|
+
print("PDF FORM FILL AUDIT")
|
|
133
|
+
print("=" * 60)
|
|
134
|
+
print(f"Output File : {result['output_pdf']}")
|
|
135
|
+
print(f"Fields Matched: {result['matched_fields_count']} / {result['payload_fields_count']}")
|
|
136
|
+
print(f"SHA-256 Digest: {result['output_sha256']}")
|
|
137
|
+
print("🎉 Form populated successfully.")
|
|
138
|
+
return 0
|
|
139
|
+
except Exception as exc:
|
|
140
|
+
print(f"Error: {exc}", file=sys.stderr)
|
|
141
|
+
return 1
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
if __name__ == "__main__":
|
|
145
|
+
sys.exit(main())
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: xlsx
|
|
3
3
|
description: "Use when creating, analyzing, or modifying Microsoft Excel (.xlsx/.xlsm) workbooks, enforcing the Zero Formula Error invariant via recalc.py, dynamic formula injection, two-pass model reading, and openpyxl streaming."
|
|
4
|
+
version: "1.0.0"
|
|
4
5
|
allowed-tools: [read_file, write_file, edit_file, create_file, search_code, query_db, read_database, run_tests, execute_command]
|
|
5
6
|
---
|
|
6
7
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: configure-llms-txt
|
|
3
3
|
description: Create and maintain the llms.txt and llms-full.txt files for a domain or project, making documentation and content discoverable by AI agents, LLMs, and automated tools per the llmstxt.org specification. Use when a site or API has AI agent interfaces, when optimizing for Generative Engine Optimization (GEO) and Agentic SEO (A-SEO), or when implementing the dual-audience documentation standard required by technical-writer role.
|
|
4
|
+
version: "1.0.0"
|
|
4
5
|
allowed-tools: [read_file, write_file, edit_file, create_file, search_code, fetch]
|
|
5
6
|
---
|
|
6
7
|
|
|
@@ -168,3 +169,5 @@ Skip emission for trivial manifest updates that do not cross a role boundary.
|
|
|
168
169
|
- **manage-api-catalog**: RFC 9727 API catalog should be linked from `llms.txt`
|
|
169
170
|
- **optimize-seo**: GEO/AEO strategy depends on `llms.txt` as a discoverability primitive
|
|
170
171
|
- **configure-agent-headers**: `agent-card.json` endpoint referenced in `llms.txt`
|
|
172
|
+
- Companion reference: `references/llms-txt-and-llms-full-txt-standard.md`
|
|
173
|
+
- Companion example: `examples/canonical-llms-txt-and-full-txt.md`
|
package/core/skills/documentation/configure-llms-txt/examples/canonical-llms-txt-and-full-txt.md
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Canonical llms.txt & llms-full.txt Examples
|
|
2
|
+
|
|
3
|
+
## 1. Canonical `/llms.txt`
|
|
4
|
+
|
|
5
|
+
```markdown
|
|
6
|
+
# Agent Skills Platform
|
|
7
|
+
|
|
8
|
+
> Agent Skills is an enterprise engineering skill pack and multi-agent coordination
|
|
9
|
+
> framework providing deterministic A2A contracts, PromptOps golden benchmarks,
|
|
10
|
+
> and Clean Architecture microservice patterns.
|
|
11
|
+
|
|
12
|
+
## Architecture & Core Documentation
|
|
13
|
+
|
|
14
|
+
- [Clean Architecture Guide](https://skills.example.com/docs/architecture.md): Kratos layer separation, Wire dependency injection, and zero-leakage biz layers.
|
|
15
|
+
- [A2A Delegation Protocol](https://skills.example.com/docs/a2a-protocol.md): JSON-RPC 2.0 task contracts, structured handoffs, and verification gates.
|
|
16
|
+
- [Security & Zero Trust](https://skills.example.com/docs/security.md): SPIFFE/SPIRE workload attestation, ephemeral JWT rotation, and OWASP ASI mitigations.
|
|
17
|
+
|
|
18
|
+
## Machine & Agentic Discovery
|
|
19
|
+
|
|
20
|
+
- [Agent Registry](https://skills.example.com/.well-known/agent-card.json): A2A 1.0 Agent Card registry.
|
|
21
|
+
- [API Catalog](https://skills.example.com/.well-known/api-catalog): RFC 9727 API Linkset endpoints.
|
|
22
|
+
- [MCP Server Card](https://skills.example.com/.well-known/mcp/server-card.json): MCP server tools and resource schemas.
|
|
23
|
+
- [Commerce Manifest](https://skills.example.com/.well-known/ucp): UCP v2026-08-25 agent checkout capabilities.
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## 2. Canonical `/llms-full.txt` (Exemplar Extract)
|
|
27
|
+
|
|
28
|
+
```markdown
|
|
29
|
+
# File: docs/architecture.md
|
|
30
|
+
# Architecture & Clean Code Standards
|
|
31
|
+
The system follows strict Clean Architecture layout:
|
|
32
|
+
- `api/`: Protobuf contracts and OpenAPI specifications.
|
|
33
|
+
- `internal/service/`: Protocol adapter translating transport to domain usecases.
|
|
34
|
+
- `internal/biz/`: Pure business logic; no GORM DB imports.
|
|
35
|
+
- `internal/data/`: Persistence layer wrapping GORM and Redis clients.
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
# File: docs/a2a-protocol.md
|
|
40
|
+
# Agent-to-Agent (A2A 1.0) Task Lifecycle
|
|
41
|
+
All agent handoffs require structured JSON artifacts validating against:
|
|
42
|
+
- `contracts/schemas/a2a-task.json`
|
|
43
|
+
- `contracts/schemas/a2a-artifact.json`
|
|
44
|
+
- `contracts/schemas/a2a-task-status.json`
|
|
45
|
+
```
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# llms.txt & llms-full.txt Standard Specification (2026)
|
|
2
|
+
|
|
3
|
+
## 1. Specification Overview (llmstxt.org v2)
|
|
4
|
+
|
|
5
|
+
The `llms.txt` standard specifies how websites, APIs, and software documentation provide machine-readable discovery interfaces optimized for AI agents and LLMs.
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
Domain Root (/)
|
|
9
|
+
├── /llms.txt # Concise, token-budgeted index & section manifest
|
|
10
|
+
├── /llms-full.txt # Concatenated full-text corpus for long-context models
|
|
11
|
+
└── /.well-known/ # Machine discovery (api-catalog, agent-card, mcp)
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## 2. Structural Requirements for `/llms.txt`
|
|
15
|
+
|
|
16
|
+
1. **Title H1**: `# Project or Product Name`
|
|
17
|
+
2. **Blockquote Summary**: `> Factual, dense summary of project architecture and purpose. No marketing fluff.`
|
|
18
|
+
3. **Sections H2**: Categorized navigation links (`## Core Documentation`, ## API Reference`, `## Agent Interfaces`).
|
|
19
|
+
4. **Link Pattern**: `- [Page Title](https://example.com/docs/page.md): Concise description of content.`
|
|
20
|
+
5. **v2 Link Relations**:
|
|
21
|
+
- HTTP Header: `Link: </llms.txt>; rel="describedby"`
|
|
22
|
+
- HTML Header: `<link rel="alternate" type="text/markdown" href="/docs/page.md">`
|
|
23
|
+
|
|
24
|
+
## 3. High-Context Ingestion (`/llms-full.txt`)
|
|
25
|
+
|
|
26
|
+
For frontier LLMs with 1M+ context windows:
|
|
27
|
+
- Concatenates authoritative markdown source files in dependency order.
|
|
28
|
+
- Each section preceded by `# File: /path/to/source.md` delimiter.
|
|
29
|
+
- Strict exclusion of interactive widgets, raw binary embeds, or duplicated header navigation chrome.
|
|
30
|
+
|
|
31
|
+
## 4. Agentic Interface Discovery
|
|
32
|
+
|
|
33
|
+
When a platform supports agentic protocols, `llms.txt` must explicitly index:
|
|
34
|
+
- `/.well-known/agent-card.json`: A2A 1.0 agent discovery.
|
|
35
|
+
- `/.well-known/api-catalog`: RFC 9727 API discovery.
|
|
36
|
+
- `/.well-known/mcp/server-card.json`: Model Context Protocol server capabilities.
|
|
37
|
+
- `/.well-known/ucp`: Universal Commerce Protocol checkout capabilities.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: write-documentation
|
|
3
|
-
description: Draft or update technical documentation by following the repo's existing doc structure, audience needs, and source-of-truth boundaries. Use
|
|
3
|
+
description: Draft or update technical documentation by following the repo's existing doc structure, audience needs, Diátaxis framework, and source-of-truth boundaries. Use when writing or updating README files, service docs, runbooks, architecture overviews, integration notes, or change explanations.
|
|
4
|
+
version: "1.0.0"
|
|
4
5
|
allowed-tools: [read_file, write_file, edit_file, create_file, search_code]
|
|
5
6
|
---
|
|
6
7
|
|
|
@@ -141,3 +142,5 @@ To align with modern AI-assisted engineering and automated API publishing:
|
|
|
141
142
|
- **troubleshoot-service**: Turn learned recovery steps into runbook updates
|
|
142
143
|
- **write-tech-radar**: Draft higher-level technology assessments
|
|
143
144
|
- **commit-code**: Prepare doc updates for delivery
|
|
145
|
+
- Companion reference: `references/diataxis-framework-and-doc-standards.md`
|
|
146
|
+
- Companion example: `examples/microservice-production-readme-and-api-docs.md`
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# Production Microservice Documentation Example: Payment Orchestrator
|
|
2
|
+
|
|
3
|
+
---
|
|
4
|
+
title: "Payment Orchestrator Service"
|
|
5
|
+
description: "High-throughput payment gateway orchestrator supporting dual HTTP/gRPC contracts, idempotency, and Dapr pub/sub."
|
|
6
|
+
category: "howto"
|
|
7
|
+
last_verified_version: "v2.12.0"
|
|
8
|
+
maintainer: "backend-developer"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Payment Orchestrator Service
|
|
12
|
+
|
|
13
|
+
The Payment Orchestrator coordinates machine-to-machine checkout, credit card authorizations, and stateful ledger reconciliation across global payment gateways.
|
|
14
|
+
|
|
15
|
+
## 1. Quickstart (How-To)
|
|
16
|
+
|
|
17
|
+
### Prerequisites
|
|
18
|
+
- Go 1.25+
|
|
19
|
+
- Docker & Docker Compose
|
|
20
|
+
- Kratos CLI v2.9.1+
|
|
21
|
+
|
|
22
|
+
### Local Execution
|
|
23
|
+
```bash
|
|
24
|
+
# Clone and enter service directory
|
|
25
|
+
cd services/payment-orchestrator
|
|
26
|
+
|
|
27
|
+
# Generate Wire dependencies
|
|
28
|
+
wire gen ./...
|
|
29
|
+
|
|
30
|
+
# Run service locally
|
|
31
|
+
go run ./cmd/payment-orchestrator -conf ./configs
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## 2. Architecture & Quadrant Alignment (Explanation)
|
|
35
|
+
|
|
36
|
+
The service follows **Clean Architecture** and **Kratos Layer Separation**:
|
|
37
|
+
- `api/`: Protobuf service contracts generating gRPC stubs and HTTP OpenAPI v3 specs.
|
|
38
|
+
- `internal/service/`: Protocol adapter translating transport requests into business commands.
|
|
39
|
+
- `internal/biz/`: Pure domain business logic; strictly independent of `gorm.DB` or transport packages.
|
|
40
|
+
- `internal/data/`: Data access layer encapsulating PostgreSQL queries and Redis caches.
|
|
41
|
+
|
|
42
|
+
```
|
|
43
|
+
Transport (gRPC / HTTP)
|
|
44
|
+
│
|
|
45
|
+
▼
|
|
46
|
+
internal/service (Adapter)
|
|
47
|
+
│
|
|
48
|
+
▼
|
|
49
|
+
internal/biz (Domain Logic)
|
|
50
|
+
│
|
|
51
|
+
▼
|
|
52
|
+
internal/data (Persistence & External Clients)
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## 3. Authoritative API Reference (Reference)
|
|
56
|
+
|
|
57
|
+
All REST and gRPC endpoints are strictly generated from Protobuf definitions. Do not edit hand-typed endpoints.
|
|
58
|
+
|
|
59
|
+
- **OpenAPI v3 Specification**: Auto-published at `https://api.internal.example.com/docs/openapi.json`
|
|
60
|
+
- **Interactive UI**: Rendered via Scalar at `https://api.internal.example.com/docs`
|
|
61
|
+
- **gRPC Reflection**: Enabled in `dev` and `staging` clusters.
|
|
62
|
+
|
|
63
|
+
### Key API Operations
|
|
64
|
+
| Method | Path | Description | Idempotency Header |
|
|
65
|
+
|---|---|---|---|
|
|
66
|
+
| `POST` | `/v1/payments/charges` | Authorize payment transaction | Required (`X-Idempotency-Key`) |
|
|
67
|
+
| `POST` | `/v1/payments/refunds` | Process full/partial refund | Required (`X-Idempotency-Key`) |
|
|
68
|
+
| `GET` | `/v1/payments/{id}` | Query payment settlement status | N/A |
|
|
69
|
+
| `GET` | `/health/live` | Liveness probe endpoint | N/A |
|
|
70
|
+
| `GET` | `/health/ready` | Readiness probe endpoint | N/A |
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# Diátaxis Framework & Modern Documentation Standards (2026)
|
|
2
|
+
|
|
3
|
+
## 1. The Diátaxis Documentation Architecture
|
|
4
|
+
|
|
5
|
+
The Diátaxis framework divides technical documentation into four distinct quadrants based on user needs and cognitive mode:
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
PRACTICAL (Action-oriented)
|
|
9
|
+
▲
|
|
10
|
+
│
|
|
11
|
+
TUTORIALS │ HOW-TO GUIDES
|
|
12
|
+
(Learning-oriented) │ (Problem-oriented)
|
|
13
|
+
│
|
|
14
|
+
◄────────────────────────────┼────────────────────────────►
|
|
15
|
+
THEORETICAL (Study) │ PRACTICAL (Work)
|
|
16
|
+
│
|
|
17
|
+
EXPLANATION │ REFERENCE
|
|
18
|
+
(Understanding-oriented) │ (Information-oriented)
|
|
19
|
+
│
|
|
20
|
+
▼
|
|
21
|
+
THEORETICAL (Cognition-oriented)
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
### 1.1 The Four Quadrants
|
|
25
|
+
1. **Tutorials (Learning-oriented)**:
|
|
26
|
+
- *Goal*: Take a beginner by the hand through a concrete learning experience.
|
|
27
|
+
- *Tone*: Welcoming, prescriptive, step-by-step.
|
|
28
|
+
- *Anti-patterns*: Explaining deep architectural trade-offs; providing multiple alternative choices.
|
|
29
|
+
2. **How-To Guides (Problem-oriented)**:
|
|
30
|
+
- *Goal*: Guide an experienced user through solving a real-world task.
|
|
31
|
+
- *Tone*: Practical, recipe-based, outcome-focused.
|
|
32
|
+
- *Anti-patterns*: Explaining fundamental concepts; open-ended teaching.
|
|
33
|
+
3. **Reference (Information-oriented)**:
|
|
34
|
+
- *Goal*: Provide accurate, austere, authoritative technical facts (APIs, schemas, CLI flags).
|
|
35
|
+
- *Rule*: Auto-generated from OpenAPI / AsyncAPI / Protobuf specs to prevent doc drift.
|
|
36
|
+
- *Anti-patterns*: Conversational tone; tutorial instructions.
|
|
37
|
+
4. **Explanation (Understanding-oriented)**:
|
|
38
|
+
- *Goal*: Clarify the big picture, architectural rationale, design trade-offs, and historical context.
|
|
39
|
+
- *Tone*: Discursive, conceptual, analytical.
|
|
40
|
+
- *Anti-patterns*: Command steps; copy-paste recipes.
|
|
41
|
+
|
|
42
|
+
## 2. Docs-as-Code & Dual-Audience Standards
|
|
43
|
+
|
|
44
|
+
Modern engineering documentation serves two concurrent audiences: human engineers and autonomous AI agents.
|
|
45
|
+
|
|
46
|
+
### 2.1 Frontmatter Invariant
|
|
47
|
+
Every documentation file must include semantic YAML frontmatter:
|
|
48
|
+
```yaml
|
|
49
|
+
---
|
|
50
|
+
title: "Service Architecture & Data Flow"
|
|
51
|
+
description: "Core microservice topology, event streaming semantics, and persistence boundaries."
|
|
52
|
+
category: "explanation" # tutorial | howto | reference | explanation
|
|
53
|
+
last_verified_version: "v2.12.0"
|
|
54
|
+
maintainer: "technical-lead"
|
|
55
|
+
---
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
### 2.2 Continuous Integration Gates
|
|
59
|
+
- `markdownlint`: Zero syntax or structural violations.
|
|
60
|
+
- `vale`: Strict enforcement of prose style guides (Google / Microsoft Developer Documentation Style).
|
|
61
|
+
- `lychee` / broken-link checker: 100% resolution of internal and external hyperlinks.
|
|
62
|
+
- Cloudflare Pages / Netlify Deploy Previews: Ephemeral preview deployments for every pull request.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: write-tech-radar
|
|
3
3
|
description: Draft or update a technology radar entry by summarizing context, trade-offs, recommendation, and adoption guidance in a concise decision-oriented format. Use when documenting technology choices, trials, or directional guidance.
|
|
4
|
+
version: "1.0.0"
|
|
4
5
|
allowed-tools: [read_file, write_file, edit_file, create_file, search_code]
|
|
5
6
|
---
|
|
6
7
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: create-exercises
|
|
3
3
|
description: Design educational assignments, practice tests, and quizzes following designated curriculum matrices, Webb's DOK 1-4, and cognitive models. Use when generating exercises, mock exams, or exam preparation materials for specific learning objectives.
|
|
4
|
+
version: "1.0.0"
|
|
4
5
|
allowed-tools: [read_file, write_file, edit_file, create_file, search_code]
|
|
5
6
|
---
|
|
6
7
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: design-learning-plan
|
|
3
3
|
description: Create a structured, curriculum-aligned learning plan or syllabus following ZPD pathways, SMART objectives, and spaced repetition. Use when planning a study schedule, syllabus, exam preparation roadmap, or grade transition plan for any educational level.
|
|
4
|
+
version: "1.0.0"
|
|
4
5
|
allowed-tools: [read_file, write_file, edit_file, create_file, search_code]
|
|
5
6
|
---
|
|
6
7
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: grade-and-review
|
|
3
3
|
description: Evaluate learner work and provide constructive feedback on the designated grading scale. Use when grading assignments, reviewing student submissions, or providing improvement guidance at any educational level.
|
|
4
|
+
version: "1.0.0"
|
|
4
5
|
allowed-tools: [read_file, write_file, edit_file, create_file, search_code]
|
|
5
6
|
---
|
|
6
7
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: accessibility-review
|
|
3
3
|
description: Audit UI for keyboard navigation, focus order, screen-reader labels, color contrast, motion preferences, and ARIA correctness against WCAG 2.2 criteria (including Focus Not Obscured 2.4.11, Target Size 2.5.8, Accessible Authentication 3.3.8, Dragging Movements 2.5.7, Redundant Entry 3.3.7). Use automated CI gates via @axe-core/playwright for regression detection alongside manual screen-reader testing. Use when validating user-facing flows before release, after design specs land, or when fixing reported a11y defects.
|
|
4
|
+
version: "1.0.0"
|
|
4
5
|
allowed-tools: [read_file, write_file, edit_file, create_file, search_code, run_tests, run_linter, run_build, execute_command]
|
|
5
6
|
---
|
|
6
7
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ai-risk-assessment
|
|
3
3
|
description: Assess AI/ML system risks using NIST AI RMF 1.0 (Govern/Map/Measure/Manage) and NIST AI 600-1 GenAI Profile (12 risk categories), classify EU AI Act risk tiers, and produce an AI risk register covering hallucination thresholds, model degradation signals, bias exposure, and compliance drift. Use when onboarding a new AI feature, scoping an AI system for delivery, or conducting a periodic AI governance audit.
|
|
4
|
+
version: "1.0.0"
|
|
4
5
|
allowed-tools: [read_file, write_file, edit_file, create_file, search_code, run_tests, run_linter, run_build, execute_command]
|
|
5
6
|
---
|
|
6
7
|
|
|
@@ -145,10 +146,7 @@ ai_risk_register:
|
|
|
145
146
|
responsible: "[who monitors]"
|
|
146
147
|
|
|
147
148
|
residual_risks:
|
|
148
|
-
- risk: ""
|
|
149
|
-
accepted_by: ""
|
|
150
|
-
accepted_date: ""
|
|
151
|
-
review_date: ""
|
|
149
|
+
- { risk: "", accepted_by: "", review_date: "" }
|
|
152
150
|
```
|
|
153
151
|
|
|
154
152
|
## Checklist
|
|
@@ -195,4 +193,5 @@ Skip emission for non-AI software delivery slices.
|
|
|
195
193
|
- **security-audit**: full security review that incorporates AI risk register findings
|
|
196
194
|
- **conduct-research**: domain research on AI risk context, regulations, and comparable systems
|
|
197
195
|
- **agent-tool-orchestration**: agentic action inventory required by this assessment
|
|
198
|
-
|
|
196
|
+
- Companion reference: `references/nist-ai-rmf-and-eu-ai-act-taxonomy.md`
|
|
197
|
+
- Companion example: `examples/genai-system-risk-register.md`
|