/** * Common templates — single source of truth for all platforms. * * These templates contain {{placeholders}} that are resolved per-platform * by resolvePlaceholders() in configurators/shared.ts. * * Directory structure: * common/ * ├── commands/ # Templates that stay as slash commands * ├── skills/ # Single-file templates that become auto-triggered skills * └── bundled-skills/ # Multi-file built-in skills with references/assets */ export interface CommonTemplate { /** Template name without extension (e.g., "start", "before-dev") */ name: string; /** Raw content with {{placeholders}} — must be resolved before writing */ content: string; } export interface CommonBundledSkillFile { /** POSIX path relative to the skill directory, e.g. "references/core.md" */ relativePath: string; /** Raw content with {{placeholders}} — must be resolved before writing */ content: string; } export interface CommonBundledSkill { /** Skill directory name, e.g. "trellis-meta" */ name: string; /** Files that must be written under the skill directory */ files: CommonBundledSkillFile[]; } /** * Get all command templates (stay as slash commands on all platforms). * Results are cached after first call. */ export declare function getCommandTemplates(): CommonTemplate[]; /** * Get all skill templates (become auto-triggered skills on supporting platforms). * Results are cached after first call. */ export declare function getSkillTemplates(): CommonTemplate[]; /** * Get all multi-file built-in skills. * * These are copied as complete skill directories so references and assets stay * lazy-loadable instead of being flattened into one oversized SKILL.md. */ export declare function getBundledSkillTemplates(): CommonBundledSkill[]; //# sourceMappingURL=index.d.ts.map