mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-19 21:52:21 +03:00
feat(skills): add Ponytail minimalism skill as external catalog entry
- Add 'external' SkillCategory + SkillArea - Register ponytail (MIT, DietrichGebert/ponytail) in CURATED_SKILLS - Generator: external skills carry content in custom block, no api/cli body - Generate skills/ponytail/SKILL.md with original content preserved - Update catalog test counts 45 -> 46
This commit is contained in:
@@ -202,7 +202,11 @@ export function buildSkillMarkdown(
|
||||
};
|
||||
|
||||
const bodyLines =
|
||||
skill.category === "api" ? buildApiBody(skill, sources) : buildCliBody(skill, sources);
|
||||
skill.category === "api"
|
||||
? buildApiBody(skill, sources)
|
||||
: skill.category === "cli"
|
||||
? buildCliBody(skill, sources)
|
||||
: ""; // external: content lives in the custom block below
|
||||
|
||||
// Re-inject custom block if present in existing content
|
||||
let customBlock = "";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
export type SkillCategory = "api" | "cli" | "config";
|
||||
export type SkillCategory = "api" | "cli" | "config" | "external";
|
||||
|
||||
export type SkillArea =
|
||||
// API areas (22)
|
||||
@@ -49,7 +49,9 @@ export type SkillArea =
|
||||
| "cli-eval"
|
||||
| "cli-plugins-skills"
|
||||
| "cli-setup"
|
||||
| "cli-skill-collector";
|
||||
| "cli-skill-collector"
|
||||
// External (third-party) skills
|
||||
| "external";
|
||||
|
||||
export interface AgentSkill {
|
||||
id: string; // canonical id (e.g. "omni-providers", "cli-serve")
|
||||
|
||||
@@ -463,4 +463,17 @@ export const CURATED_SKILLS: CuratedSkillEntry[] = [
|
||||
icon: "explore",
|
||||
isNew: true,
|
||||
},
|
||||
|
||||
// ── External (third-party) Skills ─────────────────────────────────────────
|
||||
|
||||
{
|
||||
id: "ponytail",
|
||||
name: "Ponytail (Minimalism Ladder)",
|
||||
description:
|
||||
"External agent skill (MIT, github.com/DietrichGebert/ponytail). Forces the laziest solution that actually works: question whether the task needs to exist at all (YAGNI), reuse what is already in the codebase, reach for the standard library before custom code, native platform features before dependencies, one line before fifty. Climb the ladder on every coding task — writing, adding, refactoring, fixing, reviewing, or designing code, and choosing libraries or dependencies. Supports intensity levels: lite, full (default), ultra. Never cut validation, error handling, security, or accessibility.",
|
||||
category: "external",
|
||||
area: "external",
|
||||
icon: "compress",
|
||||
isNew: true,
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user