mirror of
https://github.com/garrytan/gstack.git
synced 2026-05-02 11:45:20 +02:00
4d260db78a
Adapts GStack skill text for Claude Opus 4.7's behavioral changes per
Anthropic's migration guide and community findings.
Key changes:
model-overlays/claude.md:
- Fan out explicitly (4.7 spawns fewer subagents by default)
- Effort-match the step (avoid overthinking simple tasks at max)
- Batch questions in one AskUserQuestion turn
- Literal interpretation awareness (deliver full scope)
hosts/claude.ts:
- coAuthorTrailer updated to Claude Opus 4.7
SKILL.md.tmpl:
- Expanded routing triggers with colloquial variants ("wtf",
"this doesn't work", "send it", "where was I") — 4.7 won't
generalize from sparse trigger patterns like 4.6 did
- Added missing routes: /context-save, /context-restore, /cso, /make-pdf
- Changed routing fallback from strict "do NOT answer directly" to
"when in doubt, invoke the skill" — false positives are cheaper
than false negatives on 4.7's literal interpreter
generate-voice-directive.ts:
- Added concrete good/bad voice example — 4.7 needs shown examples,
not just described tone. "auth.ts:47 returns undefined..." vs
"I've identified a potential issue..."
Regenerated all 38 SKILL.md files. All tests pass.
46 lines
1.0 KiB
TypeScript
46 lines
1.0 KiB
TypeScript
import type { HostConfig } from '../scripts/host-config';
|
|
|
|
const claude: HostConfig = {
|
|
name: 'claude',
|
|
displayName: 'Claude Code',
|
|
cliCommand: 'claude',
|
|
cliAliases: [],
|
|
|
|
globalRoot: '.claude/skills/gstack',
|
|
localSkillRoot: '.claude/skills/gstack',
|
|
hostSubdir: '.claude',
|
|
usesEnvVars: false,
|
|
|
|
frontmatter: {
|
|
mode: 'denylist',
|
|
stripFields: ['sensitive', 'voice-triggers'],
|
|
descriptionLimit: null,
|
|
},
|
|
|
|
generation: {
|
|
generateMetadata: false,
|
|
skipSkills: [],
|
|
},
|
|
|
|
pathRewrites: [], // Claude is the primary host — no rewrites needed
|
|
toolRewrites: {},
|
|
suppressedResolvers: ['GBRAIN_CONTEXT_LOAD', 'GBRAIN_SAVE_RESULTS'],
|
|
|
|
runtimeRoot: {
|
|
globalSymlinks: ['bin', 'browse/dist', 'browse/bin', 'gstack-upgrade', 'ETHOS.md'],
|
|
globalFiles: {
|
|
'review': ['checklist.md', 'TODOS-format.md'],
|
|
},
|
|
},
|
|
|
|
install: {
|
|
prefixable: true,
|
|
linkingStrategy: 'real-dir-symlink',
|
|
},
|
|
|
|
coAuthorTrailer: 'Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>',
|
|
learningsMode: 'full',
|
|
};
|
|
|
|
export default claude;
|