Files
pbakaus_impeccable/scripts/lib/skill-categories.js
T
Abdul WahabandCursor 7d6109b723 Drop deprecated craft alias from the generated argument-hint
craft is a deprecated compatibility alias, but its SKILL_CATEGORIES entry
kept it advertised in every generated SKILL.md argument-hint. Unmapping it
removes it from the hint while the alias keeps routing through the router
table and command-metadata.json.

AI-assisted change (reviewed by maintainer).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 10:36:18 +05:00

43 lines
1.2 KiB
JavaScript

/**
* Category map for user-invocable skills, consumed by the provider
* transformers. The site-side page data model (sub-pages-data.js) lives in
* the private impeccable-site repo and keeps its own copy.
*/
export const SKILL_CATEGORIES = {
// CREATE - build something new
// craft is deliberately unmapped: it is a deprecated compatibility alias
// (see the router table), and a command without a category stays out of
// the generated argument-hint while continuing to route.
impeccable: 'create',
shape: 'create',
// EVALUATE - review and assess
critique: 'evaluate',
audit: 'evaluate',
// REFINE - improve existing design
typeset: 'refine',
layout: 'refine',
colorize: 'refine',
animate: 'refine',
delight: 'refine',
bolder: 'refine',
quieter: 'refine',
overdrive: 'refine',
// SIMPLIFY - reduce and clarify
distill: 'simplify',
clarify: 'simplify',
adapt: 'simplify',
// HARDEN - production-ready
polish: 'harden',
optimize: 'harden',
harden: 'harden',
onboard: 'harden',
// SYSTEM - setup and tooling
init: 'system',
document: 'system',
extract: 'system',
live: 'system',
};
export const CATEGORY_ORDER = ['create', 'evaluate', 'refine', 'simplify', 'harden', 'system'];