/** * Scaffold commands — /new-skill, /new-agent, and /new-command. * * `/new-canvas` was their fourth sibling and is not here any more. It stopped * being a file-writing command when it grew Copilot's `/create-canvas` shape: * it opens what it writes and hands the agent a brief to build it, so it needs * the canvas session and the agent loop, neither of which belongs in a scaffold. * It lives in `extensions/core/canvas.ts` over `core/canvas/scaffold.ts`. * * Without `--platform`, each creates a ready-to-edit resource file * under `.hoocode/` (hoocode's private surface), picked up on the next /reload. * * With `--platform` (or the `platform` setting), the scaffold * instead lands in each target platform's *workspace* conventions via the * format registry's per-adapter {@link WorkspaceLayout} — e.g. * `--platform copilot` writes `.github/skills//SKILL.md`, * `.github/agents/.agent.md`, and `.github/prompts/.prompt.md`, * while `claude` writes `.claude/skills|agents|commands/`. hoocode reads all * of these back, so the scaffold is live after /reload either way. */ import type { ExtensionAPI } from "../../core/extensions/types.js"; export declare function setupScaffold(hoo: ExtensionAPI): void; //# sourceMappingURL=scaffold.d.ts.map