@geraldmaron/construct 1.0.15 → 1.0.17

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.
Files changed (198) hide show
  1. package/README.md +19 -3
  2. package/bin/construct +376 -98
  3. package/bin/construct-postinstall.mjs +17 -2
  4. package/db/schema/010_cx_scores.sql +51 -0
  5. package/lib/cli-commands.mjs +333 -147
  6. package/lib/contracts/validate.mjs +20 -10
  7. package/lib/contracts/violation-log.mjs +27 -12
  8. package/lib/embedded-contract/audit.mjs +52 -0
  9. package/lib/embedded-contract/capability.mjs +179 -0
  10. package/lib/embedded-contract/contract-version.mjs +39 -0
  11. package/lib/embedded-contract/envelope.mjs +70 -0
  12. package/lib/embedded-contract/index.mjs +71 -0
  13. package/lib/embedded-contract/ingest.mjs +77 -0
  14. package/lib/embedded-contract/model-resolve.mjs +186 -0
  15. package/lib/embedded-contract/redaction.mjs +91 -0
  16. package/lib/embedded-contract/role-facts.mjs +66 -0
  17. package/lib/embedded-contract/triage.mjs +134 -0
  18. package/lib/embedded-contract/workflow-defs.mjs +125 -0
  19. package/lib/embedded-contract/workflow-invoke.mjs +218 -0
  20. package/lib/hooks/config-protection.mjs +12 -5
  21. package/lib/hooks/stop-notify.mjs +7 -0
  22. package/lib/init-unified.mjs +36 -26
  23. package/lib/install/first-invocation.mjs +5 -1
  24. package/lib/intake/classify.mjs +6 -0
  25. package/lib/intake/prepare.mjs +22 -4
  26. package/lib/intake/tables/rnd.mjs +33 -0
  27. package/lib/integrations/intake-integrations.mjs +28 -2
  28. package/lib/mcp/server.mjs +69 -0
  29. package/lib/mcp/tools/embedded-contract.mjs +77 -0
  30. package/lib/mcp/tools/telemetry.mjs +30 -0
  31. package/lib/model-router.mjs +40 -0
  32. package/lib/op-log.mjs +61 -0
  33. package/lib/orchestration-policy.mjs +15 -0
  34. package/lib/roles/catalog.mjs +26 -95
  35. package/lib/roles/gateway.mjs +30 -1
  36. package/lib/scheduler/index.mjs +24 -4
  37. package/lib/server/insights.mjs +12 -0
  38. package/lib/service-manager.mjs +33 -11
  39. package/lib/setup.mjs +73 -10
  40. package/lib/update.mjs +31 -3
  41. package/lib/upgrade.mjs +31 -4
  42. package/lib/validators/skills.mjs +21 -0
  43. package/package.json +9 -3
  44. package/personas/construct.md +2 -0
  45. package/platforms/claude/CLAUDE.md +43 -15
  46. package/scripts/sync-specialists.mjs +32 -5
  47. package/skills/ai/agent-dev.md +2 -0
  48. package/skills/ai/llm-security.md +2 -0
  49. package/skills/ai/ml-ops.md +2 -0
  50. package/skills/ai/orchestration-workflow.md +2 -0
  51. package/skills/ai/prompt-and-eval.md +2 -0
  52. package/skills/ai/prompt-optimizer.md +2 -0
  53. package/skills/ai/rag-system.md +2 -0
  54. package/skills/ai/trace-triage.md +36 -0
  55. package/skills/architecture/api-design.md +2 -0
  56. package/skills/architecture/caching.md +2 -0
  57. package/skills/architecture/cloud-native.md +2 -0
  58. package/skills/architecture/message-queue.md +2 -0
  59. package/skills/architecture/security-arch.md +2 -0
  60. package/skills/compliance/ai-disclosure.md +2 -0
  61. package/skills/compliance/data-privacy.md +2 -0
  62. package/skills/compliance/license-audit.md +2 -0
  63. package/skills/compliance/regulatory-review.md +2 -0
  64. package/skills/development/cpp.md +2 -0
  65. package/skills/development/go.md +2 -0
  66. package/skills/development/java.md +2 -0
  67. package/skills/development/kotlin.md +2 -0
  68. package/skills/development/mobile-crossplatform.md +2 -0
  69. package/skills/development/python.md +2 -0
  70. package/skills/development/rust.md +2 -0
  71. package/skills/development/shell.md +2 -0
  72. package/skills/development/swift.md +2 -0
  73. package/skills/development/typescript.md +2 -0
  74. package/skills/devops/ci-cd.md +2 -0
  75. package/skills/devops/containerization.md +2 -0
  76. package/skills/devops/cost-optimization.md +2 -0
  77. package/skills/devops/data-engineering.md +2 -0
  78. package/skills/devops/database.md +2 -0
  79. package/skills/devops/dependency-management.md +2 -0
  80. package/skills/devops/devsecops.md +2 -0
  81. package/skills/devops/git-workflow.md +2 -0
  82. package/skills/devops/incident-response.md +2 -0
  83. package/skills/devops/monorepo.md +2 -0
  84. package/skills/devops/observability.md +2 -0
  85. package/skills/devops/performance.md +2 -0
  86. package/skills/devops/testing.md +2 -0
  87. package/skills/docs/adr-workflow.md +2 -0
  88. package/skills/docs/backlog-proposal-workflow.md +2 -0
  89. package/skills/docs/customer-profile-workflow.md +2 -0
  90. package/skills/docs/document-ingest-workflow.md +2 -0
  91. package/skills/docs/evidence-ingest-workflow.md +2 -0
  92. package/skills/docs/init-docs.md +2 -0
  93. package/skills/docs/init-project.md +2 -0
  94. package/skills/docs/memo-and-decision-capture.md +45 -0
  95. package/skills/docs/prd-workflow.md +2 -0
  96. package/skills/docs/prfaq-workflow.md +2 -0
  97. package/skills/docs/product-intelligence-review.md +2 -0
  98. package/skills/docs/product-intelligence-workflow.md +2 -0
  99. package/skills/docs/product-signal-workflow.md +2 -0
  100. package/skills/docs/research-workflow.md +2 -0
  101. package/skills/docs/runbook-workflow.md +2 -0
  102. package/skills/docs/strategy-workflow.md +2 -0
  103. package/skills/docs/transcript-synthesis.md +43 -0
  104. package/skills/exploration/dependency-graph-reading.md +2 -0
  105. package/skills/exploration/repo-map.md +2 -0
  106. package/skills/exploration/tracer-bullet-method.md +2 -0
  107. package/skills/exploration/unknown-codebase-onboarding.md +2 -0
  108. package/skills/frameworks/django.md +2 -0
  109. package/skills/frameworks/nextjs.md +2 -0
  110. package/skills/frameworks/react.md +2 -0
  111. package/skills/frameworks/spring-boot.md +2 -0
  112. package/skills/frontend-design/accessibility.md +2 -0
  113. package/skills/frontend-design/component-patterns.md +2 -0
  114. package/skills/frontend-design/engineering.md +2 -0
  115. package/skills/frontend-design/screen-reader-testing.md +34 -0
  116. package/skills/frontend-design/state-management.md +2 -0
  117. package/skills/frontend-design/ui-aesthetics.md +2 -0
  118. package/skills/frontend-design/ux-principles.md +2 -0
  119. package/skills/operating/change-management.md +2 -0
  120. package/skills/operating/incident-response.md +2 -0
  121. package/skills/operating/oncall-rotation.md +2 -0
  122. package/skills/operating/orchestration-reference.md +2 -0
  123. package/skills/operating/raw-data-structuring.md +44 -0
  124. package/skills/operating/unstructured-triage.md +45 -0
  125. package/skills/quality-gates/premortem.md +37 -0
  126. package/skills/quality-gates/review-work.md +2 -0
  127. package/skills/quality-gates/verify-change.md +2 -0
  128. package/skills/quality-gates/verify-module.md +2 -0
  129. package/skills/quality-gates/verify-quality.md +2 -0
  130. package/skills/quality-gates/verify-security.md +2 -0
  131. package/skills/roles/architect.ai-systems.md +2 -0
  132. package/skills/roles/architect.data.md +2 -0
  133. package/skills/roles/architect.enterprise.md +2 -0
  134. package/skills/roles/architect.integration.md +2 -0
  135. package/skills/roles/architect.md +2 -0
  136. package/skills/roles/architect.platform.md +2 -0
  137. package/skills/roles/data-analyst.experiment.md +2 -0
  138. package/skills/roles/data-analyst.md +2 -0
  139. package/skills/roles/data-analyst.product-intelligence.md +2 -0
  140. package/skills/roles/data-analyst.product.md +2 -0
  141. package/skills/roles/data-analyst.telemetry.md +2 -0
  142. package/skills/roles/data-engineer.pipeline.md +2 -0
  143. package/skills/roles/data-engineer.vector-retrieval.md +2 -0
  144. package/skills/roles/data-engineer.warehouse.md +2 -0
  145. package/skills/roles/debugger.md +2 -0
  146. package/skills/roles/designer.accessibility.md +2 -0
  147. package/skills/roles/designer.md +2 -0
  148. package/skills/roles/engineer.ai.md +2 -0
  149. package/skills/roles/engineer.data.md +2 -0
  150. package/skills/roles/engineer.md +2 -0
  151. package/skills/roles/engineer.platform.md +2 -0
  152. package/skills/roles/operator.docs.md +2 -0
  153. package/skills/roles/operator.md +2 -0
  154. package/skills/roles/operator.release.md +2 -0
  155. package/skills/roles/operator.sre.md +2 -0
  156. package/skills/roles/orchestrator.md +2 -0
  157. package/skills/roles/product-manager.ai-product.md +2 -0
  158. package/skills/roles/product-manager.business-strategy.md +2 -0
  159. package/skills/roles/product-manager.enterprise.md +2 -0
  160. package/skills/roles/product-manager.growth.md +2 -0
  161. package/skills/roles/product-manager.md +2 -0
  162. package/skills/roles/product-manager.platform.md +2 -0
  163. package/skills/roles/product-manager.product.md +2 -0
  164. package/skills/roles/qa.ai-eval.md +2 -0
  165. package/skills/roles/qa.api-contract.md +2 -0
  166. package/skills/roles/qa.data-pipeline.md +2 -0
  167. package/skills/roles/qa.md +2 -0
  168. package/skills/roles/qa.test-automation.md +2 -0
  169. package/skills/roles/qa.web-ui.md +2 -0
  170. package/skills/roles/researcher.explorer.md +2 -0
  171. package/skills/roles/researcher.md +2 -0
  172. package/skills/roles/researcher.ux.md +2 -0
  173. package/skills/roles/reviewer.devil-advocate.md +2 -0
  174. package/skills/roles/reviewer.evaluator.md +2 -0
  175. package/skills/roles/reviewer.md +2 -0
  176. package/skills/roles/reviewer.trace.md +2 -0
  177. package/skills/roles/security.ai.md +2 -0
  178. package/skills/roles/security.appsec.md +2 -0
  179. package/skills/roles/security.cloud.md +2 -0
  180. package/skills/roles/security.legal-compliance.md +2 -0
  181. package/skills/roles/security.md +2 -0
  182. package/skills/roles/security.privacy.md +2 -0
  183. package/skills/roles/security.supply-chain.md +2 -0
  184. package/skills/security/blue-team.md +2 -0
  185. package/skills/security/code-audit.md +2 -0
  186. package/skills/security/pentest.md +2 -0
  187. package/skills/security/red-team.md +2 -0
  188. package/skills/security/threat-intel.md +2 -0
  189. package/skills/security/vuln-research.md +2 -0
  190. package/skills/strategy/competitive-landscape.md +2 -0
  191. package/skills/strategy/jobs-to-be-done.md +38 -0
  192. package/skills/strategy/market-research-methods.md +2 -0
  193. package/skills/strategy/narrative-arc.md +2 -0
  194. package/skills/strategy/pricing-positioning.md +2 -0
  195. package/skills/utility/clean-code.md +2 -0
  196. package/specialists/prompts/cx-engineer.md +1 -1
  197. package/specialists/registry.json +18 -9
  198. package/specialists/role-manifests.json +1 -1
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: ai-orchestration-workflow
3
3
  description: Use this skill when the request involves agent orchestration, phase transitions, task keys, handoff quality, workflow state, or project alignment.
