@winspan/claude-forge 8.54.4 → 9.12.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/DEVELOPMENT.md +723 -46
- package/README.md +166 -21
- package/dist/catalogs/agents.json +67 -0
- package/dist/catalogs/skills.json +306 -0
- package/dist/claudemd/claudemd-generator.d.ts +45 -45
- package/dist/claudemd/claudemd-generator.d.ts.map +1 -1
- package/dist/claudemd/claudemd-generator.js +128 -449
- package/dist/claudemd/claudemd-generator.js.map +1 -1
- package/dist/claudemd/index.d.ts +14 -4
- package/dist/claudemd/index.d.ts.map +1 -1
- package/dist/claudemd/index.js +15 -4
- package/dist/claudemd/index.js.map +1 -1
- package/dist/claudemd/resume-manager.d.ts.map +1 -1
- package/dist/claudemd/resume-manager.js +37 -9
- package/dist/claudemd/resume-manager.js.map +1 -1
- package/dist/claudemd/templates/swarm-protocol.md +35 -186
- package/dist/claudemd/violations-manager.d.ts +40 -0
- package/dist/claudemd/violations-manager.d.ts.map +1 -0
- package/dist/claudemd/violations-manager.js +106 -0
- package/dist/claudemd/violations-manager.js.map +1 -0
- package/dist/cli/commands/admin.d.ts +15 -0
- package/dist/cli/commands/admin.d.ts.map +1 -0
- package/dist/cli/commands/admin.js +177 -0
- package/dist/cli/commands/admin.js.map +1 -0
- package/dist/cli/commands/agent.d.ts +169 -0
- package/dist/cli/commands/agent.d.ts.map +1 -0
- package/dist/cli/commands/agent.js +690 -0
- package/dist/cli/commands/agent.js.map +1 -0
- package/dist/cli/commands/agents.d.ts +18 -0
- package/dist/cli/commands/agents.d.ts.map +1 -0
- package/dist/cli/commands/agents.js +160 -0
- package/dist/cli/commands/agents.js.map +1 -0
- package/dist/cli/commands/bypass.d.ts +18 -0
- package/dist/cli/commands/bypass.d.ts.map +1 -0
- package/dist/cli/commands/bypass.js +87 -0
- package/dist/cli/commands/bypass.js.map +1 -0
- package/dist/cli/commands/claudemd.d.ts +60 -0
- package/dist/cli/commands/claudemd.d.ts.map +1 -1
- package/dist/cli/commands/claudemd.js +174 -37
- package/dist/cli/commands/claudemd.js.map +1 -1
- package/dist/cli/commands/codegraph.d.ts +17 -0
- package/dist/cli/commands/codegraph.d.ts.map +1 -0
- package/dist/cli/commands/codegraph.js +263 -0
- package/dist/cli/commands/codegraph.js.map +1 -0
- package/dist/cli/commands/config.d.ts.map +1 -1
- package/dist/cli/commands/config.js +94 -1
- package/dist/cli/commands/config.js.map +1 -1
- package/dist/cli/commands/daemon.d.ts +39 -0
- package/dist/cli/commands/daemon.d.ts.map +1 -1
- package/dist/cli/commands/daemon.js +167 -20
- package/dist/cli/commands/daemon.js.map +1 -1
- package/dist/cli/commands/decisions.d.ts +129 -0
- package/dist/cli/commands/decisions.d.ts.map +1 -0
- package/dist/cli/commands/decisions.js +706 -0
- package/dist/cli/commands/decisions.js.map +1 -0
- package/dist/cli/commands/doctor.d.ts +29 -0
- package/dist/cli/commands/doctor.d.ts.map +1 -0
- package/dist/cli/commands/doctor.js +124 -0
- package/dist/cli/commands/doctor.js.map +1 -0
- package/dist/cli/commands/entropy.d.ts +35 -0
- package/dist/cli/commands/entropy.d.ts.map +1 -0
- package/dist/cli/commands/entropy.js +121 -0
- package/dist/cli/commands/entropy.js.map +1 -0
- package/dist/cli/commands/executions.d.ts +1 -0
- package/dist/cli/commands/executions.d.ts.map +1 -1
- package/dist/cli/commands/executions.js +12 -2
- package/dist/cli/commands/executions.js.map +1 -1
- package/dist/cli/commands/fix.d.ts +31 -0
- package/dist/cli/commands/fix.d.ts.map +1 -0
- package/dist/cli/commands/fix.js +108 -0
- package/dist/cli/commands/fix.js.map +1 -0
- package/dist/cli/commands/governance.d.ts +21 -0
- package/dist/cli/commands/governance.d.ts.map +1 -0
- package/dist/cli/commands/governance.js +60 -0
- package/dist/cli/commands/governance.js.map +1 -0
- package/dist/cli/commands/init.d.ts +27 -0
- package/dist/cli/commands/init.d.ts.map +1 -1
- package/dist/cli/commands/init.js +158 -146
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/insights-goal-check.d.ts +54 -0
- package/dist/cli/commands/insights-goal-check.d.ts.map +1 -0
- package/dist/cli/commands/insights-goal-check.js +318 -0
- package/dist/cli/commands/insights-goal-check.js.map +1 -0
- package/dist/cli/commands/insights.d.ts +15 -0
- package/dist/cli/commands/insights.d.ts.map +1 -0
- package/dist/cli/commands/insights.js +127 -0
- package/dist/cli/commands/insights.js.map +1 -0
- package/dist/cli/commands/knowledge.d.ts +117 -0
- package/dist/cli/commands/knowledge.d.ts.map +1 -0
- package/dist/cli/commands/knowledge.js +1070 -0
- package/dist/cli/commands/knowledge.js.map +1 -0
- package/dist/cli/commands/loop.d.ts +95 -0
- package/dist/cli/commands/loop.d.ts.map +1 -0
- package/dist/cli/commands/loop.js +408 -0
- package/dist/cli/commands/loop.js.map +1 -0
- package/dist/cli/commands/maintenance.d.ts +33 -0
- package/dist/cli/commands/maintenance.d.ts.map +1 -0
- package/dist/cli/commands/maintenance.js +75 -0
- package/dist/cli/commands/maintenance.js.map +1 -0
- package/dist/cli/commands/mcp.d.ts +22 -11
- package/dist/cli/commands/mcp.d.ts.map +1 -1
- package/dist/cli/commands/mcp.js +93 -5
- package/dist/cli/commands/mcp.js.map +1 -1
- package/dist/cli/commands/menu.d.ts.map +1 -1
- package/dist/cli/commands/menu.js +10 -184
- package/dist/cli/commands/menu.js.map +1 -1
- package/dist/cli/commands/project.d.ts +98 -0
- package/dist/cli/commands/project.d.ts.map +1 -0
- package/dist/cli/commands/project.js +382 -0
- package/dist/cli/commands/project.js.map +1 -0
- package/dist/cli/commands/skills.d.ts +131 -0
- package/dist/cli/commands/skills.d.ts.map +1 -1
- package/dist/cli/commands/skills.js +404 -118
- package/dist/cli/commands/skills.js.map +1 -1
- package/dist/cli/commands/spec.d.ts +40 -0
- package/dist/cli/commands/spec.d.ts.map +1 -0
- package/dist/cli/commands/spec.js +49 -0
- package/dist/cli/commands/spec.js.map +1 -0
- package/dist/cli/commands/stats.d.ts.map +1 -1
- package/dist/cli/commands/stats.js +11 -3
- package/dist/cli/commands/stats.js.map +1 -1
- package/dist/cli/commands/status.d.ts.map +1 -1
- package/dist/cli/commands/status.js +17 -2
- package/dist/cli/commands/status.js.map +1 -1
- package/dist/cli/commands/trace.d.ts.map +1 -1
- package/dist/cli/commands/trace.js +4 -9
- package/dist/cli/commands/trace.js.map +1 -1
- package/dist/cli/commands/violations.d.ts +14 -0
- package/dist/cli/commands/violations.d.ts.map +1 -0
- package/dist/cli/commands/violations.js +43 -0
- package/dist/cli/commands/violations.js.map +1 -0
- package/dist/cli/index.js +34 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/init/hook-manager.d.ts +1 -1
- package/dist/cli/init/hook-manager.d.ts.map +1 -1
- package/dist/cli/init/hook-manager.js +6 -0
- package/dist/cli/init/hook-manager.js.map +1 -1
- package/dist/cli/utils/resolve-session.d.ts +32 -0
- package/dist/cli/utils/resolve-session.d.ts.map +1 -0
- package/dist/cli/utils/resolve-session.js +39 -0
- package/dist/cli/utils/resolve-session.js.map +1 -0
- package/dist/core/config.d.ts +4 -1
- package/dist/core/config.d.ts.map +1 -1
- package/dist/core/config.js +11 -23
- package/dist/core/config.js.map +1 -1
- package/dist/core/constants.d.ts +51 -13
- package/dist/core/constants.d.ts.map +1 -1
- package/dist/core/constants.js +63 -13
- package/dist/core/constants.js.map +1 -1
- package/dist/core/diagnostics/checks.d.ts +151 -0
- package/dist/core/diagnostics/checks.d.ts.map +1 -0
- package/dist/core/diagnostics/checks.js +766 -0
- package/dist/core/diagnostics/checks.js.map +1 -0
- package/dist/core/diagnostics/daemon-status.d.ts +77 -0
- package/dist/core/diagnostics/daemon-status.d.ts.map +1 -0
- package/dist/core/diagnostics/daemon-status.js +113 -0
- package/dist/core/diagnostics/daemon-status.js.map +1 -0
- package/dist/core/diagnostics/entropy-checks.d.ts +83 -0
- package/dist/core/diagnostics/entropy-checks.d.ts.map +1 -0
- package/dist/core/diagnostics/entropy-checks.js +400 -0
- package/dist/core/diagnostics/entropy-checks.js.map +1 -0
- package/dist/core/diagnostics/fix-runner.d.ts +54 -0
- package/dist/core/diagnostics/fix-runner.d.ts.map +1 -0
- package/dist/core/diagnostics/fix-runner.js +90 -0
- package/dist/core/diagnostics/fix-runner.js.map +1 -0
- package/dist/core/diagnostics/heartbeat-reader.d.ts +28 -0
- package/dist/core/diagnostics/heartbeat-reader.d.ts.map +1 -0
- package/dist/core/diagnostics/heartbeat-reader.js +50 -0
- package/dist/core/diagnostics/heartbeat-reader.js.map +1 -0
- package/dist/core/diagnostics/knip-runner.d.ts +49 -0
- package/dist/core/diagnostics/knip-runner.d.ts.map +1 -0
- package/dist/core/diagnostics/knip-runner.js +100 -0
- package/dist/core/diagnostics/knip-runner.js.map +1 -0
- package/dist/core/diagnostics/markers.d.ts +96 -0
- package/dist/core/diagnostics/markers.d.ts.map +1 -0
- package/dist/core/diagnostics/markers.js +153 -0
- package/dist/core/diagnostics/markers.js.map +1 -0
- package/dist/core/event-fields.d.ts +27 -0
- package/dist/core/event-fields.d.ts.map +1 -1
- package/dist/core/event-fields.js +43 -0
- package/dist/core/event-fields.js.map +1 -1
- package/dist/core/governance/global-inject.d.ts +90 -0
- package/dist/core/governance/global-inject.d.ts.map +1 -0
- package/dist/core/governance/global-inject.js +184 -0
- package/dist/core/governance/global-inject.js.map +1 -0
- package/dist/core/insights/agent-anchor-guard.d.ts +77 -0
- package/dist/core/insights/agent-anchor-guard.d.ts.map +1 -0
- package/dist/core/insights/agent-anchor-guard.js +119 -0
- package/dist/core/insights/agent-anchor-guard.js.map +1 -0
- package/dist/core/insights/agent-distill-context.d.ts +55 -0
- package/dist/core/insights/agent-distill-context.d.ts.map +1 -0
- package/dist/core/insights/agent-distill-context.js +146 -0
- package/dist/core/insights/agent-distill-context.js.map +1 -0
- package/dist/core/insights/agent-distill-spawn.d.ts +56 -0
- package/dist/core/insights/agent-distill-spawn.d.ts.map +1 -0
- package/dist/core/insights/agent-distill-spawn.js +179 -0
- package/dist/core/insights/agent-distill-spawn.js.map +1 -0
- package/dist/core/insights/agent-drift.d.ts +66 -0
- package/dist/core/insights/agent-drift.d.ts.map +1 -0
- package/dist/core/insights/agent-drift.js +109 -0
- package/dist/core/insights/agent-drift.js.map +1 -0
- package/dist/core/insights/agent-evolution-sources.d.ts +21 -0
- package/dist/core/insights/agent-evolution-sources.d.ts.map +1 -0
- package/dist/core/insights/agent-evolution-sources.js +36 -0
- package/dist/core/insights/agent-evolution-sources.js.map +1 -0
- package/dist/core/insights/agent-health.d.ts +142 -0
- package/dist/core/insights/agent-health.d.ts.map +1 -0
- package/dist/core/insights/agent-health.js +296 -0
- package/dist/core/insights/agent-health.js.map +1 -0
- package/dist/core/insights/agent-patch-apply.d.ts +45 -0
- package/dist/core/insights/agent-patch-apply.d.ts.map +1 -0
- package/dist/core/insights/agent-patch-apply.js +165 -0
- package/dist/core/insights/agent-patch-apply.js.map +1 -0
- package/dist/core/insights/agent-suggest.d.ts +128 -0
- package/dist/core/insights/agent-suggest.d.ts.map +1 -0
- package/dist/core/insights/agent-suggest.js +284 -0
- package/dist/core/insights/agent-suggest.js.map +1 -0
- package/dist/core/insights/coverage-tiers.d.ts +46 -0
- package/dist/core/insights/coverage-tiers.d.ts.map +1 -0
- package/dist/core/insights/coverage-tiers.js +95 -0
- package/dist/core/insights/coverage-tiers.js.map +1 -0
- package/dist/core/insights/experience-extractor.d.ts +60 -0
- package/dist/core/insights/experience-extractor.d.ts.map +1 -0
- package/dist/core/insights/experience-extractor.js +319 -0
- package/dist/core/insights/experience-extractor.js.map +1 -0
- package/dist/core/insights/violation-reporter.d.ts +149 -0
- package/dist/core/insights/violation-reporter.d.ts.map +1 -0
- package/dist/core/insights/violation-reporter.js +391 -0
- package/dist/core/insights/violation-reporter.js.map +1 -0
- package/dist/core/loop/loop-engine.d.ts +140 -0
- package/dist/core/loop/loop-engine.d.ts.map +1 -0
- package/dist/core/loop/loop-engine.js +266 -0
- package/dist/core/loop/loop-engine.js.map +1 -0
- package/dist/core/queue/index.d.ts +16 -3
- package/dist/core/queue/index.d.ts.map +1 -1
- package/dist/core/queue/index.js +16 -4
- package/dist/core/queue/index.js.map +1 -1
- package/dist/core/storage/base.d.ts +317 -0
- package/dist/core/storage/base.d.ts.map +1 -1
- package/dist/core/storage/base.js +1093 -0
- package/dist/core/storage/base.js.map +1 -1
- package/dist/core/storage/codec/tool-input-codec.d.ts +93 -0
- package/dist/core/storage/codec/tool-input-codec.d.ts.map +1 -0
- package/dist/core/storage/codec/tool-input-codec.js +159 -0
- package/dist/core/storage/codec/tool-input-codec.js.map +1 -0
- package/dist/core/storage/codegraph-types.d.ts +79 -0
- package/dist/core/storage/codegraph-types.d.ts.map +1 -0
- package/dist/core/storage/codegraph-types.js +14 -0
- package/dist/core/storage/codegraph-types.js.map +1 -0
- package/dist/core/storage/codegraph.d.ts +186 -0
- package/dist/core/storage/codegraph.d.ts.map +1 -0
- package/dist/core/storage/codegraph.js +452 -0
- package/dist/core/storage/codegraph.js.map +1 -0
- package/dist/core/storage/decisions.d.ts +387 -0
- package/dist/core/storage/decisions.d.ts.map +1 -0
- package/dist/core/storage/decisions.js +534 -0
- package/dist/core/storage/decisions.js.map +1 -0
- package/dist/core/storage/events.d.ts +239 -8
- package/dist/core/storage/events.d.ts.map +1 -1
- package/dist/core/storage/events.js +705 -39
- package/dist/core/storage/events.js.map +1 -1
- package/dist/core/storage/feedback.d.ts +111 -0
- package/dist/core/storage/feedback.d.ts.map +1 -0
- package/dist/core/storage/feedback.js +186 -0
- package/dist/core/storage/feedback.js.map +1 -0
- package/dist/core/storage/forge-config.d.ts +40 -0
- package/dist/core/storage/forge-config.d.ts.map +1 -0
- package/dist/core/storage/forge-config.js +65 -0
- package/dist/core/storage/forge-config.js.map +1 -0
- package/dist/core/storage/injections.d.ts +68 -0
- package/dist/core/storage/injections.d.ts.map +1 -1
- package/dist/core/storage/injections.js +131 -5
- package/dist/core/storage/injections.js.map +1 -1
- package/dist/core/storage/knowledge.d.ts +332 -0
- package/dist/core/storage/knowledge.d.ts.map +1 -0
- package/dist/core/storage/knowledge.js +589 -0
- package/dist/core/storage/knowledge.js.map +1 -0
- package/dist/core/storage/maintenance.d.ts +36 -9
- package/dist/core/storage/maintenance.d.ts.map +1 -1
- package/dist/core/storage/maintenance.js +56 -24
- package/dist/core/storage/maintenance.js.map +1 -1
- package/dist/core/storage/pipeline-rollup.d.ts +111 -0
- package/dist/core/storage/pipeline-rollup.d.ts.map +1 -0
- package/dist/core/storage/pipeline-rollup.js +432 -0
- package/dist/core/storage/pipeline-rollup.js.map +1 -0
- package/dist/core/storage/routing.d.ts +50 -3
- package/dist/core/storage/routing.d.ts.map +1 -1
- package/dist/core/storage/routing.js +131 -10
- package/dist/core/storage/routing.js.map +1 -1
- package/dist/core/storage/rows.d.ts +31 -8
- package/dist/core/storage/rows.d.ts.map +1 -1
- package/dist/core/storage/schema.sql +367 -23
- package/dist/core/storage/sessions.d.ts +136 -0
- package/dist/core/storage/sessions.d.ts.map +1 -1
- package/dist/core/storage/sessions.js +352 -15
- package/dist/core/storage/sessions.js.map +1 -1
- package/dist/core/storage/skills.d.ts +160 -0
- package/dist/core/storage/skills.d.ts.map +1 -1
- package/dist/core/storage/skills.js +368 -7
- package/dist/core/storage/skills.js.map +1 -1
- package/dist/core/storage/sqlite.d.ts +309 -20
- package/dist/core/storage/sqlite.d.ts.map +1 -1
- package/dist/core/storage/sqlite.js +523 -16
- package/dist/core/storage/sqlite.js.map +1 -1
- package/dist/core/storage/tasks.d.ts +744 -2
- package/dist/core/storage/tasks.d.ts.map +1 -1
- package/dist/core/storage/tasks.js +1691 -17
- package/dist/core/storage/tasks.js.map +1 -1
- package/dist/core/storage/tool-intercepts.d.ts +69 -0
- package/dist/core/storage/tool-intercepts.d.ts.map +1 -0
- package/dist/core/storage/tool-intercepts.js +116 -0
- package/dist/core/storage/tool-intercepts.js.map +1 -0
- package/dist/core/types.d.ts +136 -18
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/types.js +10 -0
- package/dist/core/types.js.map +1 -1
- package/dist/core/utils/backup.d.ts +81 -0
- package/dist/core/utils/backup.d.ts.map +1 -0
- package/dist/core/utils/backup.js +98 -0
- package/dist/core/utils/backup.js.map +1 -0
- package/dist/core/utils/binary-paths.d.ts +124 -0
- package/dist/core/utils/binary-paths.d.ts.map +1 -0
- package/dist/core/utils/binary-paths.js +218 -0
- package/dist/core/utils/binary-paths.js.map +1 -0
- package/dist/core/utils/bypass-token.d.ts +75 -0
- package/dist/core/utils/bypass-token.d.ts.map +1 -0
- package/dist/core/utils/bypass-token.js +133 -0
- package/dist/core/utils/bypass-token.js.map +1 -0
- package/dist/core/utils/cc-builtin-agents.d.ts +3 -0
- package/dist/core/utils/cc-builtin-agents.d.ts.map +1 -0
- package/dist/core/utils/cc-builtin-agents.js +29 -0
- package/dist/core/utils/cc-builtin-agents.js.map +1 -0
- package/dist/core/utils/claude-cli-resolver.d.ts +26 -0
- package/dist/core/utils/claude-cli-resolver.d.ts.map +1 -0
- package/dist/core/utils/claude-cli-resolver.js +115 -0
- package/dist/core/utils/claude-cli-resolver.js.map +1 -0
- package/dist/core/utils/claude-cli-spawn.d.ts +106 -0
- package/dist/core/utils/claude-cli-spawn.d.ts.map +1 -0
- package/dist/core/utils/claude-cli-spawn.js +219 -0
- package/dist/core/utils/claude-cli-spawn.js.map +1 -0
- package/dist/core/utils/forge-resume-block.d.ts.map +1 -1
- package/dist/core/utils/forge-resume-block.js +3 -2
- package/dist/core/utils/forge-resume-block.js.map +1 -1
- package/dist/core/utils/logger.d.ts +15 -3
- package/dist/core/utils/logger.d.ts.map +1 -1
- package/dist/core/utils/logger.js +20 -2
- package/dist/core/utils/logger.js.map +1 -1
- package/dist/core/utils/noise-prompt.d.ts +97 -0
- package/dist/core/utils/noise-prompt.d.ts.map +1 -0
- package/dist/core/utils/noise-prompt.js +127 -0
- package/dist/core/utils/noise-prompt.js.map +1 -0
- package/dist/core/utils/path.d.ts +0 -4
- package/dist/core/utils/path.d.ts.map +1 -1
- package/dist/core/utils/path.js +0 -7
- package/dist/core/utils/path.js.map +1 -1
- package/dist/core/utils/time.d.ts +67 -0
- package/dist/core/utils/time.d.ts.map +1 -1
- package/dist/core/utils/time.js +147 -0
- package/dist/core/utils/time.js.map +1 -1
- package/dist/daemon/agent-sync.d.ts +24 -0
- package/dist/daemon/agent-sync.d.ts.map +1 -0
- package/dist/daemon/agent-sync.js +114 -0
- package/dist/daemon/agent-sync.js.map +1 -0
- package/dist/daemon/config-store.d.ts +55 -0
- package/dist/daemon/config-store.d.ts.map +1 -0
- package/dist/daemon/config-store.js +146 -0
- package/dist/daemon/config-store.js.map +1 -0
- package/dist/daemon/event-parser.d.ts +22 -0
- package/dist/daemon/event-parser.d.ts.map +1 -1
- package/dist/daemon/event-parser.js +54 -3
- package/dist/daemon/event-parser.js.map +1 -1
- package/dist/daemon/handlers/history-exporter.d.ts.map +1 -1
- package/dist/daemon/handlers/history-exporter.js +9 -8
- package/dist/daemon/handlers/history-exporter.js.map +1 -1
- package/dist/daemon/handlers/post-tool-use.d.ts +66 -4
- package/dist/daemon/handlers/post-tool-use.d.ts.map +1 -1
- package/dist/daemon/handlers/post-tool-use.js +221 -8
- package/dist/daemon/handlers/post-tool-use.js.map +1 -1
- package/dist/daemon/handlers/pre-tool-use.d.ts +181 -0
- package/dist/daemon/handlers/pre-tool-use.d.ts.map +1 -0
- package/dist/daemon/handlers/pre-tool-use.js +618 -0
- package/dist/daemon/handlers/pre-tool-use.js.map +1 -0
- package/dist/daemon/handlers/stop.d.ts +55 -7
- package/dist/daemon/handlers/stop.d.ts.map +1 -1
- package/dist/daemon/handlers/stop.js +245 -8
- package/dist/daemon/handlers/stop.js.map +1 -1
- package/dist/daemon/handlers/user-prompt.d.ts +51 -14
- package/dist/daemon/handlers/user-prompt.d.ts.map +1 -1
- package/dist/daemon/handlers/user-prompt.js +223 -95
- package/dist/daemon/handlers/user-prompt.js.map +1 -1
- package/dist/daemon/handlers/violation-content-backfill.d.ts +76 -0
- package/dist/daemon/handlers/violation-content-backfill.d.ts.map +1 -0
- package/dist/daemon/handlers/violation-content-backfill.js +167 -0
- package/dist/daemon/handlers/violation-content-backfill.js.map +1 -0
- package/dist/daemon/hook-sync.d.ts.map +1 -1
- package/dist/daemon/hook-sync.js +2 -1
- package/dist/daemon/hook-sync.js.map +1 -1
- package/dist/daemon/index.d.ts +19 -0
- package/dist/daemon/index.d.ts.map +1 -1
- package/dist/daemon/index.js +439 -86
- package/dist/daemon/index.js.map +1 -1
- package/dist/daemon/lifecycle.d.ts +48 -1
- package/dist/daemon/lifecycle.d.ts.map +1 -1
- package/dist/daemon/lifecycle.js +98 -2
- package/dist/daemon/lifecycle.js.map +1 -1
- package/dist/daemon/router.d.ts +4 -1
- package/dist/daemon/router.d.ts.map +1 -1
- package/dist/daemon/router.js +4 -2
- package/dist/daemon/router.js.map +1 -1
- package/dist/daemon/rules/defaults.d.ts +20 -0
- package/dist/daemon/rules/defaults.d.ts.map +1 -0
- package/dist/daemon/rules/defaults.js +779 -0
- package/dist/daemon/rules/defaults.js.map +1 -0
- package/dist/daemon/rules/registry.d.ts +47 -0
- package/dist/daemon/rules/registry.d.ts.map +1 -0
- package/dist/daemon/rules/registry.js +84 -0
- package/dist/daemon/rules/registry.js.map +1 -0
- package/dist/daemon/rules/types.d.ts +176 -0
- package/dist/daemon/rules/types.d.ts.map +1 -0
- package/dist/daemon/rules/types.js +15 -0
- package/dist/daemon/rules/types.js.map +1 -0
- package/dist/daemon/rules/whitelist.d.ts +101 -0
- package/dist/daemon/rules/whitelist.d.ts.map +1 -0
- package/dist/daemon/rules/whitelist.js +210 -0
- package/dist/daemon/rules/whitelist.js.map +1 -0
- package/dist/daemon/rules/workflow-defaults.d.ts +52 -0
- package/dist/daemon/rules/workflow-defaults.d.ts.map +1 -0
- package/dist/daemon/rules/workflow-defaults.js +521 -0
- package/dist/daemon/rules/workflow-defaults.js.map +1 -0
- package/dist/daemon/server.d.ts +11 -1
- package/dist/daemon/server.d.ts.map +1 -1
- package/dist/daemon/server.js +7 -1
- package/dist/daemon/server.js.map +1 -1
- package/dist/daemon/services/codegraph-sync.d.ts +94 -0
- package/dist/daemon/services/codegraph-sync.d.ts.map +1 -0
- package/dist/daemon/services/codegraph-sync.js +159 -0
- package/dist/daemon/services/codegraph-sync.js.map +1 -0
- package/dist/daemon/services/context-injector.d.ts +34 -0
- package/dist/daemon/services/context-injector.d.ts.map +1 -0
- package/dist/daemon/services/context-injector.js +61 -0
- package/dist/daemon/services/context-injector.js.map +1 -0
- package/dist/daemon/services/decision-hint.d.ts +240 -0
- package/dist/daemon/services/decision-hint.d.ts.map +1 -0
- package/dist/daemon/services/decision-hint.js +562 -0
- package/dist/daemon/services/decision-hint.js.map +1 -0
- package/dist/daemon/services/event-ttl-sweep.d.ts +86 -0
- package/dist/daemon/services/event-ttl-sweep.d.ts.map +1 -0
- package/dist/daemon/services/event-ttl-sweep.js +124 -0
- package/dist/daemon/services/event-ttl-sweep.js.map +1 -0
- package/dist/daemon/services/feedback-aggregator.d.ts +167 -0
- package/dist/daemon/services/feedback-aggregator.d.ts.map +1 -0
- package/dist/daemon/services/feedback-aggregator.js +415 -0
- package/dist/daemon/services/feedback-aggregator.js.map +1 -0
- package/dist/daemon/services/heartbeat-writer.d.ts +46 -0
- package/dist/daemon/services/heartbeat-writer.d.ts.map +1 -0
- package/dist/daemon/services/heartbeat-writer.js +82 -0
- package/dist/daemon/services/heartbeat-writer.js.map +1 -0
- package/dist/daemon/services/idle-session-sweeper.d.ts +61 -0
- package/dist/daemon/services/idle-session-sweeper.d.ts.map +1 -0
- package/dist/daemon/services/idle-session-sweeper.js +94 -0
- package/dist/daemon/services/idle-session-sweeper.js.map +1 -0
- package/dist/daemon/services/idle-task-budget.d.ts +50 -0
- package/dist/daemon/services/idle-task-budget.d.ts.map +1 -0
- package/dist/daemon/services/idle-task-budget.js +72 -0
- package/dist/daemon/services/idle-task-budget.js.map +1 -0
- package/dist/daemon/services/intercept-revive.d.ts +60 -0
- package/dist/daemon/services/intercept-revive.d.ts.map +1 -0
- package/dist/daemon/services/intercept-revive.js +86 -0
- package/dist/daemon/services/intercept-revive.js.map +1 -0
- package/dist/daemon/services/intercept-rollback-guard.d.ts +105 -0
- package/dist/daemon/services/intercept-rollback-guard.d.ts.map +1 -0
- package/dist/daemon/services/intercept-rollback-guard.js +152 -0
- package/dist/daemon/services/intercept-rollback-guard.js.map +1 -0
- package/dist/daemon/services/intercept-timeout-sweeper.d.ts +58 -0
- package/dist/daemon/services/intercept-timeout-sweeper.d.ts.map +1 -0
- package/dist/daemon/services/intercept-timeout-sweeper.js +83 -0
- package/dist/daemon/services/intercept-timeout-sweeper.js.map +1 -0
- package/dist/daemon/services/kb-injector.d.ts +57 -0
- package/dist/daemon/services/kb-injector.d.ts.map +1 -0
- package/dist/daemon/services/kb-injector.js +148 -0
- package/dist/daemon/services/kb-injector.js.map +1 -0
- package/dist/daemon/services/kb-rebuild-scheduler.d.ts +95 -0
- package/dist/daemon/services/kb-rebuild-scheduler.d.ts.map +1 -0
- package/dist/daemon/services/kb-rebuild-scheduler.js +149 -0
- package/dist/daemon/services/kb-rebuild-scheduler.js.map +1 -0
- package/dist/daemon/services/loop-hint.d.ts +139 -0
- package/dist/daemon/services/loop-hint.d.ts.map +1 -0
- package/dist/daemon/services/loop-hint.js +272 -0
- package/dist/daemon/services/loop-hint.js.map +1 -0
- package/dist/daemon/services/outcome-classification-service.d.ts +49 -0
- package/dist/daemon/services/outcome-classification-service.d.ts.map +1 -0
- package/dist/daemon/services/outcome-classification-service.js +214 -0
- package/dist/daemon/services/outcome-classification-service.js.map +1 -0
- package/dist/daemon/services/outcome-classifier.d.ts +136 -0
- package/dist/daemon/services/outcome-classifier.d.ts.map +1 -0
- package/dist/daemon/services/outcome-classifier.js +178 -0
- package/dist/daemon/services/outcome-classifier.js.map +1 -0
- package/dist/daemon/services/outcome-nudge.d.ts +107 -0
- package/dist/daemon/services/outcome-nudge.d.ts.map +1 -0
- package/dist/daemon/services/outcome-nudge.js +242 -0
- package/dist/daemon/services/outcome-nudge.js.map +1 -0
- package/dist/daemon/services/spec-approval.d.ts +127 -0
- package/dist/daemon/services/spec-approval.d.ts.map +1 -0
- package/dist/daemon/services/spec-approval.js +216 -0
- package/dist/daemon/services/spec-approval.js.map +1 -0
- package/dist/daemon/services/spec-gate.d.ts +54 -0
- package/dist/daemon/services/spec-gate.d.ts.map +1 -0
- package/dist/daemon/services/spec-gate.js +113 -0
- package/dist/daemon/services/spec-gate.js.map +1 -0
- package/dist/daemon/services/task-boundary-classifier.d.ts +78 -0
- package/dist/daemon/services/task-boundary-classifier.d.ts.map +1 -0
- package/dist/daemon/services/task-boundary-classifier.js +202 -0
- package/dist/daemon/services/task-boundary-classifier.js.map +1 -0
- package/dist/daemon/services/task-segmenter.d.ts +230 -1
- package/dist/daemon/services/task-segmenter.d.ts.map +1 -1
- package/dist/daemon/services/task-segmenter.js +527 -17
- package/dist/daemon/services/task-segmenter.js.map +1 -1
- package/dist/daemon/skill-sync.d.ts +7 -2
- package/dist/daemon/skill-sync.d.ts.map +1 -1
- package/dist/daemon/skill-sync.js +114 -9
- package/dist/daemon/skill-sync.js.map +1 -1
- package/dist/daemon/startup/maintenance-schedulers.d.ts +68 -0
- package/dist/daemon/startup/maintenance-schedulers.d.ts.map +1 -0
- package/dist/daemon/startup/maintenance-schedulers.js +294 -0
- package/dist/daemon/startup/maintenance-schedulers.js.map +1 -0
- package/dist/daemon/templates/agents/agent-retro-distiller.md +106 -0
- package/dist/daemon/templates/agents/claudemd-writer.md +102 -0
- package/dist/daemon/templates/agents/coder.md +262 -0
- package/dist/daemon/templates/agents/decision-maker.md +546 -0
- package/dist/daemon/templates/agents/doc-reviewer.md +118 -0
- package/dist/daemon/templates/agents/harness-debug-full.md +196 -0
- package/dist/daemon/templates/agents/knowledge-builder.md +120 -0
- package/dist/daemon/templates/agents/patch-applier.md +145 -0
- package/dist/daemon/templates/agents/planner.md +217 -0
- package/dist/daemon/templates/agents/safety-net-implementer.md +278 -0
- package/dist/daemon/templates/agents/skill-distiller.md +114 -0
- package/dist/daemon/templates/agents/task-boundary-classifier.md +65 -0
- package/dist/daemon/templates/agents/verify-agent.md +259 -0
- package/dist/daemon/utils/inject-block.d.ts +39 -0
- package/dist/daemon/utils/inject-block.d.ts.map +1 -0
- package/dist/daemon/utils/inject-block.js +25 -0
- package/dist/daemon/utils/inject-block.js.map +1 -0
- package/dist/hooks/hook-lib.sh +8 -0
- package/dist/hooks/notification.sh +19 -8
- package/dist/hooks/post-tool-use.sh +41 -23
- package/dist/hooks/pre-tool-use.sh +54 -23
- package/dist/hooks/session-start.sh +68 -0
- package/dist/hooks/stop.sh +31 -11
- package/dist/hooks/user-prompt-submit.sh +37 -21
- package/dist/knowledge/adapters/go-adapter.d.ts +65 -0
- package/dist/knowledge/adapters/go-adapter.d.ts.map +1 -0
- package/dist/knowledge/adapters/go-adapter.js +294 -0
- package/dist/knowledge/adapters/go-adapter.js.map +1 -0
- package/dist/knowledge/adapters/index.d.ts +41 -0
- package/dist/knowledge/adapters/index.d.ts.map +1 -0
- package/dist/knowledge/adapters/index.js +71 -0
- package/dist/knowledge/adapters/index.js.map +1 -0
- package/dist/knowledge/adapters/java-adapter.d.ts +66 -0
- package/dist/knowledge/adapters/java-adapter.d.ts.map +1 -0
- package/dist/knowledge/adapters/java-adapter.js +260 -0
- package/dist/knowledge/adapters/java-adapter.js.map +1 -0
- package/dist/knowledge/adapters/js-vue-adapter.d.ts +56 -0
- package/dist/knowledge/adapters/js-vue-adapter.d.ts.map +1 -0
- package/dist/knowledge/adapters/js-vue-adapter.js +203 -0
- package/dist/knowledge/adapters/js-vue-adapter.js.map +1 -0
- package/dist/knowledge/adapters/kotlin-adapter.d.ts +55 -0
- package/dist/knowledge/adapters/kotlin-adapter.d.ts.map +1 -0
- package/dist/knowledge/adapters/kotlin-adapter.js +209 -0
- package/dist/knowledge/adapters/kotlin-adapter.js.map +1 -0
- package/dist/knowledge/adapters/monorepo-adapter.d.ts +77 -0
- package/dist/knowledge/adapters/monorepo-adapter.d.ts.map +1 -0
- package/dist/knowledge/adapters/monorepo-adapter.js +170 -0
- package/dist/knowledge/adapters/monorepo-adapter.js.map +1 -0
- package/dist/knowledge/adapters/python-adapter.d.ts +89 -0
- package/dist/knowledge/adapters/python-adapter.d.ts.map +1 -0
- package/dist/knowledge/adapters/python-adapter.js +358 -0
- package/dist/knowledge/adapters/python-adapter.js.map +1 -0
- package/dist/knowledge/adapters/rust-adapter.d.ts +73 -0
- package/dist/knowledge/adapters/rust-adapter.d.ts.map +1 -0
- package/dist/knowledge/adapters/rust-adapter.js +329 -0
- package/dist/knowledge/adapters/rust-adapter.js.map +1 -0
- package/dist/knowledge/adapters/types.d.ts +99 -0
- package/dist/knowledge/adapters/types.d.ts.map +1 -0
- package/dist/knowledge/adapters/types.js +17 -0
- package/dist/knowledge/adapters/types.js.map +1 -0
- package/dist/knowledge/adapters/typescript-adapter.d.ts +57 -0
- package/dist/knowledge/adapters/typescript-adapter.d.ts.map +1 -0
- package/dist/knowledge/adapters/typescript-adapter.js +171 -0
- package/dist/knowledge/adapters/typescript-adapter.js.map +1 -0
- package/dist/knowledge/audit-applier.d.ts +70 -0
- package/dist/knowledge/audit-applier.d.ts.map +1 -0
- package/dist/knowledge/audit-applier.js +251 -0
- package/dist/knowledge/audit-applier.js.map +1 -0
- package/dist/knowledge/builder.d.ts +261 -0
- package/dist/knowledge/builder.d.ts.map +1 -0
- package/dist/knowledge/builder.js +966 -0
- package/dist/knowledge/builder.js.map +1 -0
- package/dist/knowledge/cli-provider.d.ts +151 -0
- package/dist/knowledge/cli-provider.d.ts.map +1 -0
- package/dist/knowledge/cli-provider.js +313 -0
- package/dist/knowledge/cli-provider.js.map +1 -0
- package/dist/knowledge/constants.d.ts +78 -0
- package/dist/knowledge/constants.d.ts.map +1 -0
- package/dist/knowledge/constants.js +98 -0
- package/dist/knowledge/constants.js.map +1 -0
- package/dist/knowledge/cross-module.d.ts +139 -0
- package/dist/knowledge/cross-module.d.ts.map +1 -0
- package/dist/knowledge/cross-module.js +370 -0
- package/dist/knowledge/cross-module.js.map +1 -0
- package/dist/knowledge/git-hooks.d.ts +67 -0
- package/dist/knowledge/git-hooks.d.ts.map +1 -0
- package/dist/knowledge/git-hooks.js +258 -0
- package/dist/knowledge/git-hooks.js.map +1 -0
- package/dist/knowledge/graph/edge-extractor.d.ts +45 -0
- package/dist/knowledge/graph/edge-extractor.d.ts.map +1 -0
- package/dist/knowledge/graph/edge-extractor.js +242 -0
- package/dist/knowledge/graph/edge-extractor.js.map +1 -0
- package/dist/knowledge/graph/impact.d.ts +73 -0
- package/dist/knowledge/graph/impact.d.ts.map +1 -0
- package/dist/knowledge/graph/impact.js +94 -0
- package/dist/knowledge/graph/impact.js.map +1 -0
- package/dist/knowledge/graph/types.d.ts +22 -0
- package/dist/knowledge/graph/types.d.ts.map +1 -0
- package/dist/knowledge/graph/types.js +13 -0
- package/dist/knowledge/graph/types.js.map +1 -0
- package/dist/knowledge/module-hash.d.ts +88 -0
- package/dist/knowledge/module-hash.d.ts.map +1 -0
- package/dist/knowledge/module-hash.js +162 -0
- package/dist/knowledge/module-hash.js.map +1 -0
- package/dist/knowledge/project-detector.d.ts +101 -0
- package/dist/knowledge/project-detector.d.ts.map +1 -0
- package/dist/knowledge/project-detector.js +223 -0
- package/dist/knowledge/project-detector.js.map +1 -0
- package/dist/knowledge/prompt.d.ts +237 -0
- package/dist/knowledge/prompt.d.ts.map +1 -0
- package/dist/knowledge/prompt.js +416 -0
- package/dist/knowledge/prompt.js.map +1 -0
- package/dist/knowledge/query.d.ts +118 -0
- package/dist/knowledge/query.d.ts.map +1 -0
- package/dist/knowledge/query.js +438 -0
- package/dist/knowledge/query.js.map +1 -0
- package/dist/knowledge/repo-map.d.ts +97 -0
- package/dist/knowledge/repo-map.d.ts.map +1 -0
- package/dist/knowledge/repo-map.js +447 -0
- package/dist/knowledge/repo-map.js.map +1 -0
- package/dist/knowledge/tools/index.d.ts +14 -0
- package/dist/knowledge/tools/index.d.ts.map +1 -0
- package/dist/knowledge/tools/index.js +11 -0
- package/dist/knowledge/tools/index.js.map +1 -0
- package/dist/knowledge/tools/knowledge-get-page.d.ts +46 -0
- package/dist/knowledge/tools/knowledge-get-page.d.ts.map +1 -0
- package/dist/knowledge/tools/knowledge-get-page.js +101 -0
- package/dist/knowledge/tools/knowledge-get-page.js.map +1 -0
- package/dist/knowledge/tools/knowledge-query.d.ts +77 -0
- package/dist/knowledge/tools/knowledge-query.d.ts.map +1 -0
- package/dist/knowledge/tools/knowledge-query.js +104 -0
- package/dist/knowledge/tools/knowledge-query.js.map +1 -0
- package/dist/knowledge/tools/repo-map-lookup.d.ts +45 -0
- package/dist/knowledge/tools/repo-map-lookup.d.ts.map +1 -0
- package/dist/knowledge/tools/repo-map-lookup.js +82 -0
- package/dist/knowledge/tools/repo-map-lookup.js.map +1 -0
- package/dist/knowledge/types.d.ts +269 -0
- package/dist/knowledge/types.d.ts.map +1 -0
- package/dist/knowledge/types.js +10 -0
- package/dist/knowledge/types.js.map +1 -0
- package/dist/knowledge/validator.d.ts +90 -0
- package/dist/knowledge/validator.d.ts.map +1 -0
- package/dist/knowledge/validator.js +355 -0
- package/dist/knowledge/validator.js.map +1 -0
- package/dist/mcp/server.d.ts +64 -8
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/mcp/server.js +448 -12
- package/dist/mcp/server.js.map +1 -1
- package/dist/skills/builtin-skills.d.ts +35 -0
- package/dist/skills/builtin-skills.d.ts.map +1 -0
- package/dist/skills/builtin-skills.js +68 -0
- package/dist/skills/builtin-skills.js.map +1 -0
- package/dist/skills/distill/attribution.d.ts +59 -0
- package/dist/skills/distill/attribution.d.ts.map +1 -0
- package/dist/skills/distill/attribution.js +101 -0
- package/dist/skills/distill/attribution.js.map +1 -0
- package/dist/skills/distill/distiller.d.ts +161 -0
- package/dist/skills/distill/distiller.d.ts.map +1 -0
- package/dist/skills/distill/distiller.js +461 -0
- package/dist/skills/distill/distiller.js.map +1 -0
- package/dist/skills/distill/index.d.ts +223 -0
- package/dist/skills/distill/index.d.ts.map +1 -0
- package/dist/skills/distill/index.js +466 -0
- package/dist/skills/distill/index.js.map +1 -0
- package/dist/skills/distill/project-anchor-guard.d.ts +116 -0
- package/dist/skills/distill/project-anchor-guard.d.ts.map +1 -0
- package/dist/skills/distill/project-anchor-guard.js +334 -0
- package/dist/skills/distill/project-anchor-guard.js.map +1 -0
- package/dist/skills/distill/topic-deduper.d.ts +77 -0
- package/dist/skills/distill/topic-deduper.d.ts.map +1 -0
- package/dist/skills/distill/topic-deduper.js +119 -0
- package/dist/skills/distill/topic-deduper.js.map +1 -0
- package/dist/skills/distill/upstream-fetcher.d.ts +71 -0
- package/dist/skills/distill/upstream-fetcher.d.ts.map +1 -0
- package/dist/skills/distill/upstream-fetcher.js +202 -0
- package/dist/skills/distill/upstream-fetcher.js.map +1 -0
- package/dist/skills/distilled/distilled-api-design.md +495 -0
- package/dist/skills/distilled/distilled-architecture-decision.md +173 -0
- package/dist/skills/distilled/distilled-brainstorming.md +79 -0
- package/dist/skills/distilled/distilled-brand-guidelines.md +86 -0
- package/dist/skills/distilled/distilled-canvas-design.md +128 -0
- package/dist/skills/distilled/distilled-claude-api.md +185 -0
- package/dist/skills/distilled/distilled-creator.md +181 -0
- package/dist/skills/distilled/distilled-db-schema-design.md +245 -0
- package/dist/skills/distilled/distilled-dispatching-parallel-agents.md +136 -0
- package/dist/skills/distilled/distilled-doc-coauthoring.md +144 -0
- package/dist/skills/distilled/distilled-docx.md +231 -0
- package/dist/skills/distilled/distilled-executing-plans.md +148 -0
- package/dist/skills/distilled/distilled-finishing-a-development-branch.md +213 -0
- package/dist/skills/distilled/distilled-frontend-design.md +118 -0
- package/dist/skills/distilled/distilled-harness-engineering.md +242 -0
- package/dist/skills/distilled/distilled-karpathy-guidelines.md +104 -0
- package/dist/skills/distilled/distilled-performance-optimization.md +175 -0
- package/dist/skills/distilled/distilled-receiving-code-review.md +185 -0
- package/dist/skills/distilled/distilled-spec-driven-design.md +193 -0
- package/dist/skills/distilled/distilled-subagent-driven-development.md +124 -0
- package/dist/skills/distilled/distilled-systematic-debugging.md +154 -0
- package/dist/skills/distilled/distilled-test-driven-development.md +432 -0
- package/dist/skills/distilled/distilled-using-superpowers.md +134 -0
- package/dist/skills/distilled/distilled-verification-before-completion.md +213 -0
- package/dist/skills/distilled/distilled-writing-skills.md +175 -0
- package/dist/skills/registry.d.ts +55 -51
- package/dist/skills/registry.d.ts.map +1 -1
- package/dist/skills/registry.js +82 -196
- package/dist/skills/registry.js.map +1 -1
- package/dist/skills/tools/pipeline-suggest.js +14 -14
- package/dist/skills/tools/pipeline-suggest.js.map +1 -1
- package/dist/skills/tools/skill-invoke.d.ts +3 -2
- package/dist/skills/tools/skill-invoke.d.ts.map +1 -1
- package/dist/skills/tools/skill-invoke.js +4 -2
- package/dist/skills/tools/skill-invoke.js.map +1 -1
- package/dist/web/analytics/anti-pattern-detector.d.ts.map +1 -1
- package/dist/web/analytics/anti-pattern-detector.js +6 -1
- package/dist/web/analytics/anti-pattern-detector.js.map +1 -1
- package/dist/web/analytics/drift-detector.d.ts +6 -0
- package/dist/web/analytics/drift-detector.d.ts.map +1 -1
- package/dist/web/analytics/drift-detector.js +15 -8
- package/dist/web/analytics/drift-detector.js.map +1 -1
- package/dist/web/analytics/weekly-report.d.ts +13 -0
- package/dist/web/analytics/weekly-report.d.ts.map +1 -1
- package/dist/web/analytics/weekly-report.js +17 -3
- package/dist/web/analytics/weekly-report.js.map +1 -1
- package/dist/web/routes/_helpers.d.ts +31 -0
- package/dist/web/routes/_helpers.d.ts.map +1 -1
- package/dist/web/routes/_helpers.js +33 -0
- package/dist/web/routes/_helpers.js.map +1 -1
- package/dist/web/routes/agent-content.d.ts +30 -0
- package/dist/web/routes/agent-content.d.ts.map +1 -0
- package/dist/web/routes/agent-content.js +139 -0
- package/dist/web/routes/agent-content.js.map +1 -0
- package/dist/web/routes/agent-distill.d.ts +49 -0
- package/dist/web/routes/agent-distill.d.ts.map +1 -0
- package/dist/web/routes/agent-distill.js +526 -0
- package/dist/web/routes/agent-distill.js.map +1 -0
- package/dist/web/routes/config.d.ts +56 -0
- package/dist/web/routes/config.d.ts.map +1 -0
- package/dist/web/routes/config.js +243 -0
- package/dist/web/routes/config.js.map +1 -0
- package/dist/web/routes/decisions.d.ts +15 -0
- package/dist/web/routes/decisions.d.ts.map +1 -0
- package/dist/web/routes/decisions.js +181 -0
- package/dist/web/routes/decisions.js.map +1 -0
- package/dist/web/routes/diagnostics.d.ts +61 -0
- package/dist/web/routes/diagnostics.d.ts.map +1 -0
- package/dist/web/routes/diagnostics.js +203 -0
- package/dist/web/routes/diagnostics.js.map +1 -0
- package/dist/web/routes/error-handler.d.ts +0 -4
- package/dist/web/routes/error-handler.d.ts.map +1 -1
- package/dist/web/routes/error-handler.js +0 -8
- package/dist/web/routes/error-handler.js.map +1 -1
- package/dist/web/routes/events.d.ts.map +1 -1
- package/dist/web/routes/events.js +26 -1
- package/dist/web/routes/events.js.map +1 -1
- package/dist/web/routes/health.d.ts +33 -0
- package/dist/web/routes/health.d.ts.map +1 -0
- package/dist/web/routes/health.js +37 -0
- package/dist/web/routes/health.js.map +1 -0
- package/dist/web/routes/insights.d.ts +0 -5
- package/dist/web/routes/insights.d.ts.map +1 -1
- package/dist/web/routes/insights.js +0 -0
- package/dist/web/routes/insights.js.map +1 -1
- package/dist/web/routes/knowledge.d.ts +57 -0
- package/dist/web/routes/knowledge.d.ts.map +1 -0
- package/dist/web/routes/knowledge.js +772 -0
- package/dist/web/routes/knowledge.js.map +1 -0
- package/dist/web/routes/patch.d.ts +60 -1
- package/dist/web/routes/patch.d.ts.map +1 -1
- package/dist/web/routes/patch.js +170 -64
- package/dist/web/routes/patch.js.map +1 -1
- package/dist/web/routes/pipeline.d.ts +28 -0
- package/dist/web/routes/pipeline.d.ts.map +1 -0
- package/dist/web/routes/pipeline.js +145 -0
- package/dist/web/routes/pipeline.js.map +1 -0
- package/dist/web/routes/rules.d.ts.map +1 -1
- package/dist/web/routes/rules.js +26 -7
- package/dist/web/routes/rules.js.map +1 -1
- package/dist/web/routes/sessions.d.ts.map +1 -1
- package/dist/web/routes/sessions.js +17 -8
- package/dist/web/routes/sessions.js.map +1 -1
- package/dist/web/routes/skill-content.d.ts +30 -0
- package/dist/web/routes/skill-content.d.ts.map +1 -0
- package/dist/web/routes/skill-content.js +117 -0
- package/dist/web/routes/skill-content.js.map +1 -0
- package/dist/web/routes/skill-stats.d.ts.map +1 -1
- package/dist/web/routes/skill-stats.js +153 -16
- package/dist/web/routes/skill-stats.js.map +1 -1
- package/dist/web/routes/skills-distill.d.ts +29 -0
- package/dist/web/routes/skills-distill.d.ts.map +1 -0
- package/dist/web/routes/skills-distill.js +552 -0
- package/dist/web/routes/skills-distill.js.map +1 -0
- package/dist/web/routes/skills.js +7 -7
- package/dist/web/routes/skills.js.map +1 -1
- package/dist/web/routes/stats.d.ts.map +1 -1
- package/dist/web/routes/stats.js +2 -1
- package/dist/web/routes/stats.js.map +1 -1
- package/dist/web/routes/task-timeline.d.ts +178 -0
- package/dist/web/routes/task-timeline.d.ts.map +1 -0
- package/dist/web/routes/task-timeline.js +530 -0
- package/dist/web/routes/task-timeline.js.map +1 -0
- package/dist/web/routes/tasks.d.ts.map +1 -1
- package/dist/web/routes/tasks.js +377 -8
- package/dist/web/routes/tasks.js.map +1 -1
- package/dist/web/routes/trace.d.ts.map +1 -1
- package/dist/web/routes/trace.js +3 -2
- package/dist/web/routes/trace.js.map +1 -1
- package/dist/web/routes/types.d.ts +0 -4
- package/dist/web/routes/types.d.ts.map +1 -1
- package/dist/web/routes/types.js +1 -1
- package/dist/web/routes/types.js.map +1 -1
- package/dist/web/routes/violations.d.ts +14 -0
- package/dist/web/routes/violations.d.ts.map +1 -0
- package/dist/web/routes/violations.js +112 -0
- package/dist/web/routes/violations.js.map +1 -0
- package/dist/web/server.d.ts.map +1 -1
- package/dist/web/server.js +99 -19
- package/dist/web/server.js.map +1 -1
- package/dist/web/services/agent-distill-manager.d.ts +122 -0
- package/dist/web/services/agent-distill-manager.d.ts.map +1 -0
- package/dist/web/services/agent-distill-manager.js +397 -0
- package/dist/web/services/agent-distill-manager.js.map +1 -0
- package/dist/web/services/build-manager.d.ts +72 -0
- package/dist/web/services/build-manager.d.ts.map +1 -0
- package/dist/web/services/build-manager.js +189 -0
- package/dist/web/services/build-manager.js.map +1 -0
- package/dist/web/services/distill-manager.d.ts +172 -0
- package/dist/web/services/distill-manager.d.ts.map +1 -0
- package/dist/web/services/distill-manager.js +411 -0
- package/dist/web/services/distill-manager.js.map +1 -0
- package/dist/web/static/assets/AgentDetailPage-DlUeA1sX.js +2 -0
- package/dist/web/static/assets/AgentDetailPage-DlUeA1sX.js.map +1 -0
- package/dist/web/static/assets/AgentDistillRunPage-Cybo4bii.js +3 -0
- package/dist/web/static/assets/AgentDistillRunPage-Cybo4bii.js.map +1 -0
- package/dist/web/static/assets/AgentsPage-Qd9FExLG.js +2 -0
- package/dist/web/static/assets/AgentsPage-Qd9FExLG.js.map +1 -0
- package/dist/web/static/assets/DaemonHealthPage-DTSVqtrI.js +2 -0
- package/dist/web/static/assets/DaemonHealthPage-DTSVqtrI.js.map +1 -0
- package/dist/web/static/assets/DecisionDetailPage-b4BA8dhc.js +2 -0
- package/dist/web/static/assets/DecisionDetailPage-b4BA8dhc.js.map +1 -0
- package/dist/web/static/assets/DecisionsPage-a3NRo_T7.js +2 -0
- package/dist/web/static/assets/DecisionsPage-a3NRo_T7.js.map +1 -0
- package/dist/web/static/assets/DiagnosticsPage-DIVdiIQG.js +2 -0
- package/dist/web/static/assets/DiagnosticsPage-DIVdiIQG.js.map +1 -0
- package/dist/web/static/assets/DistillDetailPage-U6a3l2iP.js +4 -0
- package/dist/web/static/assets/DistillDetailPage-U6a3l2iP.js.map +1 -0
- package/dist/web/static/assets/DistillPage-O7BHtRN8.js +2 -0
- package/dist/web/static/assets/DistillPage-O7BHtRN8.js.map +1 -0
- package/dist/web/static/assets/DistillRunPage-D1JuRWWr.js +2 -0
- package/dist/web/static/assets/DistillRunPage-D1JuRWWr.js.map +1 -0
- package/dist/web/static/assets/GlobalScopeHint-Q3wTJx3F.js +2 -0
- package/dist/web/static/assets/GlobalScopeHint-Q3wTJx3F.js.map +1 -0
- package/dist/web/static/assets/IssueDetailPage-BDfrtk2C.js +2 -0
- package/dist/web/static/assets/IssueDetailPage-BDfrtk2C.js.map +1 -0
- package/dist/web/static/assets/IssuesPage-SKmhlCrw.js +2 -0
- package/dist/web/static/assets/IssuesPage-SKmhlCrw.js.map +1 -0
- package/dist/web/static/assets/KbDetailPage-Yna86Na8.js +2 -0
- package/dist/web/static/assets/KbDetailPage-Yna86Na8.js.map +1 -0
- package/dist/web/static/assets/KbHitsPage-Cljl7H9p.js +2 -0
- package/dist/web/static/assets/KbHitsPage-Cljl7H9p.js.map +1 -0
- package/dist/web/static/assets/MarkdownRenderer-DlDQNihj.js +3 -0
- package/dist/web/static/assets/MarkdownRenderer-DlDQNihj.js.map +1 -0
- package/dist/web/static/assets/NotFound-LMzbP51V.js +2 -0
- package/dist/web/static/assets/NotFound-LMzbP51V.js.map +1 -0
- package/dist/web/static/assets/SettingsPage-DzoK4PKg.js +2 -0
- package/dist/web/static/assets/SettingsPage-DzoK4PKg.js.map +1 -0
- package/dist/web/static/assets/SkillDetailPage-BuBJJ_NX.js +2 -0
- package/dist/web/static/assets/SkillDetailPage-BuBJJ_NX.js.map +1 -0
- package/dist/web/static/assets/SkillsPage-aojkJpBc.js +2 -0
- package/dist/web/static/assets/SkillsPage-aojkJpBc.js.map +1 -0
- package/dist/web/static/assets/TaskDetailPage-1ckxnGhw.js +4 -0
- package/dist/web/static/assets/TaskDetailPage-1ckxnGhw.js.map +1 -0
- package/dist/web/static/assets/TasksHubPage-C2PLh3eg.js +6 -0
- package/dist/web/static/assets/TasksHubPage-C2PLh3eg.js.map +1 -0
- package/dist/web/static/assets/WorkplacePage-DHrp5VxS.js +2 -0
- package/dist/web/static/assets/WorkplacePage-DHrp5VxS.js.map +1 -0
- package/dist/web/static/assets/arco-DFQA6dO_.css +1 -0
- package/dist/web/static/assets/arco-DV6xCLhr.js +14 -0
- package/dist/web/static/assets/arco-DV6xCLhr.js.map +1 -0
- package/dist/web/static/assets/charts-BSV4cyC4.js +37 -0
- package/dist/web/static/assets/charts-BSV4cyC4.js.map +1 -0
- package/dist/web/static/assets/date-fns-sbWH3_uq.js +2 -0
- package/dist/web/static/assets/date-fns-sbWH3_uq.js.map +1 -0
- package/dist/web/static/assets/index-B_v_MKlb.css +1 -0
- package/dist/web/static/assets/index-DileOOE4.js +4 -0
- package/dist/web/static/assets/index-DileOOE4.js.map +1 -0
- package/dist/web/static/assets/lucide-CnlPQoG8.js +72 -0
- package/dist/web/static/assets/lucide-CnlPQoG8.js.map +1 -0
- package/dist/web/static/assets/markdown-CA7ePUts.js +30 -0
- package/dist/web/static/assets/markdown-CA7ePUts.js.map +1 -0
- package/dist/web/static/assets/outcome-BKGy9azt.js +2 -0
- package/dist/web/static/assets/outcome-BKGy9azt.js.map +1 -0
- package/dist/web/static/assets/query-CgCOpYWf.js +2 -0
- package/dist/web/static/assets/{query-C99w429o.js.map → query-CgCOpYWf.js.map} +1 -1
- package/dist/web/static/assets/{react-router-r79dBVy4.js → react-router-Cxmg8RuL.js} +3 -3
- package/dist/web/static/assets/{react-router-r79dBVy4.js.map → react-router-Cxmg8RuL.js.map} +1 -1
- package/dist/web/static/assets/react-vendor-tkvCrao7.js +57 -0
- package/dist/web/static/assets/react-vendor-tkvCrao7.js.map +1 -0
- package/dist/web/static/assets/syntax-highlighter-BDYycNja.js +6 -0
- package/dist/web/static/assets/syntax-highlighter-BDYycNja.js.map +1 -0
- package/dist/web/static/assets/useAgentStats-B-uTgqBd.js +2 -0
- package/dist/web/static/assets/useAgentStats-B-uTgqBd.js.map +1 -0
- package/dist/web/static/assets/useDecisions-D-G2Ft5T.js +2 -0
- package/dist/web/static/assets/useDecisions-D-G2Ft5T.js.map +1 -0
- package/dist/web/static/assets/useDistill-21dZkXlT.js +3 -0
- package/dist/web/static/assets/useDistill-21dZkXlT.js.map +1 -0
- package/dist/web/static/assets/useEffectiveProject-DQiyX54y.js +2 -0
- package/dist/web/static/assets/useEffectiveProject-DQiyX54y.js.map +1 -0
- package/dist/web/static/assets/useIssuesFeed-CFiyQkAL.js +2 -0
- package/dist/web/static/assets/useIssuesFeed-CFiyQkAL.js.map +1 -0
- package/dist/web/static/assets/useKbHits-xKXWgqh9.js +2 -0
- package/dist/web/static/assets/useKbHits-xKXWgqh9.js.map +1 -0
- package/dist/web/static/assets/useSkillStats-B5hbIwdf.js +2 -0
- package/dist/web/static/assets/useSkillStats-B5hbIwdf.js.map +1 -0
- package/dist/web/static/assets/vendor-DS-q4Eyc.js +36 -0
- package/dist/web/static/assets/vendor-DS-q4Eyc.js.map +1 -0
- package/dist/web/static/index.html +12 -8
- package/package.json +18 -5
- package/dist/core/ai/provider.d.ts +0 -63
- package/dist/core/ai/provider.d.ts.map +0 -1
- package/dist/core/ai/provider.js +0 -241
- package/dist/core/ai/provider.js.map +0 -1
- package/dist/core/ai/types.d.ts +0 -43
- package/dist/core/ai/types.d.ts.map +0 -1
- package/dist/core/ai/types.js +0 -5
- package/dist/core/ai/types.js.map +0 -1
- package/dist/core/storage/token-usage.d.ts +0 -36
- package/dist/core/storage/token-usage.d.ts.map +0 -1
- package/dist/core/storage/token-usage.js +0 -59
- package/dist/core/storage/token-usage.js.map +0 -1
- package/dist/core/utils/token-tracker.d.ts +0 -39
- package/dist/core/utils/token-tracker.d.ts.map +0 -1
- package/dist/core/utils/token-tracker.js +0 -69
- package/dist/core/utils/token-tracker.js.map +0 -1
- package/dist/skills/index.d.ts +0 -3
- package/dist/skills/index.d.ts.map +0 -1
- package/dist/skills/index.js +0 -3
- package/dist/skills/index.js.map +0 -1
- package/dist/skills/matcher.d.ts +0 -26
- package/dist/skills/matcher.d.ts.map +0 -1
- package/dist/skills/matcher.js +0 -113
- package/dist/skills/matcher.js.map +0 -1
- package/dist/skills/official/code-simplifier.md +0 -52
- package/dist/skills/official/find-skills.md +0 -142
- package/dist/skills/official/official-api-design.md +0 -30
- package/dist/skills/official/official-architecture-decision.md +0 -41
- package/dist/skills/official/official-bmad.md +0 -118
- package/dist/skills/official/official-db-schema-design.md +0 -34
- package/dist/skills/official/official-debug.md +0 -25
- package/dist/skills/official/official-doc-driven.md +0 -31
- package/dist/skills/official/official-harness-engineering.md +0 -108
- package/dist/skills/official/official-openspec.md +0 -89
- package/dist/skills/official/official-performance-optimization.md +0 -30
- package/dist/skills/official/official-pr-review.md +0 -35
- package/dist/skills/official/official-release-checklist.md +0 -30
- package/dist/skills/official/official-security-hardening.md +0 -32
- package/dist/skills/official/official-spec-driven-design.md +0 -31
- package/dist/skills/official/planning-with-files.md +0 -241
- package/dist/skills/official/ui-ux-pro-max.md +0 -105
- package/dist/skills/official/webapp-testing.md +0 -96
- package/dist/skills/official-skills.d.ts +0 -26
- package/dist/skills/official-skills.d.ts.map +0 -1
- package/dist/skills/official-skills.js +0 -74
- package/dist/skills/official-skills.js.map +0 -1
- package/dist/skills/semantic-matcher.d.ts +0 -60
- package/dist/skills/semantic-matcher.d.ts.map +0 -1
- package/dist/skills/semantic-matcher.js +0 -192
- package/dist/skills/semantic-matcher.js.map +0 -1
- package/dist/skills/upgrade-engine.d.ts +0 -93
- package/dist/skills/upgrade-engine.d.ts.map +0 -1
- package/dist/skills/upgrade-engine.js +0 -447
- package/dist/skills/upgrade-engine.js.map +0 -1
- package/dist/skills/upgrade-prompt.d.ts +0 -20
- package/dist/skills/upgrade-prompt.d.ts.map +0 -1
- package/dist/skills/upgrade-prompt.js +0 -75
- package/dist/skills/upgrade-prompt.js.map +0 -1
- package/dist/web/routes/ai.d.ts +0 -10
- package/dist/web/routes/ai.d.ts.map +0 -1
- package/dist/web/routes/ai.js +0 -186
- package/dist/web/routes/ai.js.map +0 -1
- package/dist/web/routes/token-usage.d.ts +0 -7
- package/dist/web/routes/token-usage.d.ts.map +0 -1
- package/dist/web/routes/token-usage.js +0 -18
- package/dist/web/routes/token-usage.js.map +0 -1
- package/dist/web/ssrf-guard.d.ts +0 -35
- package/dist/web/ssrf-guard.d.ts.map +0 -1
- package/dist/web/ssrf-guard.js +0 -93
- package/dist/web/ssrf-guard.js.map +0 -1
- package/dist/web/static/assets/AIConfig-CdDWzJyO.js +0 -2
- package/dist/web/static/assets/AIConfig-CdDWzJyO.js.map +0 -1
- package/dist/web/static/assets/Dashboard-CoEmmIDt.js +0 -2
- package/dist/web/static/assets/Dashboard-CoEmmIDt.js.map +0 -1
- package/dist/web/static/assets/Drawer-DdRTzlLB.js +0 -2
- package/dist/web/static/assets/Drawer-DdRTzlLB.js.map +0 -1
- package/dist/web/static/assets/Events-DrIq1SUS.js +0 -2
- package/dist/web/static/assets/Events-DrIq1SUS.js.map +0 -1
- package/dist/web/static/assets/Reports-DFBM3MDK.js +0 -2
- package/dist/web/static/assets/Reports-DFBM3MDK.js.map +0 -1
- package/dist/web/static/assets/SearchInput-qCj_jAcf.js +0 -2
- package/dist/web/static/assets/SearchInput-qCj_jAcf.js.map +0 -1
- package/dist/web/static/assets/SessionDetail-CCzwdoT7.js +0 -2
- package/dist/web/static/assets/SessionDetail-CCzwdoT7.js.map +0 -1
- package/dist/web/static/assets/Sessions-FfLYkAw9.js +0 -2
- package/dist/web/static/assets/Sessions-FfLYkAw9.js.map +0 -1
- package/dist/web/static/assets/Skills-C8Gvs3Qa.js +0 -2
- package/dist/web/static/assets/Skills-C8Gvs3Qa.js.map +0 -1
- package/dist/web/static/assets/TaskDetail-BS8pYhaR.js +0 -2
- package/dist/web/static/assets/TaskDetail-BS8pYhaR.js.map +0 -1
- package/dist/web/static/assets/Tasks-CyuhizG8.js +0 -2
- package/dist/web/static/assets/Tasks-CyuhizG8.js.map +0 -1
- package/dist/web/static/assets/charts-CLrM0_uM.js +0 -37
- package/dist/web/static/assets/charts-CLrM0_uM.js.map +0 -1
- package/dist/web/static/assets/date-fns-CZ_bHujz.js +0 -2
- package/dist/web/static/assets/date-fns-CZ_bHujz.js.map +0 -1
- package/dist/web/static/assets/export-L_VBD2p1.js +0 -4
- package/dist/web/static/assets/export-L_VBD2p1.js.map +0 -1
- package/dist/web/static/assets/index-CBX47X8l.js +0 -3
- package/dist/web/static/assets/index-CBX47X8l.js.map +0 -1
- package/dist/web/static/assets/index-DjIoMdoR.css +0 -1
- package/dist/web/static/assets/lucide-Bs_edTLa.js +0 -232
- package/dist/web/static/assets/lucide-Bs_edTLa.js.map +0 -1
- package/dist/web/static/assets/query-C99w429o.js +0 -2
- package/dist/web/static/assets/react-vendor-CSp-GLFF.js +0 -49
- package/dist/web/static/assets/react-vendor-CSp-GLFF.js.map +0 -1
- package/dist/web/static/assets/syntax-highlighter-44FakypI.js +0 -9
- package/dist/web/static/assets/syntax-highlighter-44FakypI.js.map +0 -1
- package/dist/web/static/assets/time-Bxuk0M-C.js +0 -2
- package/dist/web/static/assets/time-Bxuk0M-C.js.map +0 -1
- package/dist/web/static/assets/vendor-CMMjVdZs.js +0 -64
- package/dist/web/static/assets/vendor-CMMjVdZs.js.map +0 -1
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: distilled-architecture-decision
|
|
3
|
+
version: 1.0.0-portable
|
|
4
|
+
description: 'Distilled IT-universal skill: architecture decision records (portable, hand-rewritten 2026-05-27)'
|
|
5
|
+
keywords:
|
|
6
|
+
- architecture
|
|
7
|
+
- adr
|
|
8
|
+
- decision
|
|
9
|
+
- design
|
|
10
|
+
- record
|
|
11
|
+
- architecture decision
|
|
12
|
+
- 架构决策
|
|
13
|
+
- 技术选型
|
|
14
|
+
rubric_version: 2
|
|
15
|
+
distilled_from:
|
|
16
|
+
- upstream: https://github.com/winspan/claude-forge.git
|
|
17
|
+
license: MIT
|
|
18
|
+
commit: 7d96b86c
|
|
19
|
+
paths:
|
|
20
|
+
- official/official-architecture-decision.md
|
|
21
|
+
distilled_at: '2026-05-27T02:11:00.000Z'
|
|
22
|
+
distilled_by: hand-rewrite (D4-reverse)
|
|
23
|
+
it_universal_score: 4.5
|
|
24
|
+
it_universal_dims:
|
|
25
|
+
d1: 1
|
|
26
|
+
d2: 1
|
|
27
|
+
d3: 1
|
|
28
|
+
d4: 1
|
|
29
|
+
d5: 0.5
|
|
30
|
+
it_universal_rationale: ADR template + decision-record discipline; entirely process-level, stack-agnostic.
|
|
31
|
+
is_stub: false
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## Goal
|
|
35
|
+
|
|
36
|
+
Capture every consequential technical decision as a short, dated, immutable record so that future maintainers can reconstruct **why** the system looks the way it does — not just what it does.
|
|
37
|
+
|
|
38
|
+
## When to trigger
|
|
39
|
+
|
|
40
|
+
- Choosing among multiple plausible technologies (framework, database, queue, build tool, runtime).
|
|
41
|
+
- Drawing a system boundary (which service owns which data; what crosses an API).
|
|
42
|
+
- Picking a protocol (REST vs gRPC vs message-bus; sync vs async).
|
|
43
|
+
- A decision that will affect more than one module, team, or release cycle.
|
|
44
|
+
- Reversing or superseding a prior architectural choice.
|
|
45
|
+
- A design debate that has happened more than twice — write it down once and stop relitigating.
|
|
46
|
+
|
|
47
|
+
Skip the ADR for: trivial style tweaks, single-file refactors, bug fixes, or anything that doesn't change the shape of the system.
|
|
48
|
+
|
|
49
|
+
## Steps
|
|
50
|
+
|
|
51
|
+
1. **Detect the decision moment.** When you notice yourself or a teammate weighing trade-offs that will outlive the current sprint, pause and open a new ADR file.
|
|
52
|
+
|
|
53
|
+
2. **Pick the next number.** Use a monotonic counter (`ADR-0001`, `ADR-0002`, ...). Numbers are never reused, even for retired records. Store them in a known directory of the repo (a common convention is `docs/adr/`).
|
|
54
|
+
|
|
55
|
+
3. **Fill the template** (see "Examples" for the canonical shape). The minimum sections are: Status, Context, Decision, Alternatives considered, Consequences. Keep each section short — usually one to four paragraphs.
|
|
56
|
+
|
|
57
|
+
4. **Mark status honestly.** Start at `Proposed`. Once approved (whatever your team's bar is — a review, a meeting, a PR merge), change to `Accepted`. If later replaced, change to `Superseded by ADR-NNNN`. If retired without replacement, `Deprecated`.
|
|
58
|
+
|
|
59
|
+
5. **Never edit an Accepted ADR's substance.** Typos are fine; rewriting the decision is not. If the decision changes, write a **new** ADR that supersedes the old one. The old record stays in the repo as historical context.
|
|
60
|
+
|
|
61
|
+
6. **Cross-link.** When an ADR depends on, or invalidates, another, link both ways: ADR-0007 "supersedes ADR-0003"; ADR-0003 carries a note "superseded by ADR-0007".
|
|
62
|
+
|
|
63
|
+
7. **Reference ADRs from code or PRs** when a non-obvious choice would otherwise confuse readers. A comment like `// see ADR-0012` is cheaper than a 20-line explanation that drifts out of date.
|
|
64
|
+
|
|
65
|
+
## Anti-patterns
|
|
66
|
+
|
|
67
|
+
- **Editing an Accepted ADR.** The record loses its truth value. If circumstances changed, supersede with a new ADR.
|
|
68
|
+
- **ADRs that say "we chose X" without saying why.** The context and alternatives sections are the whole point — the choice itself is the cheap part.
|
|
69
|
+
- **Writing an ADR after the fact** to rubber-stamp a decision already shipped. Better than nothing, but flag it as `Accepted (retroactive)` and acknowledge the alternatives were not really weighed.
|
|
70
|
+
- **One giant ADR covering many decisions.** Split them. One ADR = one decision.
|
|
71
|
+
- **Burying ADRs in a wiki nobody reads.** Keep them in the repo, next to the code, in a flat browsable directory.
|
|
72
|
+
- **Status that lies.** A `Proposed` ADR that has been shipping for 6 months is not Proposed — fix the status.
|
|
73
|
+
- **Skipping ADRs for "obvious" choices.** Often the obvious choice is obvious only to the original author; the record protects future maintainers from re-evaluating from scratch.
|
|
74
|
+
|
|
75
|
+
## Success criteria
|
|
76
|
+
|
|
77
|
+
- [ ] The repo has a known directory holding ADRs (e.g. `docs/adr/`), with a flat numbering scheme.
|
|
78
|
+
- [ ] Every Accepted ADR has filled Context, Decision, Alternatives, and Consequences sections.
|
|
79
|
+
- [ ] Status of every ADR matches reality (no stale `Proposed` records).
|
|
80
|
+
- [ ] At least one ADR exists for every cross-module / cross-team choice made in the last release cycle.
|
|
81
|
+
- [ ] Superseded ADRs link to their successors, and vice versa.
|
|
82
|
+
- [ ] Code / PRs reference ADR numbers when explaining non-obvious choices.
|
|
83
|
+
|
|
84
|
+
## Failure modes
|
|
85
|
+
|
|
86
|
+
- **Decisions made in chat without a record.** When the third person asks "why are we using X?", that's the prompt — open an ADR retroactively and tag it.
|
|
87
|
+
- **ADR explosion.** If you have 200 ADRs, you've blurred the line between "architecture decision" and "any decision". Tighten the trigger criteria; small decisions belong in code comments or PR descriptions, not ADRs.
|
|
88
|
+
- **Two contradictory Accepted ADRs.** A symptom that nobody checked the existing record before writing the new one. Resolution: write a third ADR that explicitly supersedes the older one.
|
|
89
|
+
- **Authors disagree on the decision.** Don't write a wishy-washy ADR. Record the dissent in the Alternatives section: "Option B preferred by A and C; Option A chosen because of X. See discussion thread Y."
|
|
90
|
+
- **Decision turns out to be wrong.** That's fine — write a new ADR superseding the old one. The old ADR is not embarrassing; it's history. Editing it to hide the mistake is worse.
|
|
91
|
+
|
|
92
|
+
## Examples
|
|
93
|
+
|
|
94
|
+
### Canonical ADR template
|
|
95
|
+
|
|
96
|
+
```markdown
|
|
97
|
+
# ADR-0007: Use a message queue between the ingest and processor
|
|
98
|
+
|
|
99
|
+
## Status
|
|
100
|
+
Accepted (2026-04-12)
|
|
101
|
+
|
|
102
|
+
## Context
|
|
103
|
+
The ingest service produces ~10k events/min. The processor's throughput is variable
|
|
104
|
+
because some events trigger expensive enrichment calls. Coupling them synchronously
|
|
105
|
+
caused 99th-percentile latency spikes and cascading retries on the upstream caller.
|
|
106
|
+
|
|
107
|
+
## Decision
|
|
108
|
+
Insert a durable message queue between ingest and processor. Ingest writes, returns
|
|
109
|
+
immediately; processor consumes at its own pace. At-least-once delivery; processor
|
|
110
|
+
handles idempotency by event ID.
|
|
111
|
+
|
|
112
|
+
## Alternatives considered
|
|
113
|
+
- Direct HTTP with a larger thread pool in the processor: rejected — does not
|
|
114
|
+
bound memory; still vulnerable to processor outage causing data loss.
|
|
115
|
+
- Persist events to the database; processor polls: rejected — DB becomes a queue,
|
|
116
|
+
and queries to drain the backlog conflict with the read workload.
|
|
117
|
+
- Bounded in-process channel: rejected — does not survive process restarts.
|
|
118
|
+
|
|
119
|
+
## Consequences
|
|
120
|
+
+ Ingest latency decoupled from processing latency.
|
|
121
|
+
+ Processor can be restarted / scaled independently.
|
|
122
|
+
- New operational surface: queue health, lag monitoring, dead-letter handling.
|
|
123
|
+
- Processor code must be idempotent; existing code is not, requiring refactor.
|
|
124
|
+
- One extra hop adds ~10-30ms to end-to-end latency.
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
### A second example: superseding an earlier decision
|
|
128
|
+
|
|
129
|
+
```markdown
|
|
130
|
+
# ADR-0019: Switch from polling to push for cache invalidation
|
|
131
|
+
|
|
132
|
+
## Status
|
|
133
|
+
Accepted (2026-05-20). Supersedes ADR-0011.
|
|
134
|
+
|
|
135
|
+
## Context
|
|
136
|
+
ADR-0011 chose polling because the cache layer did not support push at the time.
|
|
137
|
+
The cache vendor added a push API in their 4.0 release (2026-04). Polling now
|
|
138
|
+
accounts for ~12% of read traffic against the cache and adds 30-second staleness.
|
|
139
|
+
|
|
140
|
+
## Decision
|
|
141
|
+
Subscribe to the cache push channel; remove the polling loop.
|
|
142
|
+
|
|
143
|
+
## Alternatives considered
|
|
144
|
+
- Keep polling, reduce interval: rejected — does not solve the staleness floor
|
|
145
|
+
and increases load.
|
|
146
|
+
- Hybrid (push + slow poll as safety net): considered; reserved for ADR-0020
|
|
147
|
+
if observed push reliability drops below SLA.
|
|
148
|
+
|
|
149
|
+
## Consequences
|
|
150
|
+
+ Staleness drops from 30s to <1s p99.
|
|
151
|
+
+ Read traffic to cache drops ~12%.
|
|
152
|
+
- New dependency on push channel availability; requires monitoring.
|
|
153
|
+
- Migration window: both polling and push run for one week before polling is
|
|
154
|
+
removed (see migration plan in PR #4421).
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
And ADR-0011 receives an edit (the only allowed kind of edit on an Accepted ADR) at the top of its Status line:
|
|
158
|
+
|
|
159
|
+
```markdown
|
|
160
|
+
## Status
|
|
161
|
+
Accepted (2025-09-04). Superseded by ADR-0019 (2026-05-20).
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
## Adoption notes
|
|
165
|
+
|
|
166
|
+
To put this into practice in any codebase:
|
|
167
|
+
|
|
168
|
+
- Create the directory (commonly `docs/adr/`) and add a `README.md` explaining the convention.
|
|
169
|
+
- Copy a template file as `docs/adr/template.md`. New ADRs start by copying it.
|
|
170
|
+
- Add a one-liner to the project guide: "Cross-module decisions get an ADR before merging."
|
|
171
|
+
- Pick a numbering policy and commit to it. Padded four-digit numbers (`ADR-0001`) sort cleanly and survive growth.
|
|
172
|
+
- Optionally automate: a script that creates the next file with pre-filled date and number, or a CI check that PRs touching the design-doc directory must include an ADR when they change the architecture overview.
|
|
173
|
+
- Pair this skill with the spec-driven design skill: a spec answers "what will we build"; an ADR answers "why is the building shaped this way". They are complementary, not redundant.
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: distilled-brainstorming
|
|
3
|
+
version: 0.2.0-distilled
|
|
4
|
+
description: 'Distilled IT-universal skill: brainstorming (score 3.5/5)'
|
|
5
|
+
keywords:
|
|
6
|
+
- brainstorming
|
|
7
|
+
rubric_version: 2
|
|
8
|
+
distilled_from:
|
|
9
|
+
- upstream: https://github.com/obra/superpowers.git
|
|
10
|
+
license: MIT
|
|
11
|
+
commit: f2cbfbefebbfef77321e4c9abc9e949826bea9d7
|
|
12
|
+
paths:
|
|
13
|
+
- brainstorming/SKILL.md
|
|
14
|
+
distilled_at: '2026-06-15T00:48:29.650Z'
|
|
15
|
+
distilled_by: claude-code skill-distiller agent
|
|
16
|
+
it_universal_score: 3.5
|
|
17
|
+
it_universal_dims:
|
|
18
|
+
d1: 1
|
|
19
|
+
d2: 0.5
|
|
20
|
+
d3: 0.5
|
|
21
|
+
d4: 0.5
|
|
22
|
+
d5: 1
|
|
23
|
+
it_universal_rationale: >-
|
|
24
|
+
Language-neutral design-before-code methodology with strong transferable principles (YAGNI,
|
|
25
|
+
one-question-at-a-time, hard-gate, spec self-review); only minor deductions for references to
|
|
26
|
+
project-specific skill names and file paths that are easily abstracted away.
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
# Brainstorming Ideas Into Designs
|
|
30
|
+
|
|
31
|
+
## When to use
|
|
32
|
+
- Before **any** creative or implementation work: new features, components, functionality changes, or behavioral modifications
|
|
33
|
+
- Any time you have an idea but not yet a validated design
|
|
34
|
+
- Especially when a "simple" task tempts you to skip design — that's when unexamined assumptions cost the most
|
|
35
|
+
|
|
36
|
+
## Core idea
|
|
37
|
+
Turn ideas into fully-formed, user-approved designs through structured collaborative dialogue before writing a single line of code. The process enforces a **hard gate**: no implementation until a design is presented and approved. Questions are asked one at a time to avoid overwhelming; two or three concrete approaches (with trade-offs) are proposed before settling; and the resulting spec goes through a self-review checklist before the user sees it. This discipline catches scope creep, conflicting assumptions, and accidental complexity early — when fixing them is cheap.
|
|
38
|
+
|
|
39
|
+
## Steps
|
|
40
|
+
|
|
41
|
+
1. **Explore project context** — Read existing files, docs, and recent commits before asking anything. Follow existing patterns.
|
|
42
|
+
|
|
43
|
+
2. **Assess scope** — If the request spans multiple independent subsystems (e.g., "build a platform with chat, billing, and analytics"), flag this immediately and help decompose into sub-projects. Each sub-project gets its own design → plan → implementation cycle. Don't ask refinement questions about a project that first needs decomposition.
|
|
44
|
+
|
|
45
|
+
3. **Offer visual companion** *(optional, own message)* — When upcoming questions will involve layouts, diagrams, or mockups, offer to show them visually (e.g., in a browser or rendered output). This offer must be its own message; wait for consent before continuing. Even after consent, only use visuals for questions that are genuinely visual — layouts, wireframes, architecture diagrams — not for conceptual or text-based trade-off choices.
|
|
46
|
+
|
|
47
|
+
4. **Ask clarifying questions** — One question per message. Prefer multiple-choice when possible. Focus on: purpose, constraints, success criteria. If a topic needs more exploration, break it into sequential questions.
|
|
48
|
+
|
|
49
|
+
5. **Propose 2–3 approaches** — Present options conversationally with trade-offs. Lead with your recommended option and explain why.
|
|
50
|
+
|
|
51
|
+
6. **Present design sections** — Scale each section to its complexity (a few sentences for simple aspects; up to ~300 words for nuanced ones). Ask after each section whether it looks right before moving on. Be ready to revise.
|
|
52
|
+
|
|
53
|
+
7. **Write design doc** — Save the validated spec to a `docs/specs/YYYY-MM-DD-<topic>-design.md` (or wherever your repo stores specs). Commit it to version control.
|
|
54
|
+
|
|
55
|
+
8. **Spec self-review** — Before asking the user to review, check:
|
|
56
|
+
- **Placeholder scan**: any "TBD", "TODO", or vague requirements? Fill them in.
|
|
57
|
+
- **Internal consistency**: do sections contradict each other? Does architecture match feature descriptions?
|
|
58
|
+
- **Scope check**: is this focused enough for one implementation plan, or does it need decomposition?
|
|
59
|
+
- **Ambiguity check**: can any requirement be interpreted two ways? Pick one and make it explicit.
|
|
60
|
+
Fix issues inline; no need to re-review after fixing.
|
|
61
|
+
|
|
62
|
+
9. **User reviews spec → transition to implementation planning** — Ask the user to review the spec file. If they request changes, make them and re-run the self-review. Only when they approve, proceed to create a detailed implementation plan.
|
|
63
|
+
|
|
64
|
+
## Anti-patterns
|
|
65
|
+
- **Skipping design for "simple" tasks** — Every project goes through this process. Simple projects are where unexamined assumptions cause the most waste. The design can be short, but it must exist and be approved.
|
|
66
|
+
- **Multiple questions at once** — Overwhelming the user leads to shallow answers. One question, one message.
|
|
67
|
+
- **Jumping to a single approach** — Always propose 2–3 with trade-offs. Forced comparison surfaces assumptions.
|
|
68
|
+
- **Implementing before approval** — The hard gate is unconditional. No code, no scaffolding, no "just a quick prototype" until the design is approved.
|
|
69
|
+
- **Proposing unrelated refactoring** — When working in an existing codebase, only include targeted improvements that directly serve the current goal. Stay focused.
|
|
70
|
+
- **Treating all visual topics as requiring visuals** — "What personality should this UI have?" is a conceptual question; use text. "Which of these two layouts?" is a visual question; use a diagram. Topic ≠ medium.
|
|
71
|
+
- **Skipping the decomposition check for large requests** — Spending clarifying questions on details of an oversized project that first needs to be split is wasted effort.
|
|
72
|
+
|
|
73
|
+
## Design quality principles (carry into every spec)
|
|
74
|
+
- **YAGNI ruthlessly** — Remove unnecessary features from all designs.
|
|
75
|
+
- **Isolation and clear boundaries** — Break the system into units that each have one clear purpose, communicate through well-defined interfaces, and can be understood and tested independently. For each unit: what does it do, how do you use it, what does it depend on?
|
|
76
|
+
- **Working in existing codebases** — Explore structure before proposing changes; follow existing patterns; improve code you're working in only when it directly affects the goal.
|
|
77
|
+
|
|
78
|
+
## References
|
|
79
|
+
- Upstream: https://github.com/obra/superpowers.git
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: distilled-brand-guidelines
|
|
3
|
+
version: 0.2.0-distilled
|
|
4
|
+
description: 'Distilled IT-universal skill: brand-guidelines (score 3/5)'
|
|
5
|
+
keywords:
|
|
6
|
+
- brand
|
|
7
|
+
- guidelines
|
|
8
|
+
rubric_version: 2
|
|
9
|
+
distilled_from:
|
|
10
|
+
- upstream: https://github.com/anthropics/skills.git
|
|
11
|
+
license: Apache-2.0
|
|
12
|
+
commit: 690f15cac7f7b4c055c5ab109c79ed9259934081
|
|
13
|
+
paths:
|
|
14
|
+
- brand-guidelines/SKILL.md
|
|
15
|
+
distilled_at: '2026-06-15T01:02:32.005Z'
|
|
16
|
+
distilled_by: claude-code skill-distiller agent
|
|
17
|
+
it_universal_score: 3
|
|
18
|
+
it_universal_dims:
|
|
19
|
+
d1: 0.5
|
|
20
|
+
d2: 0.5
|
|
21
|
+
d3: 1
|
|
22
|
+
d4: 0.5
|
|
23
|
+
d5: 0.5
|
|
24
|
+
it_universal_rationale: >-
|
|
25
|
+
Color tokens and type-scale rules are language/tool-agnostic; only the original python-pptx
|
|
26
|
+
implementation detail is language-specific and was stripped in distillation.
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
# Anthropic Brand Guidelines — Visual Reference
|
|
30
|
+
|
|
31
|
+
## When to use
|
|
32
|
+
- You need to produce any visual artifact (slides, reports, web pages, diagrams, data-viz) that should match Anthropic's official look-and-feel.
|
|
33
|
+
- A user asks for brand colors, corporate color palette, or Anthropic typography.
|
|
34
|
+
- You are post-processing or styling an existing artifact to bring it on-brand.
|
|
35
|
+
- You are picking accent colors for charts, icons, or decorative shapes in an Anthropic context.
|
|
36
|
+
|
|
37
|
+
## Core idea
|
|
38
|
+
|
|
39
|
+
Anthropic's visual identity revolves around a warm neutral base (near-black / off-white / grays) with three accent colors (orange, blue, green) that cycle through non-text shapes. Typography is split into two roles: **Poppins** (or Arial fallback) for headings, **Lora** (or Georgia fallback) for body. The key principle is to keep backgrounds and text in the neutral palette and reserve accents for interactive or decorative elements, maintaining legibility at all times.
|
|
40
|
+
|
|
41
|
+
## Color Tokens
|
|
42
|
+
|
|
43
|
+
### Neutral Base
|
|
44
|
+
|
|
45
|
+
| Role | Hex | Usage |
|
|
46
|
+
|---|---|---|
|
|
47
|
+
| Dark | `#141413` | Primary text; dark backgrounds |
|
|
48
|
+
| Light | `#faf9f5` | Light backgrounds; text on dark |
|
|
49
|
+
| Mid Gray | `#b0aea5` | Secondary / supporting elements |
|
|
50
|
+
| Light Gray | `#e8e6dc` | Subtle background tints, dividers |
|
|
51
|
+
|
|
52
|
+
### Accent Palette (cycle in order)
|
|
53
|
+
|
|
54
|
+
| Name | Hex | Role |
|
|
55
|
+
|---|---|---|
|
|
56
|
+
| Orange | `#d97757` | Primary accent (CTA, highlights) |
|
|
57
|
+
| Blue | `#6a9bcc` | Secondary accent |
|
|
58
|
+
| Green | `#788c5d` | Tertiary accent |
|
|
59
|
+
|
|
60
|
+
## Typography
|
|
61
|
+
|
|
62
|
+
| Text Role | Font | Fallback |
|
|
63
|
+
|---|---|---|
|
|
64
|
+
| Headings (large / ≥ 24 pt) | Poppins | Arial |
|
|
65
|
+
| Body text | Lora | Georgia |
|
|
66
|
+
|
|
67
|
+
> Fonts should be pre-installed in the target environment for best results. The fallbacks (Arial / Georgia) are safe on all platforms.
|
|
68
|
+
|
|
69
|
+
## Steps
|
|
70
|
+
|
|
71
|
+
1. **Establish the background** — choose `#faf9f5` (light) or `#141413` (dark) as the canvas; avoid mixing both on the same surface.
|
|
72
|
+
2. **Apply text colors** — use Dark `#141413` on light backgrounds, Light `#faf9f5` on dark backgrounds; use Mid Gray `#b0aea5` for secondary/caption text.
|
|
73
|
+
3. **Assign fonts** — headings at ≥ 24 pt → Poppins/Arial; all body copy → Lora/Georgia.
|
|
74
|
+
4. **Color decorative shapes** — cycle accent colors: first shape orange `#d97757`, second blue `#6a9bcc`, third green `#788c5d`, then repeat. Do not apply accents to large background areas.
|
|
75
|
+
5. **Validate contrast** — confirm text-on-background meets WCAG AA (≥ 4.5:1 for body, ≥ 3:1 for large text). The defined neutral pairs all pass at normal usage sizes.
|
|
76
|
+
6. **Trim non-brand colors** — remove any bright reds, purples, or generic blues that are not in the palette above.
|
|
77
|
+
|
|
78
|
+
## Anti-patterns
|
|
79
|
+
- **Using accents as backgrounds** — large orange/blue/green fills look off-brand; keep them to shapes, icons, and callout borders.
|
|
80
|
+
- **Mixing font stacks arbitrarily** — using Poppins for body or Lora for headings breaks the typographic hierarchy.
|
|
81
|
+
- **Pure black / pure white** — `#000000` / `#ffffff` are not in the palette; use `#141413` / `#faf9f5` instead.
|
|
82
|
+
- **Skipping fallbacks** — always specify Arial after Poppins and Georgia after Lora so artifacts render correctly on systems without the custom fonts.
|
|
83
|
+
- **More than three accent colors on a single page** — cycling works, but introducing additional off-palette colors dilutes the brand identity.
|
|
84
|
+
|
|
85
|
+
## References
|
|
86
|
+
- Upstream: https://github.com/anthropics/skills.git
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: distilled-canvas-design
|
|
3
|
+
version: 0.2.0-distilled
|
|
4
|
+
description: 'Distilled IT-universal skill: canvas-design (score 3.5/5)'
|
|
5
|
+
keywords:
|
|
6
|
+
- canvas
|
|
7
|
+
- design
|
|
8
|
+
rubric_version: 2
|
|
9
|
+
distilled_from:
|
|
10
|
+
- upstream: https://github.com/anthropics/skills.git
|
|
11
|
+
license: Apache-2.0
|
|
12
|
+
commit: 690f15cac7f7b4c055c5ab109c79ed9259934081
|
|
13
|
+
paths:
|
|
14
|
+
- canvas-design/SKILL.md
|
|
15
|
+
distilled_at: '2026-06-15T01:03:48.379Z'
|
|
16
|
+
distilled_by: claude-code skill-distiller agent
|
|
17
|
+
it_universal_score: 3.5
|
|
18
|
+
it_universal_dims:
|
|
19
|
+
d1: 1
|
|
20
|
+
d2: 0.5
|
|
21
|
+
d3: 0.5
|
|
22
|
+
d4: 0.5
|
|
23
|
+
d5: 1
|
|
24
|
+
it_universal_rationale: >-
|
|
25
|
+
Language-neutral visual design methodology (two-phase philosophy→canvas) transferable to any
|
|
26
|
+
creative/design output workflow regardless of toolchain or codebase
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
# Two-Phase Visual Design: Philosophy-First Canvas Creation
|
|
30
|
+
|
|
31
|
+
## When to use
|
|
32
|
+
- When asked to create a poster, piece of art, visual identity, or any static visual artifact
|
|
33
|
+
- When the goal is expressive/artistic output (PNG, PDF, or similar) rather than functional UI
|
|
34
|
+
- When an AI agent or designer needs a structured framework to avoid "decorated document" pitfalls
|
|
35
|
+
- When quality bar is museum/magazine-grade, not clipart/template-grade
|
|
36
|
+
|
|
37
|
+
## Core idea
|
|
38
|
+
|
|
39
|
+
Great visual output requires separating the *thinking* phase from the *making* phase. First, articulate a named aesthetic movement (design philosophy) in 4–6 paragraphs covering space, color, material, rhythm, and composition. Only then execute the canvas, treating the philosophy as a scientific bible. Text on the canvas must be treated as a rare visual element—never explanatory paragraphs, only essential words integrated into the architecture. Expert craftsmanship is the non-negotiable standard: every alignment, color choice, and spacing decision should feel like it was labored over by someone at the top of their field.
|
|
40
|
+
|
|
41
|
+
## Steps
|
|
42
|
+
|
|
43
|
+
### Phase 1 — Design Philosophy Creation (output: `.md`)
|
|
44
|
+
|
|
45
|
+
1. **Name the movement** (1–2 words): e.g., "Brutalist Joy", "Chromatic Silence", "Metabolist Dreams"
|
|
46
|
+
|
|
47
|
+
2. **Write the philosophy** (4–6 paragraphs), covering each dimension exactly once:
|
|
48
|
+
- *Space and form*: How does the aesthetic treat negative space, volume, structure?
|
|
49
|
+
- *Color and material*: What palette logic or material sensibility governs the work?
|
|
50
|
+
- *Scale and rhythm*: How do elements grow, repeat, pulse, or breathe?
|
|
51
|
+
- *Composition and balance*: What governs arrangement—grid, organic, axial?
|
|
52
|
+
- *Visual hierarchy*: How does the eye move? What dominates, what recedes?
|
|
53
|
+
|
|
54
|
+
3. **Repeat the craftsmanship imperative** multiple times within the philosophy:
|
|
55
|
+
> "meticulously crafted", "painstaking attention", "the product of deep expertise", "countless hours"
|
|
56
|
+
|
|
57
|
+
4. **Keep it generic** (no mention of the specific output subject)—the philosophy should feel like it could apply to any artifact in that aesthetic tradition.
|
|
58
|
+
|
|
59
|
+
5. **Leave interpretive room**: be specific about *direction*, not prescriptive about *every element*.
|
|
60
|
+
|
|
61
|
+
### Phase 2 — Deduce the Subtle Reference
|
|
62
|
+
|
|
63
|
+
Before drawing, identify the conceptual thread from the request:
|
|
64
|
+
- This is the **soul** of the piece—the quiet DNA woven into composition, color, and form
|
|
65
|
+
- It should be recognizable to those who know, invisible to those who don't
|
|
66
|
+
- Think: *jazz musician quoting another song*—only insiders catch it, everyone else just hears great music
|
|
67
|
+
|
|
68
|
+
### Phase 3 — Canvas Execution (output: `.pdf` or `.png`)
|
|
69
|
+
|
|
70
|
+
6. **Ratio**: ~90% visual / 10% text (essential words only, never explanatory blocks)
|
|
71
|
+
|
|
72
|
+
7. **Visual language of systematic observation**:
|
|
73
|
+
- Dense accumulation of marks, repeated elements, layered patterns
|
|
74
|
+
- Sparse clinical typography + systematic reference markers
|
|
75
|
+
- Treat the subject as if it were being documented by an imaginary discipline
|
|
76
|
+
|
|
77
|
+
8. **Typography rules**:
|
|
78
|
+
- Use diverse, design-forward fonts (thin weight preferred)
|
|
79
|
+
- Type is *part of the art*, not typeset copy
|
|
80
|
+
- Nothing overlaps, nothing falls off canvas; every element has breathing room
|
|
81
|
+
|
|
82
|
+
9. **Color**: Limited palette, intentional and cohesive; anchor with 1–2 subtle phrases or detail markers
|
|
83
|
+
|
|
84
|
+
10. **Single page default** (unless multi-page is explicitly requested); treat it as one page of a coffee-table book
|
|
85
|
+
|
|
86
|
+
### Phase 4 — Refinement Pass
|
|
87
|
+
|
|
88
|
+
11. **Do not add more elements**; instead *refine* what exists:
|
|
89
|
+
- Make spacing more precise
|
|
90
|
+
- Make colors more cohesive
|
|
91
|
+
- Make composition more internally consistent with the philosophy
|
|
92
|
+
- Ask: *"How do I make what's already here more of a piece of art?"* before adding anything new
|
|
93
|
+
|
|
94
|
+
12. **Final checklist**:
|
|
95
|
+
- All elements inside canvas boundaries with proper margins
|
|
96
|
+
- No overlaps anywhere
|
|
97
|
+
- Typography flawless
|
|
98
|
+
- Composition coherent with the stated philosophy
|
|
99
|
+
|
|
100
|
+
### Multi-page Option (when requested)
|
|
101
|
+
|
|
102
|
+
13. Bundle additional pages in the same PDF (or multiple PNGs)
|
|
103
|
+
14. Each page: unique twist on the philosophy, not a repeat—like chapters in a visual story
|
|
104
|
+
15. Pages should feel connected yet individually distinct
|
|
105
|
+
|
|
106
|
+
## Anti-patterns
|
|
107
|
+
|
|
108
|
+
- **Decorated document trap**: Adding text blocks with design "decoration" around them is not visual art—information must live in design, not paragraphs
|
|
109
|
+
- **Literal interpretation**: The subtle reference should be *felt*, not *announced*; avoid illustrating the subject literally
|
|
110
|
+
- **Adding to fix**: Refinement means subtraction and precision, not accumulation of new elements
|
|
111
|
+
- **Font monotony**: One font throughout kills design sophistication; vary with intention
|
|
112
|
+
- **Redundant philosophy**: Each design dimension (color, space, etc.) should appear once in the philosophy—repetition dilutes authority
|
|
113
|
+
- **Amateur energy**: Cartoony shapes, clip-art icons, gradient noise—none of these belong; everything must justify its presence
|
|
114
|
+
|
|
115
|
+
## Philosophy Examples (condensed)
|
|
116
|
+
|
|
117
|
+
| Name | Core Visual Language |
|
|
118
|
+
|---|---|
|
|
119
|
+
| "Concrete Poetry" | Massive color blocks, sculptural typography, Brutalist spatial divisions, Polish poster meets Le Corbusier |
|
|
120
|
+
| "Chromatic Language" | Color as information system; geometric precision; Josef Albers meets data viz; words only to anchor what color already shows |
|
|
121
|
+
| "Analog Meditation" | Paper grain, ink bleeds, vast negative space; Japanese photobook aesthetic; text whispered in small restrained type |
|
|
122
|
+
| "Organic Systems" | Rounded forms, natural clustering, color from nature through architecture; info through spatial diagrams, not text |
|
|
123
|
+
| "Geometric Silence" | Grid-based precision, bold photography, dramatic negative space; Swiss formalism meets Brutalist material honesty |
|
|
124
|
+
|
|
125
|
+
*Full philosophies are 4–6 substantial paragraphs each.*
|
|
126
|
+
|
|
127
|
+
## References
|
|
128
|
+
- Upstream: https://github.com/anthropics/skills.git
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: distilled-claude-api
|
|
3
|
+
version: 0.2.0-distilled
|
|
4
|
+
description: 'Distilled IT-universal skill: claude-api (score 4/5)'
|
|
5
|
+
keywords:
|
|
6
|
+
- claude
|
|
7
|
+
- api
|
|
8
|
+
rubric_version: 2
|
|
9
|
+
distilled_from:
|
|
10
|
+
- upstream: https://github.com/anthropics/skills.git
|
|
11
|
+
license: Apache-2.0
|
|
12
|
+
commit: 690f15cac7f7b4c055c5ab109c79ed9259934081
|
|
13
|
+
paths:
|
|
14
|
+
- claude-api/SKILL.md
|
|
15
|
+
- upstream: https://github.com/affaan-m/ECC.git
|
|
16
|
+
license: MIT
|
|
17
|
+
commit: 928076cc08cbb31e8549cea2883b4f51811de1c8
|
|
18
|
+
paths:
|
|
19
|
+
- api-connector-builder/SKILL.md
|
|
20
|
+
- upstream: https://github.com/affaan-m/ECC.git
|
|
21
|
+
license: MIT
|
|
22
|
+
commit: 928076cc08cbb31e8549cea2883b4f51811de1c8
|
|
23
|
+
paths:
|
|
24
|
+
- api-design/SKILL.md
|
|
25
|
+
- upstream: https://github.com/affaan-m/ECC.git
|
|
26
|
+
license: MIT
|
|
27
|
+
commit: 928076cc08cbb31e8549cea2883b4f51811de1c8
|
|
28
|
+
paths:
|
|
29
|
+
- x-api/SKILL.md
|
|
30
|
+
- upstream: https://github.com/affaan-m/ECC.git
|
|
31
|
+
license: MIT
|
|
32
|
+
commit: 928076cc08cbb31e8549cea2883b4f51811de1c8
|
|
33
|
+
paths:
|
|
34
|
+
- api-design/SKILL.md
|
|
35
|
+
- upstream: https://github.com/affaan-m/ECC.git
|
|
36
|
+
license: MIT
|
|
37
|
+
commit: 928076cc08cbb31e8549cea2883b4f51811de1c8
|
|
38
|
+
paths:
|
|
39
|
+
- api-connector-builder/SKILL.md
|
|
40
|
+
- upstream: https://github.com/affaan-m/ECC.git
|
|
41
|
+
license: MIT
|
|
42
|
+
commit: 928076cc08cbb31e8549cea2883b4f51811de1c8
|
|
43
|
+
paths:
|
|
44
|
+
- api-design/SKILL.md
|
|
45
|
+
- upstream: https://github.com/affaan-m/ECC.git
|
|
46
|
+
license: MIT
|
|
47
|
+
commit: 928076cc08cbb31e8549cea2883b4f51811de1c8
|
|
48
|
+
paths:
|
|
49
|
+
- x-api/SKILL.md
|
|
50
|
+
- upstream: https://github.com/affaan-m/ECC.git
|
|
51
|
+
license: MIT
|
|
52
|
+
commit: 928076cc08cbb31e8549cea2883b4f51811de1c8
|
|
53
|
+
paths:
|
|
54
|
+
- api-connector-builder/SKILL.md
|
|
55
|
+
- upstream: https://github.com/affaan-m/ECC.git
|
|
56
|
+
license: MIT
|
|
57
|
+
commit: 928076cc08cbb31e8549cea2883b4f51811de1c8
|
|
58
|
+
paths:
|
|
59
|
+
- api-design/SKILL.md
|
|
60
|
+
- upstream: https://github.com/affaan-m/ECC.git
|
|
61
|
+
license: MIT
|
|
62
|
+
commit: 928076cc08cbb31e8549cea2883b4f51811de1c8
|
|
63
|
+
paths:
|
|
64
|
+
- x-api/SKILL.md
|
|
65
|
+
distilled_at: '2026-06-15T01:04:51.971Z'
|
|
66
|
+
distilled_by: claude-code skill-distiller agent
|
|
67
|
+
it_universal_score: 4
|
|
68
|
+
it_universal_dims:
|
|
69
|
+
d1: 1
|
|
70
|
+
d2: 0.5
|
|
71
|
+
d3: 0.5
|
|
72
|
+
d4: 1
|
|
73
|
+
d5: 1
|
|
74
|
+
it_universal_rationale: >-
|
|
75
|
+
Multi-language surface-selection methodology and agent-viability criteria are fully portable to
|
|
76
|
+
any codebase integrating the Anthropic Claude API, regardless of language, framework, or project
|
|
77
|
+
structure.
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
# Building Applications with the Anthropic Claude API
|
|
81
|
+
|
|
82
|
+
## When to use
|
|
83
|
+
- You are adding or modifying Claude/Anthropic SDK integration in any project
|
|
84
|
+
- You need to choose between single API calls, tool-use workflows, or Managed Agents
|
|
85
|
+
- You are migrating Claude model versions or tuning caching / streaming / thinking settings
|
|
86
|
+
- You have questions about prompt caching, batch processing, tool use, or streaming in an Anthropic SDK project
|
|
87
|
+
|
|
88
|
+
## Core idea
|
|
89
|
+
|
|
90
|
+
All Claude API requests go through a single endpoint (`POST /v1/messages`). Tool use, output constraints, streaming, and caching are all features of this one endpoint — not separate APIs. The main architectural decision is **which surface** to use: a plain API call, a code-orchestrated tool-use workflow, or Anthropic-managed stateful agents (Managed Agents). Default to the simplest tier that meets your needs; only escalate to agents when the task genuinely requires open-ended, model-driven exploration. Always use the official Anthropic SDK for your language — never mix raw HTTP calls into an SDK project, and never fall back to OpenAI-compatible shims.
|
|
91
|
+
|
|
92
|
+
## Steps
|
|
93
|
+
|
|
94
|
+
### 1. Detect the project language
|
|
95
|
+
|
|
96
|
+
Match project files to the correct SDK:
|
|
97
|
+
|
|
98
|
+
| Signals | Language / SDK |
|
|
99
|
+
|---|---|
|
|
100
|
+
| `*.py`, `pyproject.toml`, `requirements.txt` | Python (`anthropic`) |
|
|
101
|
+
| `*.ts`, `*.tsx`, `package.json`, `tsconfig.json` | TypeScript (`@anthropic-ai/sdk`) |
|
|
102
|
+
| `*.js`/`*.jsx` with no `.ts` files | TypeScript SDK (JS-compatible) |
|
|
103
|
+
| `*.java`, `pom.xml`, `build.gradle` | Java (`com.anthropic.*`) |
|
|
104
|
+
| `*.kt`, `*.scala`, `build.sbt` | Java SDK (Kotlin/Scala-compatible) |
|
|
105
|
+
| `*.go`, `go.mod` | Go (`github.com/anthropics/anthropic-sdk-go`) |
|
|
106
|
+
| `*.rb`, `Gemfile` | Ruby |
|
|
107
|
+
| `*.cs`, `*.csproj` | C# |
|
|
108
|
+
| `*.php`, `composer.json` | PHP |
|
|
109
|
+
| Shell scripts, explicit cURL request | Raw HTTP only |
|
|
110
|
+
|
|
111
|
+
If multiple languages are detected, ask which one the Claude integration lives in. If no language is inferable, ask before writing code.
|
|
112
|
+
|
|
113
|
+
### 2. Choose the right surface
|
|
114
|
+
|
|
115
|
+
```
|
|
116
|
+
0. Deploying via Amazon Bedrock, Google Vertex AI, or Microsoft Foundry?
|
|
117
|
+
└── Yes → Claude API + tool use for all tiers (Managed Agents is 1P-only)
|
|
118
|
+
No → continue
|
|
119
|
+
|
|
120
|
+
1. Single task (classify, summarize, extract, Q&A, batch)?
|
|
121
|
+
└── Claude API — one request, one response
|
|
122
|
+
|
|
123
|
+
2. Want Anthropic to run the agent loop AND host a per-session
|
|
124
|
+
container (bash, file ops, code execution)?
|
|
125
|
+
└── Managed Agents — persisted agent configs, SSE stream,
|
|
126
|
+
Skills + MCP, file mounts, per-session workspaces
|
|
127
|
+
|
|
128
|
+
3. Multi-step pipeline with code-controlled logic, your own tools?
|
|
129
|
+
└── Claude API + tool use — you orchestrate the loop
|
|
130
|
+
|
|
131
|
+
4. Open-ended agent, your own tools, you host the compute?
|
|
132
|
+
└── Claude API agentic loop
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
### 3. Gate on agent viability (before choosing the agent tier)
|
|
136
|
+
|
|
137
|
+
Check all four criteria. If **any** answer is "no", stay at a simpler tier:
|
|
138
|
+
|
|
139
|
+
- **Complexity** — Is the task multi-step and hard to fully specify upfront?
|
|
140
|
+
- **Value** — Does the outcome justify higher cost and latency?
|
|
141
|
+
- **Viability** — Is Claude reliably capable at this task type?
|
|
142
|
+
- **Cost of error** — Can errors be caught and recovered from? (tests, review, rollback)
|
|
143
|
+
|
|
144
|
+
### 4. Apply code defaults
|
|
145
|
+
|
|
146
|
+
Unless the user explicitly requests otherwise:
|
|
147
|
+
|
|
148
|
+
| Setting | Default |
|
|
149
|
+
|---|---|
|
|
150
|
+
| Model | `claude-opus-4-7` |
|
|
151
|
+
| Thinking | `thinking: { type: "adaptive" }` for anything non-trivial |
|
|
152
|
+
| Streaming | Enable for long input, long output, or high `max_tokens` |
|
|
153
|
+
| Streaming helper | `.get_final_message()` / `.finalMessage()` to get complete response |
|
|
154
|
+
| Prompt caching | Always include — reduces cost on repeated large contexts |
|
|
155
|
+
|
|
156
|
+
### 5. Verify SDK usage before writing code
|
|
157
|
+
|
|
158
|
+
- Function names, class names, method signatures, and import paths **must** come from official documentation or the SDK repository — never infer from another language's SDK or from cURL shapes.
|
|
159
|
+
- If a binding is not documented in the reference you have at hand, fetch the official SDK repository or API docs before writing code.
|
|
160
|
+
- Never reach for raw HTTP (`requests`, `fetch`, `httpx`) in a project that has an official SDK.
|
|
161
|
+
- Check for non-Anthropic provider markers (`import openai`, `langchain_openai`, `gpt-4`, `*-openai.py`) before editing any file — do not inject Anthropic SDK calls into a file written for another provider.
|
|
162
|
+
|
|
163
|
+
### 6. Managed Agents: create once, reference by ID
|
|
164
|
+
|
|
165
|
+
- Call `agents.create` once at setup time; store the returned agent ID.
|
|
166
|
+
- Every subsequent `sessions.create` references that ID — do **not** call `agents.create` in the request path.
|
|
167
|
+
- Agents are persistent versioned objects; sessions pin to a specific version.
|
|
168
|
+
|
|
169
|
+
## Anti-patterns
|
|
170
|
+
|
|
171
|
+
- **Mixing raw HTTP with SDK** — pick one and stick to it per project
|
|
172
|
+
- **Inferring SDK API shapes** from cURL examples or from a different language's SDK
|
|
173
|
+
- **Calling `agents.create` per request** — agents are persistent; create once, reuse by ID
|
|
174
|
+
- **Skipping streaming** for requests with large inputs or high `max_tokens` — risks timeouts
|
|
175
|
+
- **Omitting prompt caching** — it should be the default, not an afterthought
|
|
176
|
+
- **Reaching for the agent tier reflexively** — single API calls and code-orchestrated workflows handle most real use cases; agents add cost and complexity
|
|
177
|
+
- **Using Managed Agents on third-party providers** (Bedrock/Vertex/Foundry) — they are Anthropic 1P only; use Claude API + tool use instead
|
|
178
|
+
|
|
179
|
+
## References
|
|
180
|
+
|
|
181
|
+
- Upstream: https://github.com/anthropics/skills.git
|
|
182
|
+
- Anthropic API docs: https://docs.anthropic.com
|
|
183
|
+
- Python SDK: https://github.com/anthropics/anthropic-sdk-python
|
|
184
|
+
- TypeScript SDK: https://github.com/anthropics/anthropic-sdk-typescript
|
|
185
|
+
- Go SDK: https://github.com/anthropics/anthropic-sdk-go
|