/** * Where each tool looks for skills or rule files. Locations come from the * tools' own documentation (see docs/skills.md for the sources); they are data, * so a moved directory is a one-line change here. * @module skills/targets */ /** Folder name of the skill, also the `name` in its frontmatter. */ export declare const SKILL_NAME = "excaliplant"; export type Target = { /** * Value of `--tool`. */ id: string; /** * Human name. */ label: string; /** * `skill` copies the skill folder, `rule` writes one rule file. */ kind: "skill" | "rule"; /** * Path below the project root (skills: the skills directory). */ project: string; /** * Path below the home directory, `null` when the tool has none. */ user: string | null; /** * Rule file flavour. */ format?: "cursor" | "windsurf" | "plain" | "copilot"; note?: string; }; /** * @typedef {object} Target * @property {string} id Value of `--tool`. * @property {string} label Human name. * @property {"skill" | "rule"} kind `skill` copies the skill folder, `rule` writes one rule file. * @property {string} project Path below the project root (skills: the skills directory). * @property {string | null} user Path below the home directory, `null` when the tool has none. * @property {"cursor" | "windsurf" | "plain" | "copilot"} [format] Rule file flavour. * @property {string} [note] */ /** @type {readonly Target[]} */ export declare const TARGETS: readonly Target[]; /** Alternative spellings accepted by `--tool`. */ export declare const ALIASES: Readonly<{ "claude-code": "claude"; "gemini-cli": "gemini"; "github-copilot": "copilot"; "copilot-cli": "copilot"; "roo-code": "roo"; "open-code": "opencode"; }>; /** Tools installed by `--tool all` (skills only; `--tool rules` selects the rule tools). */ export declare const ALL_SKILL_TOOLS: readonly string[]; /** Tools installed by `--tool rules`. */ export declare const ALL_RULE_TOOLS: readonly string[]; /** * Look a target up by id or alias. * @param {string} id * @returns {Target | undefined} */ export declare function findTarget(id: string): Target | undefined;