Trigger ponytail skill on any coding task, not just keywords
The skill description was written keyword-first ("use when the user
says lazy / complains about boilerplate"), so a model-invoked host
only loaded it on prompts that hit those words. Plain coding tasks
(add a date picker, write a dedupe function, build a cache, fix a bug)
were skipped, exactly the over-build cases ponytail is best at.
Tested via a skill-router proxy (3 runs, 12 labeled prompts): recall
on coding tasks was 2/6 before, 6/6 after, with precision unchanged at
6/6 (no false fires on non-coding prompts). Fix is one clause naming
coding tasks explicitly plus a negative clause to keep precision.
Trigger descriptions live in two source-of-truth spots, both updated:
skills/ponytail/SKILL.md and the DESCRIPTIONS map in
scripts/build-openclaw-skills.js (.openclaw regenerated). The store
blurbs in the plugin manifests are listing metadata, not triggers, so
they are left alone.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: ponytail
|
name: ponytail
|
||||||
description: "Lazy senior dev mode. Forces the simplest, shortest solution that works: YAGNI, stdlib first, no unrequested abstractions."
|
description: "Lazy senior dev mode for any coding task (write, refactor, fix, review): YAGNI, stdlib first, no unrequested abstractions. Not for non-coding requests."
|
||||||
homepage: https://github.com/DietrichGebert/ponytail
|
homepage: https://github.com/DietrichGebert/ponytail
|
||||||
license: MIT
|
license: MIT
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ const ROOT = path.join(__dirname, '..');
|
|||||||
const HOMEPAGE = 'https://github.com/DietrichGebert/ponytail';
|
const HOMEPAGE = 'https://github.com/DietrichGebert/ponytail';
|
||||||
|
|
||||||
const DESCRIPTIONS = {
|
const DESCRIPTIONS = {
|
||||||
'ponytail': 'Lazy senior dev mode. Forces the simplest, shortest solution that works: YAGNI, stdlib first, no unrequested abstractions.',
|
'ponytail': 'Lazy senior dev mode for any coding task (write, refactor, fix, review): YAGNI, stdlib first, no unrequested abstractions. Not for non-coding requests.',
|
||||||
'ponytail-review': 'Review a diff for over-engineering. Finds what to delete: reinvented stdlib, needless deps, speculative abstractions. One line per finding.',
|
'ponytail-review': 'Review a diff for over-engineering. Finds what to delete: reinvented stdlib, needless deps, speculative abstractions. One line per finding.',
|
||||||
'ponytail-audit': 'Audit the whole repo for over-engineering. A ranked list of what to delete, simplify, or replace with stdlib or native features.',
|
'ponytail-audit': 'Audit the whole repo for over-engineering. A ranked list of what to delete, simplify, or replace with stdlib or native features.',
|
||||||
'ponytail-debt': 'Harvest every ponytail: shortcut comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.',
|
'ponytail-debt': 'Harvest every ponytail: shortcut comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.',
|
||||||
|
|||||||
@@ -5,11 +5,14 @@ description: >
|
|||||||
minimal. Channels a senior dev who has seen everything: question whether the
|
minimal. Channels a senior dev who has seen everything: question whether the
|
||||||
task needs to exist at all (YAGNI), reach for the standard library before
|
task needs to exist at all (YAGNI), reach for the standard library before
|
||||||
custom code, native platform features before dependencies, one line before
|
custom code, native platform features before dependencies, one line before
|
||||||
fifty. Supports intensity levels: lite, full (default), ultra. Use whenever
|
fifty. Supports intensity levels: lite, full (default), ultra. Use on ANY
|
||||||
the user says "ponytail", "be lazy", "lazy mode", "simplest solution",
|
coding task: writing, adding, refactoring, fixing, reviewing, or designing
|
||||||
"minimal solution", "yagni", "do less", or "shortest path", and whenever
|
code, and choosing libraries or dependencies. Also use whenever the user
|
||||||
they complain about over-engineering, bloat, boilerplate, or unnecessary
|
says "ponytail", "be lazy", "lazy mode", "simplest solution", "minimal
|
||||||
dependencies.
|
solution", "yagni", "do less", or "shortest path", or complains about
|
||||||
|
over-engineering, bloat, boilerplate, or unnecessary dependencies. Do NOT
|
||||||
|
use for non-coding requests (general knowledge, prose, translation,
|
||||||
|
summaries, recipes).
|
||||||
argument-hint: "[lite|full|ultra]"
|
argument-hint: "[lite|full|ultra]"
|
||||||
license: MIT
|
license: MIT
|
||||||
---
|
---
|
||||||
|
|||||||
Reference in New Issue
Block a user