4
+ inputs: [agent-spec, workflow-state]
5
+ artifactType: guidance
4
6
  ---
5
7
  # Construct Orchestration Workflow
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: ai-prompt-and-eval
3
3
  description: Use this skill when designing prompts, evaluating model performance, or optimizing LLM behavior.
4
+ inputs: [prompt, eval-dataset, model-output]
5
+ artifactType: eval-report
4
6
  ---
5
7
  # Prompt Engineering and Evaluation
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: ai-prompt-optimizer
3
3
  description: Closed-loop prompt auto-optimization guide. Use when the task matches the trigger conditions described in the body.
4
+ inputs: [prompt, model-output, eval-dataset]
5
+ artifactType: prompt
4
6
  ---
5
7
  # Prompt Auto-Optimization Loop
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: ai-rag-system
3
3
  description: Use this skill when building retrieval-augmented generation pipelines, vector search, or knowledge-grounded AI systems.
4
+ inputs: [eval-dataset, prompt]
5
+ artifactType: guidance
4
6
  ---
5
7
  # RAG System Design
6
8
 
@@ -0,0 +1,36 @@
1
+ ---
2
+ name: ai-trace-triage
3
+ description: "Use when: agent telemetry traces need triage to find where a run went wrong — the failing step, the cause category, and whether it is a regression or a one-off."
4
+ inputs: [telemetry-traces]
5
+ artifactType: trace-findings
6
+ ---
7
+ # Trace Triage
8
+
9
+ Use this skill when agent telemetry traces need to be triaged to locate failures and separate systemic regressions from one-off noise.
10
+
11
+ A stable median score hides high-variance agents failing silently. Triage works the tail and the deltas, not the average.
12
+
13
+ ## Steps
14
+
15
+ 1. **Frame the window and baseline.** Compare the current window against a prior baseline of the same agents/skills; an absolute score means little without the delta.
16
+ 2. **Sort by the tail, not the mean.** Surface the worst p10 runs and the largest score drops since baseline — that is where real failures live.
17
+ 3. **For each failing run, locate the failing step**: which role/tool call produced the bad output or error. Read the span, not just the verdict.
18
+ 4. **Classify the cause**: prompt/instruction gap, wrong model tier, missing context/evidence, tool error, or genuine task ambiguity. Do not default to "prompt issue".
19
+ 5. **Regression vs one-off**: does the same failure recur across runs (systemic) or appear once (noise)? Only systemic failures warrant a fix; flag one-offs for watch.
20
+ 6. **Hand off** systemic findings with the trace id, the failing span, the cause class, and a proposed direction (to prompt-optimizer, engineer, or evaluator).
21
+
22
+ ## Output shape
23
+
24
+ ```
25
+ ## Window: <range> vs baseline <range>
26
+ | traceId | agent/skill | failing step | cause class | regression? | Δ score |
27
+ |---|---|---|---|---|---|
28
+
29
+ ## Systemic (fix) vs one-off (watch)
30
+ ```
31
+
32
+ ## Verification bar
33
+
34
+ - Every finding cites a real traceId and the specific span that failed.
35
+ - Regression claims are backed by recurrence across runs, not a single bad sample.
36
+ - Cause classification is evidence-based; "unclear" is a valid class when the trace doesn't show why.
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: architecture-api-design
3
3
  description: Use this skill when designing REST, GraphQL, or gRPC APIs.
