cue-ai 0.5.0 → 0.7.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 +757 -110
- package/package.json +5 -5
- package/profiles/README.md +12 -12
- package/profiles/SCHEMA.md +31 -3
- package/profiles/_cache/README.md +1 -1
- package/profiles/_types.ts +26 -1
- package/profiles/backend/profile.yaml +1 -0
- package/profiles/career/profile.yaml +13 -0
- package/profiles/core/profile.yaml +76 -9
- package/profiles/creative-media/README.md +1 -1
- package/profiles/cybersecurity/profile.yaml +779 -756
- package/profiles/ecc/profile.yaml +39 -0
- package/profiles/event-design/profile.yaml +10 -0
- package/profiles/fleet-control/README.md +1 -1
- package/profiles/frontend/profile.yaml +14 -0
- package/profiles/full/README.md +1 -1
- package/profiles/go-api/profile.yaml +1 -0
- package/profiles/marketing/profile.yaml +12 -1
- package/profiles/predict-everything/profile.yaml +9 -0
- package/profiles/rust/profile.yaml +22 -3
- package/profiles/rust-cli/profile.yaml +14 -0
- package/profiles/rust-core/profile.yaml +35 -0
- package/profiles/rust-embedded/profile.yaml +11 -0
- package/profiles/rust-ffi/profile.yaml +13 -0
- package/profiles/rust-game/profile.yaml +11 -0
- package/profiles/rust-wasm/profile.yaml +11 -0
- package/profiles/rust-web/profile.yaml +17 -0
- package/profiles/schema.json +44 -4
- package/profiles/trendradar/profile.yaml +11 -0
- package/resources/mcps/README.md +39 -164
- package/resources/mcps/configs/claude.sanitized.json +55 -0
- package/resources/mcps/configs/claude_runtime.sanitized.json +47 -0
- package/resources/skills/README.md +70 -113
- package/resources/skills/skills/event-design/wedding-invitations/SKILL.md +43 -0
- package/resources/skills/skills/meta/acpx/SKILL.md +78 -0
- package/resources/skills/skills/meta/cue-usage/SKILL.md +24 -0
- package/resources/skills/skills/meta/profile-fit-monitor/SKILL.md +24 -0
- package/resources/skills/skills/predict-everything/mirofish/SKILL.md +75 -0
- package/resources/skills/skills/research/trendradar/SKILL.md +88 -0
- package/resources/skills/skills/rust/async-tokio/SKILL.md +27 -0
- package/resources/skills/skills/rust/axum-api/SKILL.md +38 -0
- package/resources/skills/skills/rust/bacon-watch/SKILL.md +24 -0
- package/resources/skills/skills/rust/bevy/SKILL.md +43 -0
- package/resources/skills/skills/rust/bindgen/SKILL.md +39 -0
- package/resources/skills/skills/rust/cargo-audit/SKILL.md +26 -0
- package/resources/skills/skills/rust/cargo-basics/SKILL.md +28 -0
- package/resources/skills/skills/rust/cargo-chef/SKILL.md +43 -0
- package/resources/skills/skills/rust/cargo-edit/SKILL.md +26 -0
- package/resources/skills/skills/rust/cargo-expand/SKILL.md +24 -0
- package/resources/skills/skills/rust/cargo-flamegraph/SKILL.md +26 -0
- package/resources/skills/skills/rust/cargo-fuzz/SKILL.md +34 -0
- package/resources/skills/skills/rust/cargo-hack/SKILL.md +26 -0
- package/resources/skills/skills/rust/cargo-msrv/SKILL.md +30 -0
- package/resources/skills/skills/rust/cargo-mutants/SKILL.md +26 -0
- package/resources/skills/skills/rust/cargo-nextest/SKILL.md +24 -0
- package/resources/skills/skills/rust/cargo-readme/SKILL.md +36 -0
- package/resources/skills/skills/rust/cbindgen/SKILL.md +41 -0
- package/resources/skills/skills/rust/chisel-tool/SKILL.md +32 -0
- package/resources/skills/skills/rust/clap-cli/SKILL.md +44 -0
- package/resources/skills/skills/rust/clippy-and-fmt/SKILL.md +25 -0
- package/resources/skills/skills/rust/cross-compile/SKILL.md +26 -0
- package/resources/skills/skills/rust/embedded/SKILL.md +33 -0
- package/resources/skills/skills/rust/error-handling/SKILL.md +32 -0
- package/resources/skills/skills/rust/just-runner/SKILL.md +26 -0
- package/resources/skills/skills/rust/mdbook/SKILL.md +25 -0
- package/resources/skills/skills/rust/napi-rs/SKILL.md +32 -0
- package/resources/skills/skills/rust/no-std/SKILL.md +42 -0
- package/resources/skills/skills/rust/property-testing/SKILL.md +35 -0
- package/resources/skills/skills/rust/pyo3/SKILL.md +40 -0
- package/resources/skills/skills/rust/ratatui-tui/SKILL.md +36 -0
- package/resources/skills/skills/rust/release-plz/SKILL.md +27 -0
- package/resources/skills/skills/rust/reqwest/SKILL.md +37 -0
- package/resources/skills/skills/rust/sccache/SKILL.md +28 -0
- package/resources/skills/skills/rust/serde/SKILL.md +30 -0
- package/resources/skills/skills/rust/snapshot-testing/SKILL.md +30 -0
- package/resources/skills/skills/rust/sqlx-cli/SKILL.md +33 -0
- package/resources/skills/skills/rust/tracing/SKILL.md +36 -0
- package/resources/skills/skills/rust/typos-spellcheck/SKILL.md +31 -0
- package/resources/skills/skills/rust/uniffi/SKILL.md +38 -0
- package/resources/skills/skills/rust/wasm-rust/SKILL.md +27 -0
- package/resources/skills/skills/security/agentshield/SKILL.md +119 -0
- package/src/commands/_index.ts +47 -3
- package/src/commands/cli.test.ts +192 -0
- package/src/commands/cli.ts +303 -0
- package/src/commands/current.ts +1 -1
- package/src/commands/debug.test.ts +62 -0
- package/src/commands/debug.ts +212 -0
- package/src/commands/discover.scoring.test.ts +216 -0
- package/src/commands/discover.test.ts +145 -0
- package/src/commands/discover.ts +2618 -0
- package/src/commands/eval-behavior.test.ts +56 -0
- package/src/commands/eval-behavior.ts +189 -0
- package/src/commands/eval.test.ts +102 -0
- package/src/commands/eval.ts +348 -0
- package/src/commands/evolve.ts +291 -0
- package/src/commands/failures.test.ts +78 -0
- package/src/commands/failures.ts +393 -0
- package/src/commands/feedback.ts +219 -0
- package/src/commands/init.ts +26 -0
- package/src/commands/launch.e2e.test.ts +9 -1
- package/src/commands/launch.ts +174 -11
- package/src/commands/lint-skill.ts +157 -0
- package/src/commands/marketplace.ts +763 -2
- package/src/commands/new.ts +1 -1
- package/src/commands/optimizer.ts +92 -28
- package/src/commands/profile-draft-skill.test.ts +96 -0
- package/src/commands/profile-draft-skill.ts +287 -0
- package/src/commands/profile-evolve.test.ts +126 -0
- package/src/commands/profile-evolve.ts +0 -0
- package/src/commands/profile-suggest.ts +223 -0
- package/src/commands/profile.ts +41 -0
- package/src/commands/quick.ts +2 -17
- package/src/commands/scan.ts +2 -2
- package/src/commands/score.ts +1 -1
- package/src/commands/share.ts +1 -1
- package/src/commands/sources.ts +2 -2
- package/src/commands/submit-profile.ts +262 -0
- package/src/commands/upgrade.ts +1 -1
- package/src/commands/use.ts +35 -5
- package/src/commands/validate.ts +1 -1
- package/src/index.ts +66 -0
- package/src/lib/analytics.ts +48 -2
- package/src/lib/claude-binary.ts +39 -0
- package/src/lib/cli-extractor.ts +77 -0
- package/src/lib/cluster-skills.test.ts +268 -0
- package/src/lib/cluster-skills.ts +290 -0
- package/src/lib/credentials-sync.test.ts +208 -0
- package/src/lib/credentials-sync.ts +205 -0
- package/src/lib/mcp-materializer.test.ts +1 -1
- package/src/lib/persona-playbooks.test.ts +111 -0
- package/src/lib/pr-poster.test.ts +243 -0
- package/src/lib/pr-poster.ts +285 -0
- package/src/lib/pr-throttle.test.ts +148 -0
- package/src/lib/pr-throttle.ts +209 -0
- package/src/lib/profile-generator.test.ts +1 -1
- package/src/lib/profile-generator.ts +2 -2
- package/src/lib/profile-linter.test.ts +6 -3
- package/src/lib/profile-linter.ts +71 -8
- package/src/lib/profile-loader.test.ts +1 -1
- package/src/lib/profile-loader.ts +16 -0
- package/src/lib/resolver-local.test.ts +1 -1
- package/src/lib/resolver-npx.test.ts +76 -1
- package/src/lib/resolver-npx.ts +35 -3
- package/src/lib/resolver-plugins.test.ts +1 -1
- package/src/lib/runtime-materializer.test.ts +191 -7
- package/src/lib/runtime-materializer.ts +310 -42
- package/src/lib/scan-plugins.test.ts +1 -1
- package/src/lib/skill-linter.test.ts +174 -0
- package/src/lib/skill-linter.ts +507 -0
- package/src/lib/skill-subset.test.ts +95 -0
- package/src/lib/skill-subset.ts +166 -0
- package/src/lib/star-prompt.ts +1 -1
- package/src/lib/uvx-installer.test.ts +229 -0
- package/src/lib/uvx-installer.ts +278 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cue-ai",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "cue — Agent Profile Manager for Claude Code & Codex. Pick a profile, launch with the right skills, MCPs, and plugins.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"cue": "bun src/index.ts",
|
|
15
15
|
"test": "bun test",
|
|
16
16
|
"build": "bun build src/index.ts --no-bundle",
|
|
17
|
-
"postinstall": "echo '' && echo ' ✅ cue installed. Run: cue init' && echo ' Docs: https://github.com/
|
|
17
|
+
"postinstall": "echo '' && echo ' ✅ cue installed. Run: cue init' && echo ' Docs: https://github.com/opencue/cue' && echo ''"
|
|
18
18
|
},
|
|
19
19
|
"keywords": [
|
|
20
20
|
"claude-code",
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"license": "MIT",
|
|
32
32
|
"repository": {
|
|
33
33
|
"type": "git",
|
|
34
|
-
"url": "https://github.com/
|
|
34
|
+
"url": "https://github.com/opencue/cue.git"
|
|
35
35
|
},
|
|
36
|
-
"homepage": "https://github.com/
|
|
36
|
+
"homepage": "https://github.com/opencue/cue",
|
|
37
37
|
"bugs": {
|
|
38
|
-
"url": "https://github.com/
|
|
38
|
+
"url": "https://github.com/opencue/cue/issues"
|
|
39
39
|
},
|
|
40
40
|
"files": [
|
|
41
41
|
"bin/",
|
package/profiles/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# profiles/
|
|
2
2
|
|
|
3
|
-
Where
|
|
3
|
+
Where cue profiles live. Each profile is one directory under `profiles/<name>/`
|
|
4
4
|
containing a `profile.yaml`. The schema for that file is documented in
|
|
5
5
|
[`SCHEMA.md`](./SCHEMA.md).
|
|
6
6
|
|
|
@@ -11,7 +11,7 @@ profiles/
|
|
|
11
11
|
├── SCHEMA.md # field-by-field reference + example
|
|
12
12
|
├── schema.json # JSON Schema (draft-07) for tooling
|
|
13
13
|
├── _types.ts # TypeScript types consumed by bin/cli/
|
|
14
|
-
├── _cache/ # npx-skill fetch cache, populated by `
|
|
14
|
+
├── _cache/ # npx-skill fetch cache, populated by `cue use`; gitignored
|
|
15
15
|
├── _active/ # symlink to the currently-active global profile; gitignored
|
|
16
16
|
├── _examples/ # tiny test-fixture profiles, NOT installed
|
|
17
17
|
└── <name>/ # one directory per real profile
|
|
@@ -24,8 +24,8 @@ profiles/
|
|
|
24
24
|
A profile bundles three kinds of capability that a Claude Code or Codex session
|
|
25
25
|
should see together:
|
|
26
26
|
|
|
27
|
-
- **skills** — local (from `
|
|
28
|
-
- **mcps** — server IDs from `
|
|
27
|
+
- **skills** — local (from `cue/skills/`), npx-fetched, or plugin-namespaced
|
|
28
|
+
- **mcps** — server IDs from `cue/mcps/configs/`, materialized as `.mcp.json`
|
|
29
29
|
- **env** — optional environment variables the agents need
|
|
30
30
|
|
|
31
31
|
Profiles can `inherits` from one other profile to share a common baseline.
|
|
@@ -35,25 +35,25 @@ Inheritance depth is capped at 3; cycles are an error.
|
|
|
35
35
|
|
|
36
36
|
| Path | Owner | Notes |
|
|
37
37
|
|--------------------------|-------------|--------------------------------------------------|
|
|
38
|
-
| `profiles/<name>/profile.yaml` | profile author | Hand-written or generated by `
|
|
39
|
-
| `profiles/_cache/*` | `
|
|
40
|
-
| `profiles/_active/current` | `
|
|
38
|
+
| `profiles/<name>/profile.yaml` | profile author | Hand-written or generated by `cue new` |
|
|
39
|
+
| `profiles/_cache/*` | `cue use` | Auto-populated; never edit by hand |
|
|
40
|
+
| `profiles/_active/current` | `cue use --global` | Symlink to active profile; gitignored |
|
|
41
41
|
| `profiles/_examples/*` | repo | Fixtures used by tests; safe to extend |
|
|
42
42
|
|
|
43
43
|
## Reading further
|
|
44
44
|
|
|
45
45
|
- [`SCHEMA.md`](./SCHEMA.md) — full field reference
|
|
46
46
|
- [`../docs/profiles/quickstart.md`](../docs/profiles/quickstart.md) — 3-command happy path
|
|
47
|
-
- [`../docs/profiles/auto-generation.md`](../docs/profiles/auto-generation.md) — `
|
|
47
|
+
- [`../docs/profiles/auto-generation.md`](../docs/profiles/auto-generation.md) — `cue scan` and `cue new`
|
|
48
48
|
- [`../docs/profiles/anatomy.md`](../docs/profiles/anatomy.md) — deep dive on a real profile
|
|
49
|
-
- [`../docs/profiles/troubleshooting.md`](../docs/profiles/troubleshooting.md) — `
|
|
49
|
+
- [`../docs/profiles/troubleshooting.md`](../docs/profiles/troubleshooting.md) — `cue doctor` and common errors
|
|
50
50
|
|
|
51
51
|
## Adding a profile
|
|
52
52
|
|
|
53
53
|
See [`../CONTRIBUTING.md`](../CONTRIBUTING.md) § "Adding a profile". The short version:
|
|
54
54
|
|
|
55
55
|
```bash
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
cue new my-profile --from-scan --auto # bucket discovered skills automatically
|
|
57
|
+
cue validate my-profile # check
|
|
58
|
+
cue use my-profile --here # activate in CWD
|
|
59
59
|
```
|
package/profiles/SCHEMA.md
CHANGED
|
@@ -30,15 +30,43 @@ env:
|
|
|
30
30
|
| Field | Type | Required | Default | Notes |
|
|
31
31
|
|---------------|---------------------------------------------------------------|----------|---------|----------------------------------------------------------------------------------------------------|
|
|
32
32
|
| `name` | string (kebab-case, `[a-z][a-z0-9-]{1,63}`) | yes | — | Must equal the dirname `profiles/<name>/`. |
|
|
33
|
-
| `description` | string (one-line, < 200 chars) | yes | — | Shown by `
|
|
33
|
+
| `description` | string (one-line, < 200 chars) | yes | — | Shown by `cue list` and embedded in the materialized `CLAUDE.md` stamp. |
|
|
34
34
|
| `agents` | array of `"claude-code" \| "codex"` | no | `[claude-code, codex]` | Restricts which agent runtimes this profile materializes for. |
|
|
35
35
|
| `inherits` | string (name of another profile) | no | — | Single parent. Depth ≤ 3. Cycles are an error. |
|
|
36
36
|
| `skills` | object (see below) | no | `{}` | At least one of `local`, `npx`, `plugins` should appear in a useful profile. |
|
|
37
|
-
| `skills.local`| array of strings (paths relative to `
|
|
37
|
+
| `skills.local`| array of strings (paths relative to `cue/skills/`) | no | `[]` | E.g. `medusa/building-with-medusa` → resolves to `cue/skills/skills/medusa/building-with-medusa/`. |
|
|
38
38
|
| `skills.npx` | array of `NpxSkillRef` | no | `[]` | See "NpxSkillRef" below. |
|
|
39
39
|
| `skills.plugins` | array of strings (Claude Code plugin names) | no | `[]` | Resolved from `~/.claude/plugins/<name>/skills/`. Targets are namespaced as `<plugin>:<skill>`. |
|
|
40
|
-
| `mcps` | array of strings (MCP server IDs) | no | `[]` | Must match a key in `
|
|
40
|
+
| `mcps` | array of strings (MCP server IDs) | no | `[]` | Must match a key in `cue/mcps/configs/claude.sanitized.json` (or the codex counterpart). |
|
|
41
41
|
| `env` | map<string, string> | no | `{}` | Plain string values. Placeholders like `"${HOSTINGER_API_TOKEN}"` are substituted at materialize-time. |
|
|
42
|
+
| `rules` | array of strings | no | `[]` | Markdown rule files under `resources/rules/` (or absolute paths). Symlinked into `<runtime>/rules/` and indexed in CLAUDE.md — Claude reads on demand, no full-body inline. |
|
|
43
|
+
| `commands` | array of strings | no | `[]` | Slash-command markdown files under `resources/commands/`. Symlinked into `<runtime>/commands/` so the user can invoke `/<name>`. Listed in CLAUDE.md's "Available Commands" section. |
|
|
44
|
+
| `hooks` | array of strings | no | `[]` | Hook bundle JSON files under `resources/hooks/`. Each declares `{ "hooks": { "PreToolUse": [...], "Stop": [...], ... } }` — merged into `settings.json` so hooks run per Claude Code's lifecycle. Sibling `.sh`/`.py` scripts are symlinked into `<runtime>/hooks/` and invoked via `${CLAUDE_CONFIG_DIR}/hooks/...`. |
|
|
45
|
+
|
|
46
|
+
### rules / commands / hooks example
|
|
47
|
+
|
|
48
|
+
```yaml
|
|
49
|
+
# profiles/my-backend/profile.yaml
|
|
50
|
+
name: my-backend
|
|
51
|
+
inherits: core
|
|
52
|
+
rules:
|
|
53
|
+
- common/security # → resources/rules/common/security.md
|
|
54
|
+
- typescript/patterns # → resources/rules/typescript/patterns.md
|
|
55
|
+
commands:
|
|
56
|
+
- code-review # → resources/commands/code-review.md, invoked as /code-review
|
|
57
|
+
- checkpoint
|
|
58
|
+
hooks:
|
|
59
|
+
- secrets-guard.json # → resources/hooks/secrets-guard.json (+ secrets-guard.sh)
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Path resolution: refs starting with `/` are taken as absolute; otherwise resolved
|
|
63
|
+
relative to `resources/{rules,commands,hooks}/`. `.md` is auto-appended for
|
|
64
|
+
rules/commands if the ref doesn't already end in `.md`. Hooks are taken
|
|
65
|
+
verbatim (need the explicit `.json`). Missing refs are skipped at materialize
|
|
66
|
+
time and reported as `E3` by `cue validate`.
|
|
67
|
+
|
|
68
|
+
Inheritance merges all three with `concat + dedupe`; a child can't remove a
|
|
69
|
+
parent's entry — fork the parent if you need a smaller set.
|
|
42
70
|
|
|
43
71
|
## NpxSkillRef
|
|
44
72
|
|
package/profiles/_types.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Types for the
|
|
2
|
+
* Types for the cue profile system. Mirror of profiles/schema.json.
|
|
3
3
|
*
|
|
4
4
|
* Consumed by bin/cli/* via:
|
|
5
5
|
* import type { Profile, NpxSkillRef, MCPRef, SkillRef } from "../../profiles/_types";
|
|
@@ -43,6 +43,24 @@ export interface Profile {
|
|
|
43
43
|
mcps?: MCPRef[];
|
|
44
44
|
plugins?: PluginRef[];
|
|
45
45
|
env?: Record<string, string>;
|
|
46
|
+
rules?: string[];
|
|
47
|
+
commands?: string[];
|
|
48
|
+
hooks?: string[];
|
|
49
|
+
// Phase 1: Persona — multi-line role-priming text injected at the top of
|
|
50
|
+
// CLAUDE.md. Defines who the agent IS, not just what tools it has.
|
|
51
|
+
persona?: string;
|
|
52
|
+
// Phase 2: Playbooks — markdown files under resources/playbooks/ with
|
|
53
|
+
// proven step-by-step protocols for common tasks ("ship-feature",
|
|
54
|
+
// "triage-bug"). Symlinked into runtime, indexed in CLAUDE.md.
|
|
55
|
+
playbooks?: string[];
|
|
56
|
+
// Phase 3: Quality gates — script refs under resources/quality-gates/
|
|
57
|
+
// that run as Stop hooks. Veto "done" claims if the work doesn't meet
|
|
58
|
+
// the profile's bar (tests pass, lint clean, etc.).
|
|
59
|
+
qualityGates?: string[];
|
|
60
|
+
// Phase 4: Evals — scenario refs under resources/evals/ that declare
|
|
61
|
+
// "for task X this profile should be able to handle it". `cue eval-behavior`
|
|
62
|
+
// checks structural fit.
|
|
63
|
+
evals?: string[];
|
|
46
64
|
}
|
|
47
65
|
|
|
48
66
|
// In the resolved (post-inherit) form every ref is normalized to its object shape.
|
|
@@ -59,6 +77,13 @@ export interface ResolvedProfile extends Omit<Profile, "skills" | "mcps" | "plug
|
|
|
59
77
|
mcps: ResolvedMCP[];
|
|
60
78
|
plugins: ResolvedPlugin[];
|
|
61
79
|
env: Record<string, string>;
|
|
80
|
+
rules: string[];
|
|
81
|
+
commands: string[];
|
|
82
|
+
hooks: string[];
|
|
83
|
+
persona: string; // empty string when not declared
|
|
84
|
+
playbooks: string[];
|
|
85
|
+
qualityGates: string[];
|
|
86
|
+
evals: string[];
|
|
62
87
|
inheritanceChain: string[];
|
|
63
88
|
}
|
|
64
89
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
name: career
|
|
2
|
+
icon: "💼"
|
|
3
|
+
description: Job hunting, resume optimization, interview prep, salary negotiation, and career development
|
|
4
|
+
inherits: core
|
|
5
|
+
skills:
|
|
6
|
+
local:
|
|
7
|
+
- career/jdfit
|
|
8
|
+
- career/resume-tailor
|
|
9
|
+
- career/tech-resume-optimizer
|
|
10
|
+
- career/resume-section-builder
|
|
11
|
+
- career/resume-version-manager
|
|
12
|
+
- career/salary-negotiation-prep
|
|
13
|
+
mcps: []
|
|
@@ -1,18 +1,85 @@
|
|
|
1
1
|
name: core
|
|
2
2
|
icon: "🐢"
|
|
3
3
|
description: Baseline shared by every cue profile — essentials only
|
|
4
|
+
persona: |
|
|
5
|
+
You're a careful, experienced collaborator. You operate by these defaults
|
|
6
|
+
every time, regardless of which specialized profile inherits from you:
|
|
7
|
+
|
|
8
|
+
- **State assumptions before acting.** If a request is ambiguous, name the
|
|
9
|
+
ambiguity and pick the reasonable interpretation rather than guessing
|
|
10
|
+
silently.
|
|
11
|
+
- **Minimum-viable change.** Touch only what the task requires. Don't refactor
|
|
12
|
+
adjacent code, don't add features that weren't asked for, don't introduce
|
|
13
|
+
abstractions for hypothetical futures.
|
|
14
|
+
- **Verify before claiming done.** Run the tests / lint / build / actual
|
|
15
|
+
behavior check that proves the change works. "Compiles" ≠ "done."
|
|
16
|
+
- **Tight loops over big patches.** Make a small change → verify → commit
|
|
17
|
+
incrementally. Don't accumulate a 400-line patch you can't bisect.
|
|
18
|
+
- **Voice: terse and specific.** Drop filler. Lead sentences with the verb
|
|
19
|
+
or the answer. Don't summarize what's visible in the diff.
|
|
4
20
|
skills:
|
|
5
21
|
local:
|
|
6
|
-
-
|
|
7
|
-
#
|
|
8
|
-
-
|
|
9
|
-
- meta/analyze
|
|
10
|
-
- meta/cue-usage
|
|
11
|
-
- meta/builtin-manager
|
|
12
|
-
- meta/
|
|
13
|
-
-
|
|
14
|
-
- caveman/caveman
|
|
22
|
+
# ── Built-in: shared by every cue profile via inheritance ──
|
|
23
|
+
# Universal, triggered by common words or explicit slash commands.
|
|
24
|
+
# Anything special-purpose belongs in a domain profile, not here.
|
|
25
|
+
- meta/analyze # investigation: "analyze", "why does", "what's causing"
|
|
26
|
+
- meta/cue-usage # cue CLI guidance
|
|
27
|
+
- meta/builtin-manager # manage built-in promotion
|
|
28
|
+
- meta/profile-fit-monitor # notice profile mismatch + suggest switch
|
|
29
|
+
- nvidia/skill-evolution # propose skill updates after solving problems
|
|
30
|
+
- caveman/caveman # /caveman — terse output mode
|
|
31
|
+
- caveman/caveman-commit # /commit — Conventional Commits writer
|
|
32
|
+
- meta/acpx # delegate to other coding agents over ACP (codex, claude, pi, ...)
|
|
33
|
+
- tools/ctx-upgrade # context-mode: context window optimization for AI agents
|
|
34
|
+
- tools/context-mode-ops # context-mode: sandbox tool output, 98% reduction
|
|
35
|
+
- tools/fallow # codebase intelligence: unused code, duplication, complexity, cleanup
|
|
36
|
+
# Removed (followup #22 audit, 2026-05-24): nvidia/aiq-research (needs
|
|
37
|
+
# NVIDIA AI-Q server infra), meta/kiro-powers (niche Kiro Powers interop).
|
|
38
|
+
# Add back to a dedicated profile if needed — they don't belong in baseline.
|
|
39
|
+
#
|
|
40
|
+
# Also removed 2026-05-24: Deliberation-Loop (no SKILL.md anywhere),
|
|
41
|
+
# the-council (exists in ~/.claude/skills/ but cue's local resolver only
|
|
42
|
+
# reads from resources/skills/skills/ — wire via skills.npx or symlink
|
|
43
|
+
# into resources/skills/skills/<category>/ to re-enable), and a stray
|
|
44
|
+
# `wedding-invitation-skill` token left inside a comment.
|
|
15
45
|
mcps:
|
|
16
46
|
- cue-tty-watch # Claude's eyes inside X displays / tmux panes (screenshot, capture-pane, send-keys)
|
|
17
47
|
plugins:
|
|
18
48
|
- claude-mem@thedotmack
|
|
49
|
+
# Universal commands: useful in every profile, not domain-specific.
|
|
50
|
+
# Bodies are lazy-loaded (only when the user types /name), so per-message cost
|
|
51
|
+
# is just the entry in CLAUDE.md's "Available Commands" list (~25 tokens).
|
|
52
|
+
commands:
|
|
53
|
+
- code-review
|
|
54
|
+
- checkpoint
|
|
55
|
+
- cost-report
|
|
56
|
+
- cue
|
|
57
|
+
playbooks:
|
|
58
|
+
# Phase 2: proven step-by-step protocols. Read on demand when the user's
|
|
59
|
+
# request matches. Profiles that inherit core get these for free.
|
|
60
|
+
- ship-feature
|
|
61
|
+
- triage-bug
|
|
62
|
+
evals:
|
|
63
|
+
# Phase 4: structural eval scenarios. `cue eval-behavior core` checks
|
|
64
|
+
# whether core has the skills/commands/playbooks needed to handle these.
|
|
65
|
+
- feature-shipping
|
|
66
|
+
- bug-triage
|
|
67
|
+
hooks:
|
|
68
|
+
# Universal safety: block obviously destructive shell commands (rm -rf /, fork bombs, dd to /dev/sd*, etc.).
|
|
69
|
+
# Every profile inherits core, so every cue user gets this for free.
|
|
70
|
+
- bash-quality-preflight.json
|
|
71
|
+
# Universal analytics: append one line per session-end to ~/.config/cue/session-log.jsonl
|
|
72
|
+
# so `cue eval` sees real usage data for every profile, not just ecc.
|
|
73
|
+
- session-summary.json
|
|
74
|
+
# Refuse writes to .env, id_rsa, credentials.json, .pem/.key, ~/.ssh, ~/.aws, etc.
|
|
75
|
+
- secrets-guard.json
|
|
76
|
+
# Reject low-effort `git commit -m "wip"` / "fix" / "update" messages.
|
|
77
|
+
- commit-message-guard.json
|
|
78
|
+
# Stop hook: scan the full transcript and emit one skill_hit event per
|
|
79
|
+
# unique skill referenced. Replaces the 50KB regex scrape with a full scan.
|
|
80
|
+
# Feeds `cue profile evolve` with accurate per-skill firing data.
|
|
81
|
+
- skill-fire-tracker.json
|
|
82
|
+
# UserPromptSubmit hook: on the FIRST prompt of a session, save it to
|
|
83
|
+
# ~/.config/cue/first-prompts/<cwd-hash>.json so the next `cue launch`
|
|
84
|
+
# in the same cwd with CUE_SMART_SUBSET=1 can auto-trigger smart-subset.
|
|
85
|
+
- first-prompt-capture.json
|
|
@@ -12,7 +12,7 @@ Creative Media covers generated images, Higgsfield product shots, marketplace ca
|
|
|
12
12
|
- `higgsfield/higgsfield-generate`
|
|
13
13
|
- `higgsfield/higgsfield-product-photoshoot`
|
|
14
14
|
- `higgsfield/higgsfield-marketplace-cards`
|
|
15
|
-
- `higgsfield/higgsfield-
|
|
15
|
+
- `higgsfield/higgsfield-cue-id`
|
|
16
16
|
- `design/brandkit`
|
|
17
17
|
- `design/kitty-visualize`
|
|
18
18
|
- `design/remotion-best-practices`
|