@geraldmaron/construct 1.0.14 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/bin/construct +3 -3
- package/commands/build/feature.md +0 -6
- package/commands/build/fix.md +0 -6
- package/commands/design/access.md +0 -6
- package/commands/design/flow.md +0 -6
- package/commands/design/ui.md +0 -6
- package/commands/measure/experiment.md +0 -6
- package/commands/measure/metrics.md +0 -6
- package/commands/measure/results.md +0 -6
- package/commands/plan/api.md +0 -6
- package/commands/plan/challenge.md +0 -6
- package/commands/plan/decide.md +0 -6
- package/commands/plan/feature.md +0 -7
- package/commands/plan/requirements.md +0 -6
- package/commands/remember/context.md +0 -6
- package/commands/remember/handoff.md +0 -6
- package/commands/remember/runbook.md +0 -6
- package/commands/review/code.md +0 -6
- package/commands/review/quality.md +0 -6
- package/commands/review/security.md +0 -6
- package/commands/ship/ready.md +0 -6
- package/commands/ship/release.md +0 -6
- package/commands/ship/status.md +0 -6
- package/commands/understand/docs.md +0 -6
- package/commands/understand/research.md +0 -6
- package/commands/understand/this.md +0 -6
- package/commands/understand/why.md +0 -6
- package/commands/work/clean.md +0 -6
- package/commands/work/drive.md +0 -6
- package/commands/work/optimize-prompts.md +0 -6
- package/commands/work/parallel-review.md +0 -6
- package/lib/beads-client.mjs +19 -1
- package/lib/comment-lint.mjs +5 -1
- package/lib/context-state.mjs +15 -3
- package/lib/contracts/validate.mjs +54 -10
- package/lib/contracts/violation-log.mjs +154 -0
- package/lib/document-extract/docling-client.mjs +114 -0
- package/lib/document-extract/docling-sidecar.py +122 -0
- package/lib/document-extract/whisper-client.mjs +79 -0
- package/lib/document-extract.mjs +73 -8
- package/lib/document-ingest.mjs +26 -4
- package/lib/embed/daemon.mjs +6 -1
- package/lib/flavors/loader.mjs +1 -1
- package/lib/handoffs/contract.mjs +2 -2
- package/lib/hooks/session-start.mjs +1 -1
- package/lib/ingest/chunker.mjs +94 -0
- package/lib/ingest/pipeline.mjs +53 -0
- package/lib/ingest/store.mjs +82 -0
- package/lib/knowledge/search.mjs +12 -0
- package/lib/mcp/server.mjs +142 -1
- package/lib/mcp/tools/skills.mjs +6 -3
- package/lib/mcp/tools/workflow.mjs +6 -2
- package/lib/observation-store.mjs +14 -5
- package/lib/ollama-manager.mjs +32 -28
- package/lib/prompt-composer.js +11 -1
- package/lib/runtime/uv-bootstrap.mjs +129 -0
- package/lib/runtime/whisper-bootstrap.mjs +102 -0
- package/lib/server/index.mjs +22 -1
- package/lib/server/static/index.html +1 -1
- package/lib/specialists/postconditions.mjs +1 -1
- package/lib/sync/skill-frontmatter.mjs +113 -21
- package/lib/tracking-surfaces.mjs +2 -0
- package/lib/validators/skills.mjs +86 -54
- package/package.json +5 -5
- package/personas/construct.md +4 -7
- package/platforms/claude/settings.template.json +1 -1
- package/rules/common/beads-hygiene.md +3 -9
- package/rules/common/code-review.md +3 -6
- package/rules/common/coding-style.md +3 -6
- package/rules/common/comments.md +3 -7
- package/rules/common/commit-approval.md +3 -6
- package/rules/common/cx-agent-routing.md +3 -7
- package/rules/common/cx-skill-routing.md +3 -3
- package/rules/common/doc-ownership.md +3 -8
- package/rules/common/efficiency.md +3 -8
- package/rules/common/framing.md +3 -8
- package/rules/common/git-workflow.md +3 -5
- package/rules/common/no-fabrication.md +4 -12
- package/rules/common/patterns.md +3 -5
- package/rules/common/release-gates.md +3 -8
- package/rules/common/research.md +3 -8
- package/rules/common/review-before-change.md +3 -9
- package/rules/common/security.md +3 -6
- package/rules/common/skill-composition.md +3 -7
- package/rules/common/testing.md +3 -6
- package/rules/golang/coding-style.md +1 -5
- package/rules/golang/hooks.md +1 -5
- package/rules/golang/patterns.md +1 -5
- package/rules/golang/security.md +1 -5
- package/rules/golang/testing.md +1 -5
- package/rules/python/coding-style.md +1 -5
- package/rules/python/hooks.md +1 -5
- package/rules/python/patterns.md +1 -5
- package/rules/python/security.md +1 -5
- package/rules/python/testing.md +1 -5
- package/rules/swift/coding-style.md +1 -5
- package/rules/swift/hooks.md +1 -5
- package/rules/swift/patterns.md +1 -5
- package/rules/swift/security.md +1 -5
- package/rules/swift/testing.md +1 -5
- package/rules/typescript/coding-style.md +1 -5
- package/rules/typescript/hooks.md +1 -5
- package/rules/typescript/patterns.md +1 -5
- package/rules/typescript/security.md +1 -5
- package/rules/typescript/testing.md +1 -5
- package/rules/web/coding-style.md +3 -5
- package/rules/web/design-quality.md +3 -5
- package/rules/web/hooks.md +3 -5
- package/rules/web/patterns.md +3 -5
- package/rules/web/performance.md +3 -5
- package/rules/web/security.md +3 -5
- package/rules/web/testing.md +3 -5
- package/skills/ai/agent-dev.md +4 -5
- package/skills/ai/llm-security.md +4 -5
- package/skills/ai/ml-ops.md +4 -5
- package/skills/ai/orchestration-workflow.md +4 -5
- package/skills/ai/prompt-and-eval.md +4 -5
- package/skills/ai/prompt-optimizer.md +4 -6
- package/skills/ai/rag-system.md +4 -5
- package/skills/architecture/api-design.md +4 -5
- package/skills/architecture/caching.md +4 -5
- package/skills/architecture/cloud-native.md +4 -5
- package/skills/architecture/message-queue.md +4 -5
- package/skills/architecture/security-arch.md +4 -5
- package/skills/compliance/ai-disclosure.md +4 -5
- package/skills/compliance/data-privacy.md +4 -5
- package/skills/compliance/license-audit.md +4 -5
- package/skills/compliance/regulatory-review.md +4 -5
- package/skills/development/cpp.md +4 -5
- package/skills/development/go.md +4 -5
- package/skills/development/java.md +4 -5
- package/skills/development/kotlin.md +4 -5
- package/skills/development/mobile-crossplatform.md +4 -5
- package/skills/development/python.md +4 -5
- package/skills/development/rust.md +4 -5
- package/skills/development/shell.md +4 -5
- package/skills/development/swift.md +4 -5
- package/skills/development/typescript.md +4 -5
- package/skills/devops/ci-cd.md +4 -5
- package/skills/devops/containerization.md +4 -5
- package/skills/devops/cost-optimization.md +4 -5
- package/skills/devops/data-engineering.md +4 -5
- package/skills/devops/database.md +4 -5
- package/skills/devops/dependency-management.md +4 -5
- package/skills/devops/devsecops.md +4 -5
- package/skills/devops/git-workflow.md +4 -5
- package/skills/devops/incident-response.md +4 -5
- package/skills/devops/monorepo.md +4 -5
- package/skills/devops/observability.md +4 -5
- package/skills/devops/performance.md +4 -5
- package/skills/devops/testing.md +4 -5
- package/skills/docs/adr-workflow.md +4 -7
- package/skills/docs/backlog-proposal-workflow.md +4 -3
- package/skills/docs/customer-profile-workflow.md +4 -3
- package/skills/docs/document-ingest-workflow.md +4 -3
- package/skills/docs/evidence-ingest-workflow.md +4 -3
- package/skills/docs/init-docs.md +4 -5
- package/skills/docs/init-project.md +4 -5
- package/skills/docs/prd-workflow.md +4 -7
- package/skills/docs/prfaq-workflow.md +4 -3
- package/skills/docs/product-intelligence-review.md +4 -3
- package/skills/docs/product-intelligence-workflow.md +4 -6
- package/skills/docs/product-signal-workflow.md +4 -5
- package/skills/docs/research-workflow.md +4 -5
- package/skills/docs/runbook-workflow.md +4 -5
- package/skills/docs/strategy-workflow.md +4 -5
- package/skills/exploration/dependency-graph-reading.md +4 -7
- package/skills/exploration/repo-map.md +4 -5
- package/skills/exploration/tracer-bullet-method.md +4 -7
- package/skills/exploration/unknown-codebase-onboarding.md +4 -7
- package/skills/frameworks/django.md +4 -5
- package/skills/frameworks/nextjs.md +4 -5
- package/skills/frameworks/react.md +4 -5
- package/skills/frameworks/spring-boot.md +4 -5
- package/skills/frontend-design/accessibility.md +4 -5
- package/skills/frontend-design/component-patterns.md +4 -5
- package/skills/frontend-design/engineering.md +4 -5
- package/skills/frontend-design/state-management.md +4 -5
- package/skills/frontend-design/ui-aesthetics.md +4 -5
- package/skills/frontend-design/ux-principles.md +4 -5
- package/skills/operating/change-management.md +4 -8
- package/skills/operating/incident-response.md +4 -8
- package/skills/operating/oncall-rotation.md +4 -7
- package/skills/operating/orchestration-reference.md +4 -10
- package/skills/quality-gates/review-work.md +4 -5
- package/skills/quality-gates/verify-change.md +4 -5
- package/skills/quality-gates/verify-module.md +4 -5
- package/skills/quality-gates/verify-quality.md +4 -5
- package/skills/quality-gates/verify-security.md +4 -5
- package/skills/roles/architect.ai-systems.md +6 -9
- package/skills/roles/architect.data.md +6 -9
- package/skills/roles/architect.enterprise.md +6 -9
- package/skills/roles/architect.integration.md +6 -9
- package/skills/roles/architect.md +7 -14
- package/skills/roles/architect.platform.md +6 -9
- package/skills/roles/data-analyst.experiment.md +6 -9
- package/skills/roles/data-analyst.md +6 -9
- package/skills/roles/data-analyst.product-intelligence.md +7 -9
- package/skills/roles/data-analyst.product.md +6 -9
- package/skills/roles/data-analyst.telemetry.md +7 -9
- package/skills/roles/data-engineer.pipeline.md +6 -9
- package/skills/roles/data-engineer.vector-retrieval.md +7 -9
- package/skills/roles/data-engineer.warehouse.md +6 -9
- package/skills/roles/debugger.md +6 -9
- package/skills/roles/designer.accessibility.md +6 -9
- package/skills/roles/designer.md +7 -9
- package/skills/roles/engineer.ai.md +6 -9
- package/skills/roles/engineer.data.md +6 -9
- package/skills/roles/engineer.md +9 -9
- package/skills/roles/engineer.platform.md +6 -9
- package/skills/roles/operator.docs.md +6 -9
- package/skills/roles/operator.md +9 -9
- package/skills/roles/operator.release.md +6 -9
- package/skills/roles/operator.sre.md +6 -9
- package/skills/roles/orchestrator.md +6 -9
- package/skills/roles/product-manager.ai-product.md +6 -9
- package/skills/roles/product-manager.business-strategy.md +6 -9
- package/skills/roles/product-manager.enterprise.md +6 -9
- package/skills/roles/product-manager.growth.md +7 -9
- package/skills/roles/product-manager.md +7 -9
- package/skills/roles/product-manager.platform.md +6 -9
- package/skills/roles/product-manager.product.md +6 -9
- package/skills/roles/qa.ai-eval.md +8 -9
- package/skills/roles/qa.api-contract.md +7 -9
- package/skills/roles/qa.data-pipeline.md +7 -9
- package/skills/roles/qa.md +7 -9
- package/skills/roles/qa.test-automation.md +6 -9
- package/skills/roles/qa.web-ui.md +7 -9
- package/skills/roles/researcher.explorer.md +6 -9
- package/skills/roles/researcher.md +8 -9
- package/skills/roles/researcher.ux.md +6 -9
- package/skills/roles/reviewer.devil-advocate.md +6 -9
- package/skills/roles/reviewer.evaluator.md +6 -9
- package/skills/roles/reviewer.md +9 -9
- package/skills/roles/reviewer.trace.md +6 -9
- package/skills/roles/security.ai.md +7 -9
- package/skills/roles/security.appsec.md +6 -9
- package/skills/roles/security.cloud.md +6 -9
- package/skills/roles/security.legal-compliance.md +6 -9
- package/skills/roles/security.md +7 -9
- package/skills/roles/security.privacy.md +7 -9
- package/skills/roles/security.supply-chain.md +7 -9
- package/skills/security/blue-team.md +4 -5
- package/skills/security/code-audit.md +4 -5
- package/skills/security/pentest.md +4 -5
- package/skills/security/red-team.md +4 -5
- package/skills/security/threat-intel.md +4 -5
- package/skills/security/vuln-research.md +4 -5
- package/skills/strategy/competitive-landscape.md +4 -8
- package/skills/strategy/market-research-methods.md +4 -8
- package/skills/strategy/narrative-arc.md +4 -8
- package/skills/strategy/pricing-positioning.md +4 -8
- package/skills/utility/clean-code.md +4 -5
- package/specialists/policy-inventory.json +14 -0
- package/lib/specialist-contracts-enforce.mjs +0 -172
- package/rules/common/agents.md +0 -28
- package/rules/common/development-workflow.md +0 -32
- package/rules/common/performance.md +0 -55
package/rules/common/patterns.md
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
Covers skeleton project evaluation, repository pattern, and API response format.
|
|
5
|
-
-->
|
|
1
|
+
---
|
|
2
|
+
description: reusable design patterns and skeleton project strategy.
|
|
3
|
+
---
|
|
6
4
|
# Common Patterns
|
|
7
5
|
|
|
8
6
|
## Skeleton Projects
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
Defines the blocking contracts every agent and persona must satisfy locally
|
|
5
|
-
before any commit, push, or "done" claim. Loaded by the construct persona,
|
|
6
|
-
AGENTS.md, and the engineer/reviewer/operator role overlays. Enforcement is at
|
|
7
|
-
the prompt level: CI is a backstop, not the primary gate.
|
|
8
|
-
-->
|
|
1
|
+
---
|
|
2
|
+
description: Hard release gates for Construct work.
|
|
3
|
+
---
|
|
9
4
|
# Release Gates: Hard Contracts
|
|
10
5
|
|
|
11
6
|
These are blocking gates. Every agent, persona, and harness session working in or shipping Construct must satisfy them locally **before** any commit, push, or "done" claim. CI is a backstop, not the primary check.
|
package/rules/common/research.md
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
Defines how research starts, which sources to prefer, how claims are verified,
|
|
5
|
-
and what must be recorded so findings are reproducible. Applies to research,
|
|
6
|
-
product evidence synthesis, document ingest follow-up, and any recommendation
|
|
7
|
-
that depends on external facts or evolving internal evidence.
|
|
8
|
-
-->
|
|
1
|
+
---
|
|
2
|
+
description: canonical research and evidence policy for Construct.
|
|
3
|
+
---
|
|
9
4
|
# Research Policy
|
|
10
5
|
|
|
11
6
|
Construct treats research as a reproducible evidence-gathering process, not free-form browsing. If a claim could change decisions, scope, architecture, or roadmap, it must be tied to verifiable evidence.
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
Applies to every specialist on every platform. Pairs with framing.md (frame the
|
|
5
|
-
problem) and development-workflow.md step 0 (research and reuse before code).
|
|
6
|
-
This rule extends the same discipline to artifacts: docs, strategy, PRDs, ADRs,
|
|
7
|
-
RFCs, rules, templates, and any other durable file. Read before scaffolding.
|
|
8
|
-
-->
|
|
1
|
+
---
|
|
2
|
+
description: audit the current state before authoring anything new.
|
|
3
|
+
---
|
|
9
4
|
# Review Before Change
|
|
10
5
|
|
|
11
6
|
Before creating or rewriting a durable artifact, check what already exists.
|
|
@@ -54,5 +49,4 @@ For artifacts that go through a review cycle (strategy, PRD, ADR, RFC), the fram
|
|
|
54
49
|
## Related
|
|
55
50
|
|
|
56
51
|
- `rules/common/framing.md`: frame the underlying problem before reaching for inputs.
|
|
57
|
-
- `rules/common/development-workflow.md`: step 0 covers the same discipline for code.
|
|
58
52
|
- `rules/common/doc-ownership.md`: which specialist owns which artifact type.
|
package/rules/common/security.md
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
Defines pre-commit security checklist, secret management rules,
|
|
5
|
-
and response protocol for discovered vulnerabilities.
|
|
6
|
-
-->
|
|
1
|
+
---
|
|
2
|
+
description: mandatory security checks and secret management.
|
|
3
|
+
---
|
|
7
4
|
# Security Guidelines
|
|
8
5
|
|
|
9
6
|
## Mandatory Security Checks
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
Defines the default boundary between what lives in the agent's base prompt and
|
|
5
|
-
what is fetched via `get_skill` at runtime. Aims to keep prompts lean while
|
|
6
|
-
keeping domain knowledge reliably available when needed.
|
|
7
|
-
-->
|
|
1
|
+
---
|
|
2
|
+
description: how specialist prompts compose with skill files.
|
|
3
|
+
---
|
|
8
4
|
# Skill Composition Policy
|
|
9
5
|
|
|
10
6
|
Specialist agent prompts are lean on purpose. Domain depth lives in skill files and is pulled in on demand, not pre-inlined.
|
package/rules/common/testing.md
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
Defines minimum 80% coverage, TDD red-green-refactor cycle,
|
|
5
|
-
AAA test structure, and descriptive naming conventions.
|
|
6
|
-
-->
|
|
1
|
+
---
|
|
2
|
+
description: test coverage requirements and TDD workflow.
|
|
3
|
+
---
|
|
7
4
|
# Testing Requirements
|
|
8
5
|
|
|
9
6
|
## Minimum Test Coverage: 80%
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
rules/golang/coding-style.md: <one-line purpose>
|
|
3
|
-
|
|
4
|
-
<2–6 line summary.>
|
|
5
|
-
-->
|
|
6
1
|
---
|
|
2
|
+
description: Construct golang coding style rule. Applies to files matching **/*.go, **/go.mod, **/go.sum. Use when writing or reviewing golang code that involves coding style.
|
|
7
3
|
paths:
|
|
8
4
|
- "**/*.go"
|
|
9
5
|
- "**/go.mod"
|
package/rules/golang/hooks.md
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
rules/golang/hooks.md: <one-line purpose>
|
|
3
|
-
|
|
4
|
-
<2–6 line summary.>
|
|
5
|
-
-->
|
|
6
1
|
---
|
|
2
|
+
description: Construct golang hooks rule. Applies to files matching **/*.go, **/go.mod, **/go.sum. Use when writing or reviewing golang code that involves hooks.
|
|
7
3
|
paths:
|
|
8
4
|
- "**/*.go"
|
|
9
5
|
- "**/go.mod"
|
package/rules/golang/patterns.md
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
rules/golang/patterns.md: <one-line purpose>
|
|
3
|
-
|
|
4
|
-
<2–6 line summary.>
|
|
5
|
-
-->
|
|
6
1
|
---
|
|
2
|
+
description: Construct golang patterns rule. Applies to files matching **/*.go, **/go.mod, **/go.sum. Use when writing or reviewing golang code that involves patterns.
|
|
7
3
|
paths:
|
|
8
4
|
- "**/*.go"
|
|
9
5
|
- "**/go.mod"
|
package/rules/golang/security.md
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
rules/golang/security.md: <one-line purpose>
|
|
3
|
-
|
|
4
|
-
<2–6 line summary.>
|
|
5
|
-
-->
|
|
6
1
|
---
|
|
2
|
+
description: Construct golang security rule. Applies to files matching **/*.go, **/go.mod, **/go.sum. Use when writing or reviewing golang code that involves security.
|
|
7
3
|
paths:
|
|
8
4
|
- "**/*.go"
|
|
9
5
|
- "**/go.mod"
|
package/rules/golang/testing.md
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
rules/golang/testing.md: <one-line purpose>
|
|
3
|
-
|
|
4
|
-
<2–6 line summary.>
|
|
5
|
-
-->
|
|
6
1
|
---
|
|
2
|
+
description: Construct golang testing rule. Applies to files matching **/*.go, **/go.mod, **/go.sum. Use when writing or reviewing golang code that involves testing.
|
|
7
3
|
paths:
|
|
8
4
|
- "**/*.go"
|
|
9
5
|
- "**/go.mod"
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
rules/python/coding-style.md: <one-line purpose>
|
|
3
|
-
|
|
4
|
-
<2–6 line summary.>
|
|
5
|
-
-->
|
|
6
1
|
---
|
|
2
|
+
description: Construct python coding style rule. Applies to files matching **/*.py, **/*.pyi. Use when writing or reviewing python code that involves coding style.
|
|
7
3
|
paths:
|
|
8
4
|
- "**/*.py"
|
|
9
5
|
- "**/*.pyi"
|
package/rules/python/hooks.md
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
rules/python/hooks.md: <one-line purpose>
|
|
3
|
-
|
|
4
|
-
<2–6 line summary.>
|
|
5
|
-
-->
|
|
6
1
|
---
|
|
2
|
+
description: Construct python hooks rule. Applies to files matching **/*.py, **/*.pyi. Use when writing or reviewing python code that involves hooks.
|
|
7
3
|
paths:
|
|
8
4
|
- "**/*.py"
|
|
9
5
|
- "**/*.pyi"
|
package/rules/python/patterns.md
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
rules/python/patterns.md: <one-line purpose>
|
|
3
|
-
|
|
4
|
-
<2–6 line summary.>
|
|
5
|
-
-->
|
|
6
1
|
---
|
|
2
|
+
description: Construct python patterns rule. Applies to files matching **/*.py, **/*.pyi. Use when writing or reviewing python code that involves patterns.
|
|
7
3
|
paths:
|
|
8
4
|
- "**/*.py"
|
|
9
5
|
- "**/*.pyi"
|
package/rules/python/security.md
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
rules/python/security.md: <one-line purpose>
|
|
3
|
-
|
|
4
|
-
<2–6 line summary.>
|
|
5
|
-
-->
|
|
6
1
|
---
|
|
2
|
+
description: Construct python security rule. Applies to files matching **/*.py, **/*.pyi. Use when writing or reviewing python code that involves security.
|
|
7
3
|
paths:
|
|
8
4
|
- "**/*.py"
|
|
9
5
|
- "**/*.pyi"
|
package/rules/python/testing.md
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
rules/python/testing.md: <one-line purpose>
|
|
3
|
-
|
|
4
|
-
<2–6 line summary.>
|
|
5
|
-
-->
|
|
6
1
|
---
|
|
2
|
+
description: Construct python testing rule. Applies to files matching **/*.py, **/*.pyi. Use when writing or reviewing python code that involves testing.
|
|
7
3
|
paths:
|
|
8
4
|
- "**/*.py"
|
|
9
5
|
- "**/*.pyi"
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
rules/swift/coding-style.md: <one-line purpose>
|
|
3
|
-
|
|
4
|
-
<2–6 line summary.>
|
|
5
|
-
-->
|
|
6
1
|
---
|
|
2
|
+
description: Construct swift coding style rule. Applies to files matching **/*.swift, **/Package.swift. Use when writing or reviewing swift code that involves coding style.
|
|
7
3
|
paths:
|
|
8
4
|
- "**/*.swift"
|
|
9
5
|
- "**/Package.swift"
|
package/rules/swift/hooks.md
CHANGED
package/rules/swift/patterns.md
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
rules/swift/patterns.md: <one-line purpose>
|
|
3
|
-
|
|
4
|
-
<2–6 line summary.>
|
|
5
|
-
-->
|
|
6
1
|
---
|
|
2
|
+
description: Construct swift patterns rule. Applies to files matching **/*.swift, **/Package.swift. Use when writing or reviewing swift code that involves patterns.
|
|
7
3
|
paths:
|
|
8
4
|
- "**/*.swift"
|
|
9
5
|
- "**/Package.swift"
|
package/rules/swift/security.md
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
rules/swift/security.md: <one-line purpose>
|
|
3
|
-
|
|
4
|
-
<2–6 line summary.>
|
|
5
|
-
-->
|
|
6
1
|
---
|
|
2
|
+
description: Construct swift security rule. Applies to files matching **/*.swift, **/Package.swift. Use when writing or reviewing swift code that involves security.
|
|
7
3
|
paths:
|
|
8
4
|
- "**/*.swift"
|
|
9
5
|
- "**/Package.swift"
|
package/rules/swift/testing.md
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
rules/swift/testing.md: <one-line purpose>
|
|
3
|
-
|
|
4
|
-
<2–6 line summary.>
|
|
5
|
-
-->
|
|
6
1
|
---
|
|
2
|
+
description: Construct swift testing rule. Applies to files matching **/*.swift, **/Package.swift. Use when writing or reviewing swift code that involves testing.
|
|
7
3
|
paths:
|
|
8
4
|
- "**/*.swift"
|
|
9
5
|
- "**/Package.swift"
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
rules/typescript/coding-style.md: <one-line purpose>
|
|
3
|
-
|
|
4
|
-
<2–6 line summary.>
|
|
5
|
-
-->
|
|
6
1
|
---
|
|
2
|
+
description: Construct typescript coding style rule. Applies to files matching **/*.ts, **/*.tsx, **/*.js, **/*.jsx. Use when writing or reviewing typescript code that involves coding style.
|
|
7
3
|
paths:
|
|
8
4
|
- "**/*.ts"
|
|
9
5
|
- "**/*.tsx"
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
rules/typescript/hooks.md: <one-line purpose>
|
|
3
|
-
|
|
4
|
-
<2–6 line summary.>
|
|
5
|
-
-->
|
|
6
1
|
---
|
|
2
|
+
description: Construct typescript hooks rule. Applies to files matching **/*.ts, **/*.tsx, **/*.js, **/*.jsx. Use when writing or reviewing typescript code that involves hooks.
|
|
7
3
|
paths:
|
|
8
4
|
- "**/*.ts"
|
|
9
5
|
- "**/*.tsx"
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
rules/typescript/patterns.md: <one-line purpose>
|
|
3
|
-
|
|
4
|
-
<2–6 line summary.>
|
|
5
|
-
-->
|
|
6
1
|
---
|
|
2
|
+
description: Construct typescript patterns rule. Applies to files matching **/*.ts, **/*.tsx, **/*.js, **/*.jsx. Use when writing or reviewing typescript code that involves patterns.
|
|
7
3
|
paths:
|
|
8
4
|
- "**/*.ts"
|
|
9
5
|
- "**/*.tsx"
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
rules/typescript/security.md: <one-line purpose>
|
|
3
|
-
|
|
4
|
-
<2–6 line summary.>
|
|
5
|
-
-->
|
|
6
1
|
---
|
|
2
|
+
description: Construct typescript security rule. Applies to files matching **/*.ts, **/*.tsx, **/*.js, **/*.jsx. Use when writing or reviewing typescript code that involves security.
|
|
7
3
|
paths:
|
|
8
4
|
- "**/*.ts"
|
|
9
5
|
- "**/*.tsx"
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
rules/typescript/testing.md: <one-line purpose>
|
|
3
|
-
|
|
4
|
-
<2–6 line summary.>
|
|
5
|
-
-->
|
|
6
1
|
---
|
|
2
|
+
description: Construct typescript testing rule. Applies to files matching **/*.ts, **/*.tsx, **/*.js, **/*.jsx. Use when writing or reviewing typescript code that involves testing.
|
|
7
3
|
paths:
|
|
8
4
|
- "**/*.ts"
|
|
9
5
|
- "**/*.tsx"
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
<2–6 line summary.>
|
|
5
|
-
-->
|
|
1
|
+
---
|
|
2
|
+
description: Construct web coding style rule. Use when writing or reviewing web code that involves coding style.
|
|
3
|
+
---
|
|
6
4
|
> This file extends [common/coding-style.md](../common/coding-style.md) with web-specific frontend content.
|
|
7
5
|
|
|
8
6
|
# Web Coding Style
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
<2–6 line summary.>
|
|
5
|
-
-->
|
|
1
|
+
---
|
|
2
|
+
description: Construct web design quality rule. Use when writing or reviewing web code that involves design quality.
|
|
3
|
+
---
|
|
6
4
|
> This file extends [common/patterns.md](../common/patterns.md) with web-specific design-quality guidance.
|
|
7
5
|
|
|
8
6
|
# Web Design Quality Standards
|
package/rules/web/hooks.md
CHANGED
package/rules/web/patterns.md
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
<2–6 line summary.>
|
|
5
|
-
-->
|
|
1
|
+
---
|
|
2
|
+
description: Construct web patterns rule. Use when writing or reviewing web code that involves patterns.
|
|
3
|
+
---
|
|
6
4
|
> This file extends [common/patterns.md](../common/patterns.md) with web-specific patterns.
|
|
7
5
|
|
|
8
6
|
# Web Patterns
|
package/rules/web/performance.md
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
<2–6 line summary.>
|
|
5
|
-
-->
|
|
1
|
+
---
|
|
2
|
+
description: Construct web performance rule. Use when writing or reviewing web code that involves performance.
|
|
3
|
+
---
|
|
6
4
|
> This file extends [common/performance.md](../common/performance.md) with web-specific performance content.
|
|
7
5
|
|
|
8
6
|
# Web Performance Rules
|
package/rules/web/security.md
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
<2–6 line summary.>
|
|
5
|
-
-->
|
|
1
|
+
---
|
|
2
|
+
description: Construct web security rule. Use when writing or reviewing web code that involves security.
|
|
3
|
+
---
|
|
6
4
|
> This file extends [common/security.md](../common/security.md) with web-specific security content.
|
|
7
5
|
|
|
8
6
|
# Web Security Rules
|
package/rules/web/testing.md
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
<2–6 line summary.>
|
|
5
|
-
-->
|
|
1
|
+
---
|
|
2
|
+
description: Construct web testing rule. Use when writing or reviewing web code that involves testing.
|
|
3
|
+
---
|
|
6
4
|
> This file extends [common/testing.md](../common/testing.md) with web-specific testing content.
|
|
7
5
|
|
|
8
6
|
# Web Testing Rules
|
package/skills/ai/agent-dev.md
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
-->
|
|
1
|
+
---
|
|
2
|
+
name: ai-agent-dev
|
|
3
|
+
description: Use this skill when building AI agents, tool-use systems, or multi-agent workflows.
|
|
4
|
+
---
|
|
6
5
|
# AI Agent Development
|
|
7
6
|
|
|
8
7
|
Use this skill when building AI agents, tool-use systems, or multi-agent workflows.
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
-->
|
|
1
|
+
---
|
|
2
|
+
name: ai-llm-security
|
|
3
|
+
description: Use this skill when securing LLM-powered applications against prompt injection, data leakage, and misuse.
|
|
4
|
+
---
|
|
6
5
|
# LLM Security
|
|
7
6
|
|
|
8
7
|
Use this skill when securing LLM-powered applications against prompt injection, data leakage, and misuse.
|
package/skills/ai/ml-ops.md
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
-->
|
|
1
|
+
---
|
|
2
|
+
name: ai-ml-ops
|
|
3
|
+
description: Patterns, anti-patterns, and reference guidance for ML Operations (MLOps). Use when the task involves ml operations (mlops).
|
|
4
|
+
---
|
|
6
5
|
# ML Operations (MLOps)
|
|
7
6
|
|
|
8
7
|
## The MLOps Lifecycle
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
-->
|
|
1
|
+
---
|
|
2
|
+
name: ai-orchestration-workflow
|
|
3
|
+
description: Use this skill when the request involves agent orchestration, phase transitions, task keys, handoff quality, workflow state, or project alignment.
|
|
4
|
+
---
|
|
6
5
|
# Construct Orchestration Workflow
|
|
7
6
|
|
|
8
7
|
Use this skill when the request involves agent orchestration, phase transitions, task keys, handoff quality, workflow state, or project alignment.
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
-->
|
|
1
|
+
---
|
|
2
|
+
name: ai-prompt-and-eval
|
|
3
|
+
description: Use this skill when designing prompts, evaluating model performance, or optimizing LLM behavior.
|
|
4
|
+
---
|
|
6
5
|
# Prompt Engineering and Evaluation
|
|
7
6
|
|
|
8
7
|
Use this skill when designing prompts, evaluating model performance, or optimizing LLM behavior.
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
and the agent registry + construct sync as the deployment layer.
|
|
6
|
-
-->
|
|
1
|
+
---
|
|
2
|
+
name: ai-prompt-optimizer
|
|
3
|
+
description: Closed-loop prompt auto-optimization guide. Use when the task matches the trigger conditions described in the body.
|
|
4
|
+
---
|
|
7
5
|
# Prompt Auto-Optimization Loop
|
|
8
6
|
|
|
9
7
|
Construct's prompt improvement system uses telemetry traces and quality scores as the feedback signal, Claude as the optimizer, and the agent registry (`specialists/registry.json`) as the deployment layer. This is a closed loop: production data → failure analysis → improved prompt → staging → promotion.
|
package/skills/ai/rag-system.md
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
-->
|
|
1
|
+
---
|
|
2
|
+
name: ai-rag-system
|
|
3
|
+
description: Use this skill when building retrieval-augmented generation pipelines, vector search, or knowledge-grounded AI systems.
|
|
4
|
+
---
|
|
6
5
|
# RAG System Design
|
|
7
6
|
|
|
8
7
|
Use this skill when building retrieval-augmented generation pipelines, vector search, or knowledge-grounded AI systems.
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
-->
|
|
1
|
+
---
|
|
2
|
+
name: architecture-api-design
|
|
3
|
+
description: Use this skill when designing REST, GraphQL, or gRPC APIs.
|
|
4
|
+
---
|
|
6
5
|
# API Design
|
|
7
6
|
|
|
8
7
|
Use this skill when designing REST, GraphQL, or gRPC APIs.
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
-->
|
|
1
|
+
---
|
|
2
|
+
name: architecture-caching
|
|
3
|
+
description: Use this skill when designing caching strategies for applications, APIs, or infrastructure.
|
|
4
|
+
---
|
|
6
5
|
# Caching
|
|
7
6
|
|
|
8
7
|
Use this skill when designing caching strategies for applications, APIs, or infrastructure.
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
-->
|
|
1
|
+
---
|
|
2
|
+
name: architecture-cloud-native
|
|
3
|
+
description: Use this skill when designing containerized, orchestrated, or microservice-based systems.
|
|
4
|
+
---
|
|
6
5
|
# Cloud-Native Architecture
|
|
7
6
|
|
|
8
7
|
Use this skill when designing containerized, orchestrated, or microservice-based systems.
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
-->
|
|
1
|
+
---
|
|
2
|
+
name: architecture-message-queue
|
|
3
|
+
description: Use this skill when designing asynchronous communication, event-driven systems, or message-based integrations.
|
|
4
|
+
---
|
|
6
5
|
# Message Queues and Event-Driven Architecture
|
|
7
6
|
|
|
8
7
|
Use this skill when designing asynchronous communication, event-driven systems, or message-based integrations.
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
-->
|
|
1
|
+
---
|
|
2
|
+
name: architecture-security-arch
|
|
3
|
+
description: Use this skill when designing authentication, authorization, network security, or zero-trust architectures.
|
|
4
|
+
---
|
|
6
5
|
# Security Architecture
|
|
7
6
|
|
|
8
7
|
Use this skill when designing authentication, authorization, network security, or zero-trust architectures.
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
-->
|
|
1
|
+
---
|
|
2
|
+
name: compliance-ai-disclosure
|
|
3
|
+
description: Use this skill when reviewing AI features for disclosure requirements, transparency obligations, or emerging AI regulation compliance.
|
|
4
|
+
---
|
|
6
5
|
# AI Disclosure
|
|
7
6
|
|
|
8
7
|
Use this skill when reviewing AI features for disclosure requirements, transparency obligations, or emerging AI regulation compliance.
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
-->
|
|
1
|
+
---
|
|
2
|
+
name: compliance-data-privacy
|
|
3
|
+
description: Use this skill when reviewing data collection, storage, processing, or retention for privacy regulation compliance.
|
|
4
|
+
---
|
|
6
5
|
# Data Privacy
|
|
7
6
|
|
|
8
7
|
Use this skill when reviewing data collection, storage, processing, or retention for privacy regulation compliance.
|