4
+ inputs: [system-design, requirements]
5
+ artifactType: api-design
4
6
  ---
5
7
  # API Design
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: architecture-caching
3
3
  description: Use this skill when designing caching strategies for applications, APIs, or infrastructure.
4
+ inputs: [system-design, requirements]
5
+ artifactType: guidance
4
6
  ---
5
7
  # Caching
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: architecture-cloud-native
3
3
  description: Use this skill when designing containerized, orchestrated, or microservice-based systems.
4
+ inputs: [system-design, requirements]
5
+ artifactType: guidance
4
6
  ---
5
7
  # Cloud-Native Architecture
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: architecture-message-queue
3
3
  description: Use this skill when designing asynchronous communication, event-driven systems, or message-based integrations.
4
+ inputs: [system-design, requirements]
5
+ artifactType: guidance
4
6
  ---
5
7
  # Message Queues and Event-Driven Architecture
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: architecture-security-arch
3
3
  description: Use this skill when designing authentication, authorization, network security, or zero-trust architectures.
4
+ inputs: [system-design, requirements]
5
+ artifactType: guidance
4
6
  ---
5
7
  # Security Architecture
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: compliance-ai-disclosure
3
3
  description: Use this skill when reviewing AI features for disclosure requirements, transparency obligations, or emerging AI regulation compliance.
