cc-codeconductor 0.5.0 → 1.1.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/README.md +387 -150
- package/dist/cli/errors.d.ts +65 -0
- package/dist/core/compilation/compile-checker.d.ts +53 -0
- package/dist/core/config/codeconductor-config.d.ts +42 -0
- package/dist/core/config/config-loader.d.ts +11 -0
- package/dist/core/filesystem/credential-guard.d.ts +18 -0
- package/dist/core/goal/goal-planner.d.ts +8 -0
- package/dist/core/goal/goal-state.d.ts +15 -0
- package/dist/core/loop/git-stats.d.ts +13 -0
- package/dist/core/loop/loop-engine.d.ts +82 -0
- package/dist/core/memory/episodic-store.d.ts +6 -0
- package/dist/core/memory/operational-state.d.ts +6 -0
- package/dist/core/orchestrator/runtime-orchestrator.d.ts +25 -0
- package/dist/core/planner/product-planner.d.ts +18 -0
- package/dist/core/presets/package-paths.d.ts +4 -0
- package/dist/core/product-graph/graph-store.d.ts +11 -0
- package/dist/core/product-graph/paths.d.ts +18 -0
- package/dist/core/verification/verification-runner.d.ts +57 -0
- package/dist/domain/loop/loop-state.d.ts +74 -0
- package/dist/domain/product/entities.d.ts +11 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +24165 -15800
- package/dist/library.js +2744 -0
- package/dist/utils/result.d.ts +36 -0
- package/dist/validation/schemas.d.ts +4006 -0
- package/package.json +18 -2
- package/policy.yml +12 -11
- package/presets/agy/AGENTS.md +14 -5
- package/presets/agy/gates/pre-commit/GATE.md +137 -0
- package/presets/agy/skills/backlog/SKILL.md +91 -0
- package/presets/agy/skills/cc-fix/SKILL.md +2 -2
- package/presets/agy/skills/cc-tdd-cycle/SKILL.md +11 -0
- package/presets/agy/skills/openspec/SKILL.md +5 -1
- package/presets/agy/skills/security-ai-llm/SKILL.md +43 -0
- package/presets/agy/skills/security-blue-team/SKILL.md +43 -0
- package/presets/agy/skills/security-cloud/SKILL.md +43 -0
- package/presets/agy/skills/security-crypto/SKILL.md +43 -0
- package/presets/agy/skills/security-exploit-dev/SKILL.md +45 -0
- package/presets/agy/skills/security-grc/SKILL.md +43 -0
- package/presets/agy/skills/security-incident-response/SKILL.md +45 -0
- package/presets/agy/skills/security-log-analysis/SKILL.md +43 -0
- package/presets/agy/skills/security-malware-analysis/SKILL.md +44 -0
- package/presets/agy/skills/security-mobile/SKILL.md +43 -0
- package/presets/agy/skills/security-network/SKILL.md +43 -0
- package/presets/agy/skills/security-ot-ics/SKILL.md +43 -0
- package/presets/agy/skills/security-recon/SKILL.md +45 -0
- package/presets/agy/skills/security-red-team/SKILL.md +44 -0
- package/presets/agy/skills/security-reverse-engineering/SKILL.md +44 -0
- package/presets/agy/skills/security-soc-automation/SKILL.md +43 -0
- package/presets/agy/skills/security-threat-hunting/SKILL.md +43 -0
- package/presets/agy/skills/security-vuln-assessment/SKILL.md +45 -0
- package/presets/agy/skills/security-web/SKILL.md +44 -0
- package/presets/agy/workflows/cc-api-contract.md +12 -0
- package/presets/agy/workflows/cc-ask.md +56 -0
- package/presets/agy/workflows/cc-backlog.md +69 -0
- package/presets/agy/workflows/cc-clarify.md +33 -0
- package/presets/agy/workflows/cc-council.md +31 -7
- package/presets/agy/workflows/cc-db-migration.md +22 -9
- package/presets/agy/workflows/cc-explore.md +37 -0
- package/presets/agy/workflows/cc-feature.md +41 -19
- package/presets/agy/workflows/cc-fix.md +50 -23
- package/presets/agy/workflows/cc-handoff.md +42 -0
- package/presets/agy/workflows/cc-iterative.md +128 -0
- package/presets/agy/workflows/cc-openspec.md +16 -1
- package/presets/agy/workflows/cc-pagespeed.md +12 -0
- package/presets/agy/workflows/cc-prototype.md +39 -0
- package/presets/agy/workflows/cc-refactor.md +12 -0
- package/presets/agy/workflows/cc-review.md +12 -0
- package/presets/agy/workflows/cc-scorecard.md +12 -0
- package/presets/agy/workflows/cc-security.md +180 -0
- package/presets/agy/workflows/cc-tdd-cycle.md +24 -0
- package/presets/agy/workflows/cc-test-plan.md +12 -0
- package/presets/agy/workflows/cc-triage.md +35 -0
- package/presets/claude/CLAUDE.md +68 -0
- package/presets/claude/commands/cc/api-contract.md +12 -0
- package/presets/claude/commands/cc/ask.md +56 -0
- package/presets/claude/commands/cc/backlog.md +104 -0
- package/presets/claude/commands/cc/clarify.md +32 -0
- package/presets/claude/commands/cc/council.md +87 -0
- package/presets/claude/commands/cc/db-migration.md +22 -9
- package/presets/claude/commands/cc/explore.md +36 -0
- package/presets/claude/commands/cc/feature.md +49 -22
- package/presets/claude/commands/cc/fix.md +74 -20
- package/presets/claude/commands/cc/handoff.md +44 -0
- package/presets/claude/commands/cc/iterative.md +132 -0
- package/presets/claude/commands/cc/openspec.md +41 -1
- package/presets/claude/commands/cc/pagespeed.md +12 -0
- package/presets/claude/commands/cc/prototype.md +38 -0
- package/presets/claude/commands/cc/refactor.md +152 -1
- package/presets/claude/commands/cc/review.md +78 -16
- package/presets/claude/commands/cc/scorecard.md +12 -0
- package/presets/claude/commands/cc/security.md +179 -0
- package/presets/claude/commands/cc/tdd-cycle.md +53 -3
- package/presets/claude/commands/cc/test-plan.md +12 -0
- package/presets/claude/commands/cc/triage.md +34 -0
- package/presets/claude/gates/pre-commit/GATE.md +137 -0
- package/presets/claude/settings.json +8 -46
- package/presets/claude/skills/backlog/SKILL.md +91 -0
- package/presets/claude/skills/openspec/SKILL.md +5 -1
- package/presets/claude/skills/security/SKILL.md +382 -0
- package/presets/claude/skills/security-ai-llm/SKILL.md +43 -0
- package/presets/claude/skills/security-blue-team/SKILL.md +43 -0
- package/presets/claude/skills/security-cloud/SKILL.md +43 -0
- package/presets/claude/skills/security-crypto/SKILL.md +43 -0
- package/presets/claude/skills/security-exploit-dev/SKILL.md +45 -0
- package/presets/claude/skills/security-grc/SKILL.md +43 -0
- package/presets/claude/skills/security-incident-response/SKILL.md +45 -0
- package/presets/claude/skills/security-log-analysis/SKILL.md +43 -0
- package/presets/claude/skills/security-malware-analysis/SKILL.md +44 -0
- package/presets/claude/skills/security-mobile/SKILL.md +43 -0
- package/presets/claude/skills/security-network/SKILL.md +43 -0
- package/presets/claude/skills/security-ot-ics/SKILL.md +43 -0
- package/presets/claude/skills/security-recon/SKILL.md +45 -0
- package/presets/claude/skills/security-red-team/SKILL.md +44 -0
- package/presets/claude/skills/security-reverse-engineering/SKILL.md +44 -0
- package/presets/claude/skills/security-soc-automation/SKILL.md +43 -0
- package/presets/claude/skills/security-threat-hunting/SKILL.md +43 -0
- package/presets/claude/skills/security-vuln-assessment/SKILL.md +45 -0
- package/presets/claude/skills/security-web/SKILL.md +44 -0
- package/presets/codex/AGENTS.md +6 -6
- package/presets/codex/commands/cc-ask.md +56 -0
- package/presets/codex/gates/pre-commit/GATE.md +137 -0
- package/presets/cursor/AGENTS.md +8 -8
- package/presets/cursor/agents/business-agent.md +44 -0
- package/presets/cursor/agents/continuous-architect.md +37 -0
- package/presets/cursor/agents/docs.md +1 -0
- package/presets/cursor/agents/goal-planner.md +1 -1
- package/presets/cursor/agents/impact-analyst.md +43 -0
- package/presets/cursor/agents/orchestrator.md +6 -6
- package/presets/cursor/commands/cc/api-contract.md +12 -0
- package/presets/cursor/commands/cc/ask.md +56 -0
- package/presets/cursor/commands/cc/backlog.md +105 -0
- package/presets/cursor/commands/cc/clarify.md +32 -0
- package/presets/cursor/commands/cc/council.md +87 -0
- package/presets/cursor/commands/cc/db-migration.md +22 -9
- package/presets/cursor/commands/cc/explore.md +36 -0
- package/presets/cursor/commands/cc/feature.md +41 -19
- package/presets/cursor/commands/cc/fix.md +47 -20
- package/presets/cursor/commands/cc/handoff.md +41 -0
- package/presets/cursor/commands/cc/iterative.md +133 -0
- package/presets/cursor/commands/cc/openspec.md +38 -8
- package/presets/cursor/commands/cc/pagespeed.md +12 -0
- package/presets/cursor/commands/cc/prototype.md +38 -0
- package/presets/cursor/commands/cc/refactor.md +12 -0
- package/presets/cursor/commands/cc/review.md +12 -0
- package/presets/cursor/commands/cc/scorecard.md +12 -0
- package/presets/cursor/commands/cc/security.md +179 -0
- package/presets/cursor/commands/cc/tdd-cycle.md +24 -0
- package/presets/cursor/commands/cc/test-plan.md +12 -0
- package/presets/cursor/commands/cc/triage.md +34 -0
- package/presets/cursor/gates/pre-commit/GATE.md +137 -0
- package/presets/cursor/rules/orchestration.mdc +1 -1
- package/presets/cursor/skills/backlog/SKILL.md +91 -0
- package/presets/cursor/skills/openspec/SKILL.md +5 -1
- package/presets/cursor/skills/security-ai-llm/SKILL.md +43 -0
- package/presets/cursor/skills/security-blue-team/SKILL.md +43 -0
- package/presets/cursor/skills/security-cloud/SKILL.md +43 -0
- package/presets/cursor/skills/security-crypto/SKILL.md +43 -0
- package/presets/cursor/skills/security-exploit-dev/SKILL.md +45 -0
- package/presets/cursor/skills/security-grc/SKILL.md +43 -0
- package/presets/cursor/skills/security-incident-response/SKILL.md +45 -0
- package/presets/cursor/skills/security-log-analysis/SKILL.md +43 -0
- package/presets/cursor/skills/security-malware-analysis/SKILL.md +44 -0
- package/presets/cursor/skills/security-mobile/SKILL.md +43 -0
- package/presets/cursor/skills/security-network/SKILL.md +43 -0
- package/presets/cursor/skills/security-ot-ics/SKILL.md +43 -0
- package/presets/cursor/skills/security-recon/SKILL.md +45 -0
- package/presets/cursor/skills/security-red-team/SKILL.md +44 -0
- package/presets/cursor/skills/security-reverse-engineering/SKILL.md +44 -0
- package/presets/cursor/skills/security-soc-automation/SKILL.md +43 -0
- package/presets/cursor/skills/security-threat-hunting/SKILL.md +43 -0
- package/presets/cursor/skills/security-vuln-assessment/SKILL.md +45 -0
- package/presets/cursor/skills/security-web/SKILL.md +44 -0
- package/presets/opencode/agents/architect.md +22 -1
- package/presets/opencode/agents/complexity-auditor.md +16 -1
- package/presets/opencode/agents/contract-builder.md +17 -1
- package/presets/opencode/agents/devil.md +158 -0
- package/presets/opencode/agents/docs.md +19 -1
- package/presets/opencode/agents/goal-planner.md +32 -2
- package/presets/opencode/agents/implementer.md +32 -2
- package/presets/opencode/agents/orchestrator.md +79 -12
- package/presets/opencode/agents/planner.md +61 -0
- package/presets/opencode/agents/repo-explorer.md +16 -0
- package/presets/opencode/agents/reviewer.md +33 -3
- package/presets/opencode/agents/security-reviewer.md +31 -1
- package/presets/opencode/agents/task-coach.md +69 -1
- package/presets/opencode/agents/tester.md +18 -1
- package/presets/opencode/commands/cc-api-contract.md +12 -0
- package/presets/opencode/commands/cc-ask.md +56 -0
- package/presets/opencode/commands/cc-backlog.md +68 -0
- package/presets/opencode/commands/cc-clarify.md +31 -0
- package/presets/opencode/commands/cc-council.md +87 -0
- package/presets/opencode/commands/cc-db-migration.md +22 -9
- package/presets/opencode/commands/cc-explore.md +35 -0
- package/presets/opencode/commands/cc-feature.md +41 -19
- package/presets/opencode/commands/cc-fix.md +50 -23
- package/presets/opencode/commands/cc-handoff.md +40 -0
- package/presets/opencode/commands/cc-iterative.md +127 -0
- package/presets/opencode/commands/cc-openspec.md +16 -1
- package/presets/opencode/commands/cc-pagespeed.md +12 -0
- package/presets/opencode/commands/cc-prototype.md +37 -0
- package/presets/opencode/commands/cc-refactor.md +12 -0
- package/presets/opencode/commands/cc-review.md +12 -0
- package/presets/opencode/commands/cc-scorecard.md +12 -0
- package/presets/opencode/commands/cc-security.md +179 -0
- package/presets/opencode/commands/cc-tdd-cycle.md +24 -0
- package/presets/opencode/commands/cc-test-plan.md +12 -0
- package/presets/opencode/commands/cc-triage.md +33 -0
- package/presets/opencode/gates/pre-commit/GATE.md +137 -0
- package/presets/opencode/prompts/v0.1.0/DEPRECATED.md +11 -0
- package/presets/opencode/prompts/v0.2.0/DEPRECATED.md +11 -0
- package/presets/opencode/prompts/v0.3.0/DEPRECATED.md +11 -0
- package/presets/opencode/prompts/v0.4.0/DEPRECATED.md +11 -0
- package/presets/opencode/prompts/v0.5.0/goal-planner.md +1 -1
- package/presets/opencode/prompts/v0.5.0/orchestrator.md +6 -6
- package/presets/opencode/prompts/v0.6.0/implementer.md +35 -0
- package/presets/opencode/prompts/v0.6.0/planner.md +36 -0
- package/presets/opencode/prompts/v0.6.0/reviewer.md +40 -0
- package/presets/opencode/prompts/v1.0.0/README.md +47 -0
- package/presets/opencode/prompts/v1.0.0/architect.md +259 -0
- package/presets/opencode/prompts/v1.0.0/complexity-auditor.md +116 -0
- package/presets/opencode/prompts/v1.0.0/contract-builder.md +120 -0
- package/presets/opencode/prompts/v1.0.0/devil.md +169 -0
- package/presets/opencode/prompts/v1.0.0/docs.md +229 -0
- package/presets/opencode/prompts/v1.0.0/goal-planner.md +123 -0
- package/presets/opencode/prompts/v1.0.0/implementer.md +228 -0
- package/presets/opencode/prompts/v1.0.0/orchestrator.md +474 -0
- package/presets/opencode/prompts/v1.0.0/planner.md +72 -0
- package/presets/opencode/prompts/v1.0.0/repo-explorer.md +147 -0
- package/presets/opencode/prompts/v1.0.0/reviewer.md +295 -0
- package/presets/opencode/prompts/v1.0.0/security-reviewer.md +170 -0
- package/presets/opencode/prompts/v1.0.0/task-coach.md +235 -0
- package/presets/opencode/prompts/v1.0.0/tester.md +298 -0
- package/presets/opencode/skills/backlog/SKILL.md +91 -0
- package/presets/opencode/skills/openspec/SKILL.md +5 -1
- package/presets/opencode/skills/security-ai-llm/SKILL.md +43 -0
- package/presets/opencode/skills/security-blue-team/SKILL.md +43 -0
- package/presets/opencode/skills/security-cloud/SKILL.md +43 -0
- package/presets/opencode/skills/security-crypto/SKILL.md +43 -0
- package/presets/opencode/skills/security-exploit-dev/SKILL.md +45 -0
- package/presets/opencode/skills/security-grc/SKILL.md +43 -0
- package/presets/opencode/skills/security-incident-response/SKILL.md +45 -0
- package/presets/opencode/skills/security-log-analysis/SKILL.md +43 -0
- package/presets/opencode/skills/security-malware-analysis/SKILL.md +44 -0
- package/presets/opencode/skills/security-mobile/SKILL.md +43 -0
- package/presets/opencode/skills/security-network/SKILL.md +43 -0
- package/presets/opencode/skills/security-ot-ics/SKILL.md +43 -0
- package/presets/opencode/skills/security-recon/SKILL.md +45 -0
- package/presets/opencode/skills/security-red-team/SKILL.md +44 -0
- package/presets/opencode/skills/security-reverse-engineering/SKILL.md +44 -0
- package/presets/opencode/skills/security-soc-automation/SKILL.md +43 -0
- package/presets/opencode/skills/security-threat-hunting/SKILL.md +43 -0
- package/presets/opencode/skills/security-vuln-assessment/SKILL.md +45 -0
- package/presets/opencode/skills/security-web/SKILL.md +44 -0
- package/presets/seo-hotel/settings.json +0 -17
- package/src/presets/council/council.yml +12 -0
- package/src/presets/manifests/agy.yml +2 -2
- package/src/presets/manifests/claude.yml +2 -2
- package/src/presets/manifests/codex.yml +2 -2
- package/src/presets/manifests/cursor.yml +2 -2
- package/src/presets/manifests/gemini.yml +2 -2
- package/src/presets/manifests/opencode.yml +2 -2
- package/src/presets/models/agy.yml +93 -66
- package/src/presets/models/claude.yml +79 -53
- package/src/presets/models/codex.yml +79 -54
- package/src/presets/models/cursor.yml +72 -58
- package/src/presets/models/gemini.yml +79 -53
- package/src/presets/models/opencode.yml +72 -46
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: security-log-analysis
|
|
3
|
+
description: >
|
|
4
|
+
Query and interpret security logs you are authorized to read. Build detections and investigations without leaking PII.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Security Log Analysis
|
|
8
|
+
|
|
9
|
+
## Authorization
|
|
10
|
+
|
|
11
|
+
Use this skill only with **explicit written authorization** for a named
|
|
12
|
+
scope (systems, environments, and time window). If authorization is missing,
|
|
13
|
+
expired, or the request is for someone else's systems, **stop**.
|
|
14
|
+
|
|
15
|
+
This skill is **defensive and owner-authorized**. It does not authorize
|
|
16
|
+
offensive cyber operations.
|
|
17
|
+
|
|
18
|
+
## Do
|
|
19
|
+
|
|
20
|
+
- Minimize PII in saved queries and screenshots
|
|
21
|
+
- Time-box queries; record the query and the index in the ticket
|
|
22
|
+
- Correlate identity, source IP, and resource — not just a single field
|
|
23
|
+
|
|
24
|
+
## Do not
|
|
25
|
+
|
|
26
|
+
- Export full production logs to a laptop or public gist
|
|
27
|
+
- Query other customers' tenants in a multi-tenant SaaS
|
|
28
|
+
|
|
29
|
+
- Do not produce exploit payloads, malware, or attack procedures.
|
|
30
|
+
|
|
31
|
+
## How to Use
|
|
32
|
+
|
|
33
|
+
Load this skill from `/cc-security` when the Task Card domain is `security-log-analysis`.
|
|
34
|
+
Example prompts:
|
|
35
|
+
|
|
36
|
+
- `Find failed logins then a success from a new country for our IdP (last 24h).`
|
|
37
|
+
- `Explain this CloudTrail burst: is it deploy automation or a key leak?`
|
|
38
|
+
|
|
39
|
+
## Integration
|
|
40
|
+
|
|
41
|
+
- Workflow: `/cc-security` (CCEP command `security`)
|
|
42
|
+
- Existing OWASP application-security skill remains `security` (not this id)
|
|
43
|
+
- High-risk changes still require `security-reviewer`
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: security-malware-analysis
|
|
3
|
+
description: >
|
|
4
|
+
Analyze suspicious artifacts in an isolated lab to contain and recover. For incident responders on owned estates. Never write, improve, or distribute malware.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Defensive Malware Analysis
|
|
8
|
+
|
|
9
|
+
## Authorization
|
|
10
|
+
|
|
11
|
+
Use this skill only with **explicit written authorization** for a named
|
|
12
|
+
scope (systems, environments, and time window). If authorization is missing,
|
|
13
|
+
expired, or the request is for someone else's systems, **stop**.
|
|
14
|
+
|
|
15
|
+
This skill is **defensive and owner-authorized**. It does not authorize
|
|
16
|
+
offensive cyber operations.
|
|
17
|
+
|
|
18
|
+
## Do
|
|
19
|
+
|
|
20
|
+
- Work only in an isolated lab with no production credentials
|
|
21
|
+
- Capture IOCs, family labels, and containment steps for the IR ticket
|
|
22
|
+
- Prefer vendor/sandbox reports plus hash look-ups over sample execution when possible
|
|
23
|
+
|
|
24
|
+
## Do not
|
|
25
|
+
|
|
26
|
+
- Write, compile, or 'improve' malware, ransomware, or wipers
|
|
27
|
+
- Share live samples outside the IR chain of custody
|
|
28
|
+
- Give attackers persistence or packing recipes
|
|
29
|
+
|
|
30
|
+
- Do not produce exploit payloads, malware, or attack procedures.
|
|
31
|
+
|
|
32
|
+
## How to Use
|
|
33
|
+
|
|
34
|
+
Load this skill from `/cc-security` when the Task Card domain is `security-malware-analysis`.
|
|
35
|
+
Example prompts:
|
|
36
|
+
|
|
37
|
+
- `A phishing attachment landed in our sandbox hash X. Summarize likely objectives and containment for IR — do not recreate the sample.`
|
|
38
|
+
- `Translate this EDR alert into a containment checklist for our Windows fleet.`
|
|
39
|
+
|
|
40
|
+
## Integration
|
|
41
|
+
|
|
42
|
+
- Workflow: `/cc-security` (CCEP command `security`)
|
|
43
|
+
- Existing OWASP application-security skill remains `security` (not this id)
|
|
44
|
+
- High-risk changes still require `security-reviewer`
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: security-mobile
|
|
3
|
+
description: >
|
|
4
|
+
Harden iOS/Android apps you ship: storage, TLS pinning policy, IPC, and backend trust. You still enforce authz on the server.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Mobile App Security
|
|
8
|
+
|
|
9
|
+
## Authorization
|
|
10
|
+
|
|
11
|
+
Use this skill only with **explicit written authorization** for a named
|
|
12
|
+
scope (systems, environments, and time window). If authorization is missing,
|
|
13
|
+
expired, or the request is for someone else's systems, **stop**.
|
|
14
|
+
|
|
15
|
+
This skill is **defensive and owner-authorized**. It does not authorize
|
|
16
|
+
offensive cyber operations.
|
|
17
|
+
|
|
18
|
+
## Do
|
|
19
|
+
|
|
20
|
+
- Assume the client is hostile; enforce authz on APIs
|
|
21
|
+
- Review local storage, backup flags, and WebView URLs
|
|
22
|
+
- Pin or constrain TLS per org policy; never ship debug trust-all
|
|
23
|
+
|
|
24
|
+
## Do not
|
|
25
|
+
|
|
26
|
+
- Provide IPA/APK cracking or cert-unpinning recipes for others' apps
|
|
27
|
+
- Store long-lived tokens in world-readable prefs
|
|
28
|
+
|
|
29
|
+
- Do not produce exploit payloads, malware, or attack procedures.
|
|
30
|
+
|
|
31
|
+
## How to Use
|
|
32
|
+
|
|
33
|
+
Load this skill from `/cc-security` when the Task Card domain is `security-mobile`.
|
|
34
|
+
Example prompts:
|
|
35
|
+
|
|
36
|
+
- `Review Android SharedPreferences usage for tokens in this module.`
|
|
37
|
+
- `Check that certificate pinning failures fail closed in release builds.`
|
|
38
|
+
|
|
39
|
+
## Integration
|
|
40
|
+
|
|
41
|
+
- Workflow: `/cc-security` (CCEP command `security`)
|
|
42
|
+
- Existing OWASP application-security skill remains `security` (not this id)
|
|
43
|
+
- High-risk changes still require `security-reviewer`
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: security-network
|
|
3
|
+
description: >
|
|
4
|
+
Harden network architecture, segmentation, TLS, and allowlists for systems you operate. Defensive design and review only.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Network Security
|
|
8
|
+
|
|
9
|
+
## Authorization
|
|
10
|
+
|
|
11
|
+
Use this skill only with **explicit written authorization** for a named
|
|
12
|
+
scope (systems, environments, and time window). If authorization is missing,
|
|
13
|
+
expired, or the request is for someone else's systems, **stop**.
|
|
14
|
+
|
|
15
|
+
This skill is **defensive and owner-authorized**. It does not authorize
|
|
16
|
+
offensive cyber operations.
|
|
17
|
+
|
|
18
|
+
## Do
|
|
19
|
+
|
|
20
|
+
- Prefer deny-by-default, least privilege, and explicit allowlists
|
|
21
|
+
- Review security groups, NACLs, and mesh policies against the threat model
|
|
22
|
+
- Require TLS with modern ciphers; flag plaintext admin paths
|
|
23
|
+
|
|
24
|
+
## Do not
|
|
25
|
+
|
|
26
|
+
- Provide packet-crafting or MITM instructions against third-party networks
|
|
27
|
+
- Open 0.0.0.0/0 'just for debugging' in production
|
|
28
|
+
|
|
29
|
+
- Do not produce exploit payloads, malware, or attack procedures.
|
|
30
|
+
|
|
31
|
+
## How to Use
|
|
32
|
+
|
|
33
|
+
Load this skill from `/cc-security` when the Task Card domain is `security-network`.
|
|
34
|
+
Example prompts:
|
|
35
|
+
|
|
36
|
+
- `Review terraform for the prod VPC: public subnets, SG ingress, and admin jump box.`
|
|
37
|
+
- `Propose segmentation between PCI and non-PCI subnets with testable terraform assertions.`
|
|
38
|
+
|
|
39
|
+
## Integration
|
|
40
|
+
|
|
41
|
+
- Workflow: `/cc-security` (CCEP command `security`)
|
|
42
|
+
- Existing OWASP application-security skill remains `security` (not this id)
|
|
43
|
+
- High-risk changes still require `security-reviewer`
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: security-ot-ics
|
|
3
|
+
description: >
|
|
4
|
+
Advise on defensive security for industrial control systems you operate. Safety first. No process-disruption guidance.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# OT / ICS Security
|
|
8
|
+
|
|
9
|
+
## Authorization
|
|
10
|
+
|
|
11
|
+
Use this skill only with **explicit written authorization** for a named
|
|
12
|
+
scope (systems, environments, and time window). If authorization is missing,
|
|
13
|
+
expired, or the request is for someone else's systems, **stop**.
|
|
14
|
+
|
|
15
|
+
This skill is **defensive and owner-authorized**. It does not authorize
|
|
16
|
+
offensive cyber operations.
|
|
17
|
+
|
|
18
|
+
## Do
|
|
19
|
+
|
|
20
|
+
- Separate OT networks; no direct internet to PLCs
|
|
21
|
+
- Change default credentials; document who can stop a line
|
|
22
|
+
- Patch with maintenance windows; test on a replica
|
|
23
|
+
|
|
24
|
+
## Do not
|
|
25
|
+
|
|
26
|
+
- Suggest actions that could halt unsafe physical processes
|
|
27
|
+
- Scan or 'test' live safety systems without OT engineering approval
|
|
28
|
+
|
|
29
|
+
- Do not produce exploit payloads, malware, or attack procedures.
|
|
30
|
+
|
|
31
|
+
## How to Use
|
|
32
|
+
|
|
33
|
+
Load this skill from `/cc-security` when the Task Card domain is `security-ot-ics`.
|
|
34
|
+
Example prompts:
|
|
35
|
+
|
|
36
|
+
- `Review the jump-host design between IT and the plant VLAN.`
|
|
37
|
+
- `Draft a change window checklist for a PLC firmware update.`
|
|
38
|
+
|
|
39
|
+
## Integration
|
|
40
|
+
|
|
41
|
+
- Workflow: `/cc-security` (CCEP command `security`)
|
|
42
|
+
- Existing OWASP application-security skill remains `security` (not this id)
|
|
43
|
+
- High-risk changes still require `security-reviewer`
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: security-recon
|
|
3
|
+
description: >
|
|
4
|
+
Map owned assets, attack surface, and inventory for systems the requester is authorized to assess. Use for asset discovery, service catalogs, and exposure reviews — never unauthorized scanning.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Authorized Reconnaissance
|
|
8
|
+
|
|
9
|
+
## Authorization
|
|
10
|
+
|
|
11
|
+
Use this skill only with **explicit written authorization** for a named
|
|
12
|
+
scope (systems, environments, and time window). If authorization is missing,
|
|
13
|
+
expired, or the request is for someone else's systems, **stop**.
|
|
14
|
+
|
|
15
|
+
This skill is **defensive and owner-authorized**. It does not authorize
|
|
16
|
+
offensive cyber operations.
|
|
17
|
+
|
|
18
|
+
## Do
|
|
19
|
+
|
|
20
|
+
- Inventory hosts, services, and identities the authorization letter names
|
|
21
|
+
- Prefer read-only, rate-limited discovery against owned environments
|
|
22
|
+
- Record data sources (CMDB, cloud APIs, repo maps) in the Task Card
|
|
23
|
+
- Flag shadow IT only to the asset owner
|
|
24
|
+
|
|
25
|
+
## Do not
|
|
26
|
+
|
|
27
|
+
- Scan networks, IPs, or tenants outside the authorization window
|
|
28
|
+
- Use third-party scanners against production without change control
|
|
29
|
+
- Store credentials, tokens, or dumps in the skill output
|
|
30
|
+
|
|
31
|
+
- Do not produce exploit payloads, malware, or attack procedures.
|
|
32
|
+
|
|
33
|
+
## How to Use
|
|
34
|
+
|
|
35
|
+
Load this skill from `/cc-security` when the Task Card domain is `security-recon`.
|
|
36
|
+
Example prompts:
|
|
37
|
+
|
|
38
|
+
- `Inventory the staging VPC we own: services, public endpoints, and IAM principals in scope for Q3.`
|
|
39
|
+
- `From this repo, list internet-facing routes and compare them to the authorized asset list.`
|
|
40
|
+
|
|
41
|
+
## Integration
|
|
42
|
+
|
|
43
|
+
- Workflow: `/cc-security` (CCEP command `security`)
|
|
44
|
+
- Existing OWASP application-security skill remains `security` (not this id)
|
|
45
|
+
- High-risk changes still require `security-reviewer`
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: security-red-team
|
|
3
|
+
description: >
|
|
4
|
+
Plan purple-team / adversary-simulation exercises against systems you are contracted to test. High-level objectives and detection gaps only. No live attack procedures or payloads.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Authorized Adversary Simulation (Planning)
|
|
8
|
+
|
|
9
|
+
## Authorization
|
|
10
|
+
|
|
11
|
+
Use this skill only with **explicit written authorization** for a named
|
|
12
|
+
scope (systems, environments, and time window). If authorization is missing,
|
|
13
|
+
expired, or the request is for someone else's systems, **stop**.
|
|
14
|
+
|
|
15
|
+
This skill is **defensive and owner-authorized**. It does not authorize
|
|
16
|
+
offensive cyber operations.
|
|
17
|
+
|
|
18
|
+
## Do
|
|
19
|
+
|
|
20
|
+
- Require a rules-of-engagement document before any exercise
|
|
21
|
+
- Map ATT&CK techniques to detections you want to validate
|
|
22
|
+
- Coordinate with blue team; prefer tabletop if production risk is high
|
|
23
|
+
|
|
24
|
+
## Do not
|
|
25
|
+
|
|
26
|
+
- Provide exploit steps, malware, phishing kits, or C2 playbooks
|
|
27
|
+
- Run unapproved tests against production
|
|
28
|
+
- Help with unauthorized 'red team' against third parties
|
|
29
|
+
|
|
30
|
+
- Do not produce exploit payloads, malware, or attack procedures.
|
|
31
|
+
|
|
32
|
+
## How to Use
|
|
33
|
+
|
|
34
|
+
Load this skill from `/cc-security` when the Task Card domain is `security-red-team`.
|
|
35
|
+
Example prompts:
|
|
36
|
+
|
|
37
|
+
- `Draft ROE and in-scope techniques for an internal purple-team week on staging.`
|
|
38
|
+
- `List detections we should have for credential stuffing against our login — no attack scripts.`
|
|
39
|
+
|
|
40
|
+
## Integration
|
|
41
|
+
|
|
42
|
+
- Workflow: `/cc-security` (CCEP command `security`)
|
|
43
|
+
- Existing OWASP application-security skill remains `security` (not this id)
|
|
44
|
+
- High-risk changes still require `security-reviewer`
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: security-reverse-engineering
|
|
3
|
+
description: >
|
|
4
|
+
Analyze binaries or protocols you own (or have license to inspect) to improve security, compatibility, or incident response. Not for cracking, DRM bypass, or malware creation.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Authorized Reverse Engineering
|
|
8
|
+
|
|
9
|
+
## Authorization
|
|
10
|
+
|
|
11
|
+
Use this skill only with **explicit written authorization** for a named
|
|
12
|
+
scope (systems, environments, and time window). If authorization is missing,
|
|
13
|
+
expired, or the request is for someone else's systems, **stop**.
|
|
14
|
+
|
|
15
|
+
This skill is **defensive and owner-authorized**. It does not authorize
|
|
16
|
+
offensive cyber operations.
|
|
17
|
+
|
|
18
|
+
## Do
|
|
19
|
+
|
|
20
|
+
- Confirm license and ownership before inspecting a binary
|
|
21
|
+
- Focus on trust boundaries, crypto misuse, and update integrity
|
|
22
|
+
- Document findings as hardening tasks with tests where code exists
|
|
23
|
+
|
|
24
|
+
## Do not
|
|
25
|
+
|
|
26
|
+
- Bypass license checks, DRM, or access controls you do not own
|
|
27
|
+
- Publish unpacking or unpacker tutorials for third-party software
|
|
28
|
+
- Produce malware droppers or obfuscators
|
|
29
|
+
|
|
30
|
+
- Do not produce exploit payloads, malware, or attack procedures.
|
|
31
|
+
|
|
32
|
+
## How to Use
|
|
33
|
+
|
|
34
|
+
Load this skill from `/cc-security` when the Task Card domain is `security-reverse-engineering`.
|
|
35
|
+
Example prompts:
|
|
36
|
+
|
|
37
|
+
- `Review our firmware update signer: how is the public key pinned, and what tests prove tamper detection?`
|
|
38
|
+
- `Map native JNI entrypoints in our Android app for unsafe string concatenation.`
|
|
39
|
+
|
|
40
|
+
## Integration
|
|
41
|
+
|
|
42
|
+
- Workflow: `/cc-security` (CCEP command `security`)
|
|
43
|
+
- Existing OWASP application-security skill remains `security` (not this id)
|
|
44
|
+
- High-risk changes still require `security-reviewer`
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: security-soc-automation
|
|
3
|
+
description: >
|
|
4
|
+
Automate detection, enrichment, and response playbooks for a SOC you operate. Keep humans in the loop for destructive actions.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# SOC Automation
|
|
8
|
+
|
|
9
|
+
## Authorization
|
|
10
|
+
|
|
11
|
+
Use this skill only with **explicit written authorization** for a named
|
|
12
|
+
scope (systems, environments, and time window). If authorization is missing,
|
|
13
|
+
expired, or the request is for someone else's systems, **stop**.
|
|
14
|
+
|
|
15
|
+
This skill is **defensive and owner-authorized**. It does not authorize
|
|
16
|
+
offensive cyber operations.
|
|
17
|
+
|
|
18
|
+
## Do
|
|
19
|
+
|
|
20
|
+
- Automate enrichment (WHOIS, asset owner, hash reputation) not auto-wipe
|
|
21
|
+
- Version playbooks; require approval for isolate/disable-user actions
|
|
22
|
+
- Test detections with synthetic events in a lab tenant
|
|
23
|
+
|
|
24
|
+
## Do not
|
|
25
|
+
|
|
26
|
+
- Auto-disable production users or servers without an approval gate
|
|
27
|
+
- Pipe raw secrets from tickets into chat webhooks
|
|
28
|
+
|
|
29
|
+
- Do not produce exploit payloads, malware, or attack procedures.
|
|
30
|
+
|
|
31
|
+
## How to Use
|
|
32
|
+
|
|
33
|
+
Load this skill from `/cc-security` when the Task Card domain is `security-soc-automation`.
|
|
34
|
+
Example prompts:
|
|
35
|
+
|
|
36
|
+
- `Draft a SOAR playbook: phishing report → hash lookup → ticket, no auto-containment.`
|
|
37
|
+
- `Turn this Sigma-style idea into a documented detection plus a false-positive test.`
|
|
38
|
+
|
|
39
|
+
## Integration
|
|
40
|
+
|
|
41
|
+
- Workflow: `/cc-security` (CCEP command `security`)
|
|
42
|
+
- Existing OWASP application-security skill remains `security` (not this id)
|
|
43
|
+
- High-risk changes still require `security-reviewer`
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: security-threat-hunting
|
|
3
|
+
description: >
|
|
4
|
+
Hunt for adversary techniques in telemetry you are authorized to query. Hypothesis-driven, evidence-first, no live offensive operations.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Threat Hunting
|
|
8
|
+
|
|
9
|
+
## Authorization
|
|
10
|
+
|
|
11
|
+
Use this skill only with **explicit written authorization** for a named
|
|
12
|
+
scope (systems, environments, and time window). If authorization is missing,
|
|
13
|
+
expired, or the request is for someone else's systems, **stop**.
|
|
14
|
+
|
|
15
|
+
This skill is **defensive and owner-authorized**. It does not authorize
|
|
16
|
+
offensive cyber operations.
|
|
17
|
+
|
|
18
|
+
## Do
|
|
19
|
+
|
|
20
|
+
- State a hypothesis (technique + data source + expected artifact)
|
|
21
|
+
- Query only approved telemetry (SIEM, EDR, cloud logs)
|
|
22
|
+
- Promote confirmed hits to IR with timestamps and host identity
|
|
23
|
+
|
|
24
|
+
## Do not
|
|
25
|
+
|
|
26
|
+
- Run offensive tooling on production to 'verify' a hunt
|
|
27
|
+
- Query personal mailboxes or systems outside the authorization scope
|
|
28
|
+
|
|
29
|
+
- Do not produce exploit payloads, malware, or attack procedures.
|
|
30
|
+
|
|
31
|
+
## How to Use
|
|
32
|
+
|
|
33
|
+
Load this skill from `/cc-security` when the Task Card domain is `security-threat-hunting`.
|
|
34
|
+
Example prompts:
|
|
35
|
+
|
|
36
|
+
- `Hypothesis: stolen refresh tokens in our IdP logs this week. Query patterns and list follow-ups.`
|
|
37
|
+
- `Hunt for unusual service-account key creation in GCP for project X (authorized).`
|
|
38
|
+
|
|
39
|
+
## Integration
|
|
40
|
+
|
|
41
|
+
- Workflow: `/cc-security` (CCEP command `security`)
|
|
42
|
+
- Existing OWASP application-security skill remains `security` (not this id)
|
|
43
|
+
- High-risk changes still require `security-reviewer`
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: security-vuln-assessment
|
|
3
|
+
description: >
|
|
4
|
+
Plan and report authorized vulnerability assessments on owned systems. Prioritize evidence, severity, and remediations. Do not deliver exploit payloads.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Vulnerability Assessment
|
|
8
|
+
|
|
9
|
+
## Authorization
|
|
10
|
+
|
|
11
|
+
Use this skill only with **explicit written authorization** for a named
|
|
12
|
+
scope (systems, environments, and time window). If authorization is missing,
|
|
13
|
+
expired, or the request is for someone else's systems, **stop**.
|
|
14
|
+
|
|
15
|
+
This skill is **defensive and owner-authorized**. It does not authorize
|
|
16
|
+
offensive cyber operations.
|
|
17
|
+
|
|
18
|
+
## Do
|
|
19
|
+
|
|
20
|
+
- Use scanner findings plus code review as evidence, not as a scoreboard
|
|
21
|
+
- Map issues to OWASP / CWE and to a concrete fix in the repo
|
|
22
|
+
- Require a reproduction that is safe (config, unit test, or staging)
|
|
23
|
+
- Track false positives explicitly
|
|
24
|
+
|
|
25
|
+
## Do not
|
|
26
|
+
|
|
27
|
+
- Ship exploit PoCs, weaponized payloads, or live attack scripts
|
|
28
|
+
- Scan production without a documented freeze and rollback
|
|
29
|
+
- Mark a finding closed without a failing-then-passing test when code changes
|
|
30
|
+
|
|
31
|
+
- Do not produce exploit payloads, malware, or attack procedures.
|
|
32
|
+
|
|
33
|
+
## How to Use
|
|
34
|
+
|
|
35
|
+
Load this skill from `/cc-security` when the Task Card domain is `security-vuln-assessment`.
|
|
36
|
+
Example prompts:
|
|
37
|
+
|
|
38
|
+
- `Assess the checkout API in staging (ticket SEC-214). Report exploitable authz gaps as remediations, not exploits.`
|
|
39
|
+
- `Triage SAST results on src/auth and turn confirmed issues into failing tests plus patches.`
|
|
40
|
+
|
|
41
|
+
## Integration
|
|
42
|
+
|
|
43
|
+
- Workflow: `/cc-security` (CCEP command `security`)
|
|
44
|
+
- Existing OWASP application-security skill remains `security` (not this id)
|
|
45
|
+
- High-risk changes still require `security-reviewer`
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: security-web
|
|
3
|
+
description: >
|
|
4
|
+
Review and harden web apps (authz, XSS, CSRF, SSRF, injection) on code you maintain. Complements the OWASP `security` skill. No exploit kits.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Web Application Security
|
|
8
|
+
|
|
9
|
+
## Authorization
|
|
10
|
+
|
|
11
|
+
Use this skill only with **explicit written authorization** for a named
|
|
12
|
+
scope (systems, environments, and time window). If authorization is missing,
|
|
13
|
+
expired, or the request is for someone else's systems, **stop**.
|
|
14
|
+
|
|
15
|
+
This skill is **defensive and owner-authorized**. It does not authorize
|
|
16
|
+
offensive cyber operations.
|
|
17
|
+
|
|
18
|
+
## Do
|
|
19
|
+
|
|
20
|
+
- Enforce authorization on every handler; never rely on the UI
|
|
21
|
+
- Parameterize queries; reject unknown fields
|
|
22
|
+
- Treat cookies, tokens, and redirects as untrusted until validated
|
|
23
|
+
- Add tests for authz, CSRF, and open redirects when you change those paths
|
|
24
|
+
|
|
25
|
+
## Do not
|
|
26
|
+
|
|
27
|
+
- Provide XSS or SQLi payloads for use against systems you do not own
|
|
28
|
+
- Disable CSRF or SameSite 'to make local dev easier' in production configs
|
|
29
|
+
|
|
30
|
+
- Do not produce exploit payloads, malware, or attack procedures.
|
|
31
|
+
|
|
32
|
+
## How to Use
|
|
33
|
+
|
|
34
|
+
Load this skill from `/cc-security` when the Task Card domain is `security-web`.
|
|
35
|
+
Example prompts:
|
|
36
|
+
|
|
37
|
+
- `Review our Next.js Server Actions for IDOR and CSRF. Propose tests, not exploits.`
|
|
38
|
+
- `Harden the file-upload endpoint: type, size, path containment, and tests.`
|
|
39
|
+
|
|
40
|
+
## Integration
|
|
41
|
+
|
|
42
|
+
- Workflow: `/cc-security` (CCEP command `security`)
|
|
43
|
+
- Existing OWASP application-security skill remains `security` (not this id)
|
|
44
|
+
- High-risk changes still require `security-reviewer`
|
package/presets/codex/AGENTS.md
CHANGED
|
@@ -102,19 +102,19 @@ When multiple signals apply, take the highest risk level. Do not average.
|
|
|
102
102
|
|
|
103
103
|
| Task Type | Risk | Route |
|
|
104
104
|
| -------------------- | ----------- | --------------------------------------------------- |
|
|
105
|
-
| New feature design | any | `architect` → `implementer`
|
|
106
|
-
| Bug fix | low | `implementer`
|
|
107
|
-
| Bug fix | medium–high | `task-coach` → `
|
|
105
|
+
| New feature design | any | `architect` → `tester` → `implementer` |
|
|
106
|
+
| Bug fix | low | `tester` → `implementer` |
|
|
107
|
+
| Bug fix | medium–high | `task-coach` → `tester` → `implementer` |
|
|
108
108
|
| Refactor | low | `implementer` |
|
|
109
109
|
| Refactor | medium–high | `architect` → `implementer` → `reviewer` |
|
|
110
110
|
| API change | any | `architect` → `implementer` → `reviewer` |
|
|
111
|
-
| Database migration | any | `architect` → `
|
|
111
|
+
| Database migration | any | `architect` → `tester` → `implementer` → `reviewer` |
|
|
112
112
|
| Test coverage | any | `tester` |
|
|
113
113
|
| Documentation update | any | `docs` |
|
|
114
114
|
| Codebase exploration | any | `repo-explorer` |
|
|
115
115
|
| Code review | any | `reviewer` |
|
|
116
116
|
| Security review | high | `security-reviewer` → `reviewer` |
|
|
117
|
-
| DDD→SDD→TDD pipeline | any | `contract-builder` → `architect` → `
|
|
117
|
+
| DDD→SDD→TDD pipeline | any | `contract-builder` → `architect` → `tester` → `implementer` |
|
|
118
118
|
|
|
119
119
|
---
|
|
120
120
|
|
|
@@ -868,7 +868,7 @@ needs a multi-step plan before delegation.
|
|
|
868
868
|
|
|
869
869
|
The planner matches objective keywords against built-in templates (auth, crud,
|
|
870
870
|
search, notification, migration) and falls back to a generic 4-task chain:
|
|
871
|
-
`task-coach → architect →
|
|
871
|
+
`task-coach → architect → tester → implementer`.
|
|
872
872
|
|
|
873
873
|
**Dependency order delegation (orchestrator):**
|
|
874
874
|
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: >-
|
|
3
|
+
[cc: alias] Recommend one CodeConductor slash command from a natural-language
|
|
4
|
+
problem. Does not start that workflow.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Ask — recommend a slash command
|
|
8
|
+
|
|
9
|
+
Problem: $ARGUMENTS
|
|
10
|
+
|
|
11
|
+
This is a **router**, not a delivery workflow. Recommend exactly one command.
|
|
12
|
+
Do **not** run the recommended `/cc:` command unless the human confirms.
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Step 1 — Recommend (deterministic)
|
|
17
|
+
|
|
18
|
+
Run (local repo: `bun run dev`; published package: `npx cc-codeconductor`):
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
bun run dev ask "$ARGUMENTS" --output json
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
or:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
npx cc-codeconductor ask "$ARGUMENTS" --output json
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
The catalog is only:
|
|
31
|
+
|
|
32
|
+
| Slash | When |
|
|
33
|
+
| ----- | ---- |
|
|
34
|
+
| `/cc:feature` | new behavior |
|
|
35
|
+
| `/cc:fix` | bug / regression |
|
|
36
|
+
| `/cc:refactor` | structure, no behavior change |
|
|
37
|
+
| `/cc:review` | inspect a diff/PR |
|
|
38
|
+
| `/cc:tdd-cycle` | red → green → refactor |
|
|
39
|
+
| `/cc:backlog` | create or append BACKLOG.md / objectives |
|
|
40
|
+
| `/cc:openspec` | BACKLOG / BC-xxx delivery |
|
|
41
|
+
|
|
42
|
+
If the CLI is unavailable, apply the same catalog and the same priority:
|
|
43
|
+
backlog (author) vs openspec (deliver) → tdd-cycle → review → refactor → fix → feature (default).
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## Step 2 — Show and stop
|
|
48
|
+
|
|
49
|
+
Print:
|
|
50
|
+
|
|
51
|
+
- **Recommended:** the slash command
|
|
52
|
+
- **Why:** one or two sentences from the CLI `reason` (or your matching)
|
|
53
|
+
|
|
54
|
+
**STOP.** Wait for the human. Do not invoke the recommended workflow.
|
|
55
|
+
|
|
56
|
+
For a full preset inventory (skills, commands on disk), use `/cc:help` / `cc-help`.
|