/** * Platforms that consume the scaffold skills in a non-`SKILL.md` form. Claude * Code and shared agents get the full `SKILL.md` via the auto-sync * (`installAllSkills`); these targets are installed explicitly with * `scaffold skill install --platform ` because they write into the user's * own files (`AGENTS.md`, `.cursor/rules/`). */ export declare const SKILL_PLATFORMS: readonly ["codex", "antigravity", "cursor", "opencode"]; export type SkillPlatform = (typeof SKILL_PLATFORMS)[number]; /** * Insert or replace a per-skill managed block in `existing`. Content outside the * block is preserved; a missing block is appended (separated by a blank line). */ export declare function upsertManagedBlock(existing: string, name: string, body: string): string; export interface PlatformInstallResult { installed: string[]; skipped: string[]; errors: string[]; } export interface PlatformInstallOptions { /** Overwrite an existing dedicated file (Cursor .mdc / OpenCode SKILL.md). */ force?: boolean; } /** * Install every scaffold skill into a project in the native form of `platform`: * - codex / antigravity → a per-skill managed block in `AGENTS.md` (the lean form) * - cursor → `.cursor/rules/.mdc` * - opencode → `.opencode/skills//SKILL.md` (the full Agent Skill) * * The generated forms are read from the bundled templates (`content/skills//`). */ export declare function installSkillsForPlatform(projectRoot: string, platform: SkillPlatform, options?: PlatformInstallOptions): PlatformInstallResult; //# sourceMappingURL=platform-install.d.ts.map