4
+ inputs: [artifact, data-flow]
5
+ artifactType: privacy-assessment
4
6
  ---
5
7
  # AI Disclosure
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: compliance-data-privacy
3
3
  description: Use this skill when reviewing data collection, storage, processing, or retention for privacy regulation compliance.
4
+ inputs: [data-flow, artifact]
5
+ artifactType: privacy-assessment
4
6
  ---
5
7
  # Data Privacy
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: compliance-license-audit
3
3
  description: Use this skill when auditing dependency licenses, evaluating OSS compliance risk, or preparing license inventories for legal review.
4
+ inputs: [dependency-manifest]
5
+ artifactType: license-report
4
6
  ---
5
7
  # License Audit
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: compliance-regulatory-review
3
3
  description: Use this skill when conducting a compliance review before shipping features that handle user data, financial transactions, AI decisions, or regulated content.
4
+ inputs: [artifact, data-flow, dependency-manifest]
5
+ artifactType: compliance-review
4
6
  ---
5
7
  # Regulatory Review
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: development-cpp
3
3
  description: Use this skill when writing, reviewing, or debugging C or C++ code.
4
+ inputs: [code, repo]
5
+ artifactType: code
4
6
  ---
5
7
  # C/C++ Best Practices
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: development-go
3
3
  description: Use this skill when writing, reviewing, or debugging Go code.
