claude-skills/engineering/hooks/skill_routes.json
Alireza Rezvani 13566ae423
feat: mobile-release, cloud-finops and support-ops plugins (#1153)
* feat: mobile-release, cloud-finops and support-ops plugins

Three new plugins for gaps the library had no skill for:

- engineering/mobile-release: iOS privacy-manifest and Play release
  checks, plus a PROCEED/HOLD/HALT staged-rollout gate.
- engineering/cloud-finops: FOCUS-export allocation coverage,
  commitment utilization/coverage/ESR, robust cost anomalies.
- business-growth/support-ops: business-hours SLA attainment,
  Erlang C staffing, ticket deflection finder.

Each ships 3 stdlib scripts, 3 cited references, a cs-* agent and
commands, mirrors into its domain bundle, trigger and behaviour eval
cases with fixtures, and refreshed counters, mirrors and baselines.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L8KYFKgTBNWHqHJNQWHwnq

* feat: trigger tuning, skill-router hooks and eval cases for the new plugins

- Descriptions rewritten in user words after held-out trigger evals
  (cloud-finops 12/24 -> 19/24 positives, 0 near-miss fires).
- Skill-router UserPromptSubmit hooks in mobile-release, cloud-finops,
  support-ops and both bundles; 0 wrong hints across 2,355 eval prompts.
- support-ops scoped to interval scheduling; headcount and hiring stay
  with capacity-planner (the old note wrongly said it had no queueing).
- support-ops Report section and mobile-release reason-code rule from
  behaviour-eval transcripts; behaviour eval prompt names the review.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L8KYFKgTBNWHqHJNQWHwnq

* fix(mobile-release, support-ops): small-sample HALTs, platform check, backlog drain

From review on #1153:
- rollout_gate: Play thresholds judged on the 95% Wilson lower bound;
  below --min-users a significant regression or device breach is a HOLD,
  not a HALT (1 crash among 40 users no longer halts a 1% rollout).
- rollout_gate: baseline and release on different platforms exit 3;
  an Android row without anr_users says ANR was not checked.
- staffing_plan: backlog drain spread over the first --drain-hours rows
  only, at the arrivals' effective AHT (divided by concurrency); footer
  states one row = one hour.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L8KYFKgTBNWHqHJNQWHwnq

* fix(mobile-release, support-ops): input validation and documented caveats

From the second review on #1153:
- rollout_gate: inf/NaN counts and out-of-range percentages exit 3;
  exactly two rows required, matching the docstring; repeated looks
  across stages and the staged-cohort bias documented.
- staffing_plan: non-finite inputs exit 3; staffed is defined as paid
  agents rostered before shrinkage.
- business-growth/CLAUDE.md lists all six skills.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L8KYFKgTBNWHqHJNQWHwnq

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-17 09:26:05 +01:00

109 lines
5.4 KiB
JSON

{
"plugin": "engineering-advanced-skills",
"note": "Patterns for hooks/skill_router.py. High precision first: a missed prompt costs nothing, a wrong hint costs attention.",
"routes": [
{
"skill": "self-eval",
"why": "honest two-axis grading of finished work",
"any": [
"\\b(rate|grade|score|evaluate|assess)\\b.{0,20}\\b(your|the|this) (work|output|answer|job|changes|solution|session)\\b",
"\\bhow (well )?did (that|this|it|you) (go|do)\\b",
"\\bhonest(ly)?\\b.{0,30}\\b(self[- ]review|self[- ]assessment|grade|rating)\\b",
"\\bself[- ]eval\\w*\\b",
"\\bbe honest\\b.{0,40}\\bhow (good|well)\\b",
"\\brate how (well|good)\\b",
"\\bhow good was (that|this|the) (work|job)\\b"
]
},
{
"skill": "codebase-onboarding",
"why": "architecture brief and onboarding docs for an unfamiliar repo",
"any": [
"\\bnew to (this|the|our) (codebase|repo\\w*|project|code)\\b",
"\\b(how is|explain|walk me through)\\b.{0,20}\\b(this|the|our) (repo\\w*|codebase|project)\\b.{0,40}\\b(structured|organi[sz]ed|laid out|architecture|works?)\\b",
"\\bwhere (do|should) i (start|begin)\\b.{0,40}\\b(reading|code|repo\\w*|codebase)\\b",
"\\bonboard\\w*\\b.{0,40}\\b(engineers?|developers?|devs?|hires?|codebase|repo\\w*)\\b",
"\\b(architecture (overview|brief)|codebase tour|onboarding doc\\w*)\\b",
"\\bhow (this|the|our) (repo\\w*|codebase|project) is (laid out|structured|organi[sz]ed)\\b"
]
},
{
"skill": "tech-debt-tracker",
"why": "find, rank and track tech debt in a codebase",
"any": [
"\\btech(nical)? debt\\b",
"\\bwhat (should|to) (we |i )?refactor first\\b",
"\\bcleanup sprint\\b|\\brefactor(ing)? (backlog|plan|roadmap)\\b",
"\\bhow (messy|bad) is (the|this|our) code(base)?\\b",
"\\blegacy (code|codebase)\\b.{0,40}\\b(moderni[sz]\\w*|clean\\w*|refactor\\w*|untangle)\\b"
],
"not": [
"\\bshould (we|i) rewrite\\b",
"\\b(eng(ineering)?|dev) teams?\\b",
"\\b(okrs?|engineers across|change failure)\\b"
]
},
{
"skill": "minimalist",
"why": "least-code ladder: YAGNI, reuse, stdlib, native platform",
"any": [
"\\bover[- ]?engineer\\w*\\b",
"\\byagni\\b",
"\\bdon'?t (go overboard|over-?do it|over-?build)\\b",
"\\bbefore you write anything\\b.{0,80}\\b(already|platform|stdlib|existing|installed)\\b"
],
"pairs": [
[
[
"\\b(simplif\\w*|simpler|less code|too (complex|complicated|clever)|bloated|fewer (lines|dependencies|deps)|minimal|strip (it )?down)\\b"
],
[
"\\b(code|codebase|function|implementation|module|class|component|script|service|dependenc\\w*|abstraction\\w*|architecture)\\b"
]
]
]
},
{
"skill": "mobile-release",
"why": "App Store / Google Play submission rules and staged-rollout go/no-go",
"any": [
"\\bITMS-\\d+",
"\\bprivacy ?manifest\\b|\\bPrivacyInfo\\.xcprivacy\\b|\\brequired[- ]reason\\b|\\bNSPrivacyAccessed",
"\\b(app store( connect)?|testflight|play console|google play)\\b.{0,80}\\b(reject\\w*|warn\\w*|flag\\w*|blocked|submit\\w*|upload\\w*|review|policy)\\b",
"\\b(reject\\w*|submit\\w*|submission|upload\\w*)\\b.{0,60}\\b(app store|google play|play store|play console)\\b",
"\\b(target ?sdk|target api( level)?|targetSdkVersion)\\b",
"\\b16 ?kb page\\b",
"\\b(staged|phased|percentage) (roll ?out|release)\\b",
"\\b(roll ?out|release)\\b.{0,40}\\b(halt|pause|widen)\\b.{0,40}\\b(play|app store|android|ios)\\b",
"\\bbad behavio(u)?r threshold\\b|\\bANR rate\\b|\\buser[- ]perceived (crash|ANR)\\b",
"\\b(release readiness|ready to submit)\\b.{0,60}\\b(ios|android|app store|play)\\b",
"\\bdata safety (form|section)\\b|\\bpermission declaration\\b",
"\\b(ios|android|flutter|react native)\\b.{0,40}\\b(release|build|update)\\b.{0,60}\\b(store|play|review|reject\\w*|submit\\w*)\\b"
],
"not": [
"\\b(aso|keywords?|screenshots?|rank\\w*|listing)\\b",
"\\bfastlane\\b",
"\\b(argo|kubernetes|k8s|canary deployment)\\b",
"\\b(coding agent|ai agent|feature flags?|engineering org)\\b"
]
},
{
"skill": "cloud-finops",
"why": "cloud cost allocation, commitments and cost anomalies from a FOCUS export",
"any": [
"\\bfinops\\b|\\bFOCUS (export|billing|cost|data|1\\.\\d)\\b",
"\\b(aws|azure|gcp|google cloud|cloud)\\b.{0,30}\\b(bill|billing|cost|costs|spend|invoice)\\b.{0,80}\\b(jump\\w*|spik\\w*|grew|increase\\w*|doubl\\w*|tripl\\w*|anomal\\w*|untagged|allocat\\w*|team|owner)\\b",
"\\b(savings plans?|reserved instances?|committed use discounts?|commitment(s)? (coverage|utili[sz]ation)|effective savings rate)\\b",
"\\b(untagged|unallocated)\\b.{0,30}\\b(spend|cost|costs|resources)\\b",
"\\b(showback|chargeback)\\b",
"\\bcost anomal\\w*\\b",
"\\b(nat gateway|egress|data transfer)\\b.{0,40}\\b(charges?|costs?|bill)\\b",
"\\b(unit cost|cost per (order|customer|user|request))\\b"
],
"not": [
"\\b(dcf|3[- ]statement|valuation|arr|net revenue retention|burn multiple|cac)\\b",
"\\bterraform\\b.{0,40}\\b(module|deploy)\\b"
]
}
]
}