4
+ inputs: [code, repo]
5
+ artifactType: code
4
6
  ---
5
7
  # Go Best Practices
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: development-java
3
3
  description: Use this skill when writing, reviewing, or debugging Java or Kotlin code on the JVM.
4
+ inputs: [code, repo]
5
+ artifactType: code
4
6
  ---
5
7
  # Java Best Practices
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: development-kotlin
3
3
  description: Patterns, anti-patterns, and reference guidance for Kotlin / Android Development. Use when the task involves kotlin / android development.
4
+ inputs: [code, repo]
5
+ artifactType: code
4
6
  ---
5
7
  # Kotlin / Android Development
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: development-mobile-crossplatform
3
3
  description: Before choosing a framework, answer:. Use when the task matches the trigger conditions described in the body.
4
+ inputs: [requirements, code]
5
+ artifactType: guidance
4
6
  ---
5
7
  # Mobile Cross-Platform Development
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: development-python
3
3
  description: Use this skill when writing, reviewing, or debugging Python code.
4
+ inputs: [code, repo]
5
+ artifactType: code
4
6
  ---
5
7
  # Python Best Practices
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: development-rust
3
3
  description: Use this skill when writing, reviewing, or debugging Rust code.
4
+ inputs: [code, repo]
5
+ artifactType: code
4
6
  ---
5
7
  # Rust Best Practices
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: development-shell
3
3
  description: Use this skill when writing, reviewing, or debugging Bash, Zsh, or POSIX shell scripts.
4
+ inputs: [code, repo]
5
+ artifactType: code
4
6
  ---
5
7
  # Shell Scripting Best Practices
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: development-swift
3
3
  description: Swift 6 enforces data-race safety at compile time. Annotate isolation boundary explicitly:. Use when the task matches the trigger conditions described in the body.
4
+ inputs: [code, repo]
5
+ artifactType: code
4
6
  ---
5
7
  # Swift / iOS Development
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: development-typescript
3
3
  description: Use this skill when writing, reviewing, or debugging TypeScript or JavaScript code.
4
+ inputs: [code, repo]
5
+ artifactType: code
4
6
  ---
5
7
  # TypeScript Best Practices
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: devops-ci-cd
3
3
  description: Use this skill when designing, debugging, or optimizing CI/CD pipelines.
4
+ inputs: [pipeline-config, repo]
5
+ artifactType: ci-pipeline
4
6
  ---
5
7
  # CI/CD
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: devops-containerization
3
3
  description: Use this skill when writing Dockerfiles, optimizing image size, or securing container builds.
4
+ inputs: [service, repo]
5
+ artifactType: dockerfile
4
6
  ---
5
7
  # Containerization
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: devops-cost-optimization
3
3
  description: Use this skill when reducing cloud spend, right-sizing resources, or implementing FinOps practices.
4
+ inputs: [service, cost-data]
5
+ artifactType: cost-optimization-plan
4
6
  ---
5
7
  # Cloud Cost Optimization
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: devops-data-engineering
3
3
  description: "1. **Idempotency**: pipelines can run multiple times without duplicating data 2. **Observability**: every pipeline run logs row counts, latency, and anomalies 3. **Data contracts**: producers and consumers agree on schema and SLAs 4. **Lineage**: know where every column came from and what it feeds. Use when the task matches the trigger conditions described in the body."
4
+ inputs: [pipeline-config, data-contract]
5
+ artifactType: data-pipeline
4
6
  ---
5
7
  # Data Engineering
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: devops-database
3
3
  description: Use this skill when designing schemas, writing migrations, optimizing queries, or selecting databases.
4
+ inputs: [schema, query]
5
+ artifactType: schema-design
4
6
  ---
5
7
  # Database Patterns
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: devops-dependency-management
3
3
  description: Use this skill when managing package upgrades, resolving CVEs, or establishing lock file and versioning policy.
4
+ inputs: [dependency-manifest, repo]
5
+ artifactType: dependency-report
4
6
  ---
5
7
  # Dependency Management
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: devops-devsecops
3
3
  description: Use this skill when integrating security into CI/CD pipelines, managing supply chain risk, or automating security scanning.
4
+ inputs: [pipeline-config, service]
5
+ artifactType: security-plan
4
6
  ---
5
7
  # DevSecOps
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: devops-git-workflow
3
3
  description: Use this skill when establishing branching strategies, commit conventions, or code integration practices.
4
+ inputs: [repo, task-context]
5
+ artifactType: guidance
4
6
  ---
5
7
  # Git Workflow
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: devops-incident-response
3
3
  description: "Define severity in your runbook and assign it early: it determines escalation and comms cadence. Use when the task matches the trigger conditions described in the body."
4
+ inputs: [incident, alert]
5
+ artifactType: incident-runbook
4
6
  ---
5
7
  # Incident Response
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: devops-monorepo
3
3
  description: Use this skill when selecting monorepo tooling, structuring packages, or optimizing affected-only builds.
4
+ inputs: [repo, pipeline-config]
5
+ artifactType: guidance
4
6
  ---
5
7
  # Monorepo
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: devops-observability
3
3
  description: Use this skill when designing logging, tracing, metrics, or alerting systems.
4
+ inputs: [service, metrics]
5
+ artifactType: observability-plan
4
6
  ---
5
7
  # Observability
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: devops-performance
3
3
  description: Use this skill when profiling, load testing, or optimizing application and infrastructure performance.
4
+ inputs: [service, metrics]
5
+ artifactType: performance-plan
4
6
  ---
5
7
  # Performance Engineering
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: devops-testing
3
3
  description: Use this skill when planning test coverage, selecting test types, or establishing testing practices.
4
+ inputs: [repo, task-context]
5
+ artifactType: test-plan
4
6
  ---
5
7
  # Testing Strategy
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: docs-adr-workflow
3
3
  description: "Use when: an architectural decision is made that affects the system structure, data model, API contracts, or technology choices."
4
+ inputs: [decision-context]
5
+ artifactType: adr
4
6
  ---
5
7
  # ADR Workflow
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: docs-backlog-proposal-workflow
3
3
  description: "Use when: product evidence should create or update Jira, Linear, GitHub Issues, or another tracker."
4
+ inputs: [evidence-brief, prd, signal]
5
+ artifactType: backlog-proposal
4
6
  ---
5
7
  # Backlog Proposal Workflow
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: docs-customer-profile-workflow
3
3
  description: "Use when: customer evidence should update durable product memory."
4
+ inputs: [signal, customer-profile]
5
+ artifactType: customer-profile
4
6
  ---
5
7
  # Customer Profile Workflow
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: docs-document-ingest-workflow
3
3
  description: "Use when: the user points at a PDF, Word doc, spreadsheet, slide deck, export, or mixed document folder and wants a markdown version that Construct can search efficiently later."
4
+ inputs: [document]
5
+ artifactType: ingested-markdown
4
6
  ---
5
7
  # Document Ingest Workflow
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: docs-evidence-ingest-workflow
3
3
  description: "Use when: the user pastes customer notes, Slack threads, support tickets, sales notes, research snippets, RFCs, analytics summaries, or competitor signals."
4
+ inputs: [signal, document]
5
+ artifactType: evidence-brief
4
6
  ---
5
7
  # Evidence Ingest Workflow
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: docs-init-docs
3
3
  description: "`init docs`, `create docs structure`, `set up documentation`, `docs scaffold`, `documentation init`. Use when the task matches the trigger conditions described in the body."
4
+ inputs: [task-context]
5
+ artifactType: docs-scaffold
4
6
  ---
5
7
  # Skill: init-docs: Initialize Project Documentation Structure
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: docs-init-project
3
3
  description: "Use when: starting work on a new project or joining an existing one without doc structure."
4
+ inputs: [repo]
5
+ artifactType: docs-scaffold
4
6
  ---
5
7
  # Project Initialization
6
8
 
@@ -0,0 +1,45 @@
1
+ ---
2
+ name: docs-memo-and-decision-capture
3
+ description: "Use when: a decision, status update, or announcement needs to be captured as a short, durable memo that states the decision, its rationale, and what changes."
4
+ inputs: [decision-context]
5
+ artifactType: memo
6
+ ---
7
+ # Memo & Decision Capture
8
+
9
+ Use this skill when a decision, status update, or announcement needs to be captured as a short, durable memo.
10
+
11
+ A good memo is short and load-bearing: a reader six months later should understand what was decided, why, and what it changed — without attending the meeting. Length is not value; a memo that buries the decision under context has failed.
12
+
13
+ ## Steps
14
+
15
+ 1. **Lead with the decision or update** in the first sentence. The reader should not have to hunt for it.
16
+ 2. **State the context** in 2–4 sentences: what prompted this, what problem it addresses.
17
+ 3. **Record the rationale** — why this option over the alternatives actually considered. If alternatives were weighed, name them and why they lost.
18
+ 4. **State what changes** as a result: who does what differently, what is now in or out of scope.
19
+ 5. **List action items** with owners, if any.
20
+ 6. **Date and attribute** the memo. A memo without a date is not durable.
21
+
22
+ ## Output shape
23
+
24
+ ```
25
+ # Memo: <subject>
26
+ _<date> · <author>_
27
+
28
+ **Decision/Update:** <one sentence>
29
+
30
+ ## Context
31
+ <2–4 sentences>
32
+
33
+ ## Rationale
34
+ <why this, over what alternatives>
35
+
36
+ ## What changes
37
+ - <change> — owner: <name>
38
+ ```
39
+
40
+ ## Verification bar
41
+
42
+ - The decision/update is stated in the first sentence, unhedged where the decision is firm.
43
+ - Rationale references only alternatives actually considered — no invented options.
44
+ - The memo is dated and attributed.
45
+ - Nothing load-bearing is asserted that the source context does not support; unknowns are written as `unknown`.
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: docs-prd-workflow
3
3
  description: "Use when: the user asks to create a PRD, platform spec, business case, RFC, or requirements document."
4
+ inputs: [research-question, evidence-brief]
5
+ artifactType: prd
4
6
  ---
5
7
  # PRD Workflow
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: docs-prfaq-workflow
3
3
  description: "Use when: the user asks for a PRFAQ, working-backwards doc, launch narrative, or FAQ grounded in product evidence."
4
+ inputs: [prd, evidence-brief]
5
+ artifactType: prfaq
4
6
  ---
5
7
  # PRFAQ Workflow
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: docs-product-intelligence-review
3
3
  description: "Use when: reviewing PRDs, Meta PRDs, PRFAQs, evidence briefs, signal briefs, customer profiles, or backlog proposals."
4
+ inputs: [prd, evidence-brief]
5
+ artifactType: review
4
6
  ---
5
7
  # Product Intelligence Review
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: docs-product-intelligence-workflow
3
3
  description: "Use when: the request involves customer evidence, PM synthesis, product requirements, PRDs, PRFAQs, customer profiles, product signals, or backlog proposals."
4
+ inputs: [signal, evidence-brief]
5
+ artifactType: prd
4
6
  ---
5
7
  # Product Intelligence Workflow
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: docs-product-signal-workflow
3
3
  description: "Use when: the user asks what customers are asking for, what themes are emerging, whether evidence is strong enough, or what should become a PRD."
4
+ inputs: [signal, evidence-brief]
5
+ artifactType: signal-brief
4
6
  ---
5
7
  # Product Signal Workflow
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: docs-research-workflow
3
3
  description: "Use when: the user asks to research a topic, investigate a question, or gather evidence for a decision."
4
+ inputs: [research-question]
5
+ artifactType: research-brief
4
6
  ---
5
7
  # Research Workflow
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: docs-runbook-workflow
3
3
  description: "Use when: creating operational procedures for services, alerts, or recurring operations."
4
+ inputs: [service, incident]
5
+ artifactType: runbook
4
6
  ---
5
7
  # Runbook Workflow
6
8
 
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: docs-strategy-workflow
3
3
  description: "Use when: the user asks about product direction, strategic bets, what to prioritize, whether a signal aligns with strategy, or wants to update the strategy."
4
+ inputs: [signal, decision-context]
5
+ artifactType: strategy
4
6
  ---
5
7
  # Strategy Workflow
6
8
 
@@ -0,0 +1,43 @@
1
+ ---
2
+ name: docs-transcript-synthesis
3
+ description: "Use when: a meeting, call, or interview transcript needs to be turned into a summary, the decisions made, and concrete action items with owners."
4
+ inputs: [transcript-text]
5
+ artifactType: meeting-summary
6
+ ---
7
+ # Transcript Synthesis
8
+
9
+ Use this skill when a meeting, call, or interview transcript needs to be turned into a structured summary with decisions and action items.
10
+
11
+ A raw transcript is a low-signal artifact: speaker turns, filler, and tangents bury the few load-bearing outcomes. The job is to extract those outcomes faithfully without inventing any that were not actually stated.
12
+
13
+ ## Steps
14
+
15
+ 1. **Read the whole transcript first.** Do not summarize incrementally — a decision late in the call often reverses an earlier one.
16
+ 2. **Identify participants and roles** if stated. Note who owns what. If unstated, write `owner: unassigned` rather than guessing.
17
+ 3. **Extract decisions.** A decision is an explicit commitment ("we'll ship X", "we're not doing Y"). Quote or tightly paraphrase the line that establishes it. Do not promote a musing ("maybe we could…") to a decision.
18
+ 4. **Extract action items** as `{ action, owner, due? }`. Only include items someone actually committed to. Mark `due` only if a date was stated.
19
+ 5. **Extract open questions** — anything raised and left unresolved.
20
+ 6. **Write a 3–6 sentence summary** of what the conversation was about and what changed as a result.
21
+ 7. **Flag low-confidence sections** — crosstalk, inaudible markers, ambiguous antecedents — as `[unclear]` rather than smoothing them over.
22
+
23
+ ## Output shape
24
+
25
+ ```
26
+ ## Summary
27
+ <3–6 sentences>
28
+
29
+ ## Decisions
30
+ - <decision> — basis: "<quoted/paraphrased line>"
31
+
32
+ ## Action items
33
+ - [ ] <action> — owner: <name|unassigned>[, due: <date>]
34
+
35
+ ## Open questions
36
+ - <question>
37
+ ```
38
+
39
+ ## Verification bar
40
+
41
+ - Every decision and action item traces to an actual statement in the transcript — no invented commitments or owners.
42
+ - Tentative language stays tentative; do not sharpen "maybe" into "will".
43
+ - Unresolved or inaudible content is surfaced, not silently dropped.
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: exploration-dependency-graph-reading
3
3
  description: Use when assessing the risk surface of a project's dependencies, planning upgrades, or evaluating a new codebase's supply chain posture.
4
+ inputs: [dependency-manifest, repo]
5
+ artifactType: dependency-graph
4
6
  ---
5
7
  # Dependency Graph Reading
6
8