feat(skills): reworked skills and rules
CI / CI configuration security checks (push) Successful in 3s
CI / Capabilities and shell quality (push) Successful in 14s
CI / Python tests and compilation (push) Successful in 26s
CI / QMD unit tests (push) Successful in 5s
CI / Build and inspect generated packages (push) Successful in 14s
CI / PowerShell tests on Ubuntu (push) Successful in 1m4s
CI / Installed client configuration smoke tests (push) Successful in 33s
CI / Bash integration and installation guards (push) Successful in 1m1s
CI / CI configuration security checks (push) Successful in 3s
CI / Capabilities and shell quality (push) Successful in 14s
CI / Python tests and compilation (push) Successful in 26s
CI / QMD unit tests (push) Successful in 5s
CI / Build and inspect generated packages (push) Successful in 14s
CI / PowerShell tests on Ubuntu (push) Successful in 1m4s
CI / Installed client configuration smoke tests (push) Successful in 33s
CI / Bash integration and installation guards (push) Successful in 1m1s
This commit is contained in:
1 parent
29632ff0ce
commit
f5d8f6f11b
124 files changed
+1250
-8138
No files matched your search
@@ -1,25 +1,31 @@
|
||||
---
|
||||
name: plugin-workflow
|
||||
description: MUST use for development tasks (code, script, hook, configuration, or UI changes; debugging; code review), on their resume, and at phase transitions to coordinate installed workflow, UI, and communication plugins. Not for questions or documentation and instruction-text changes.
|
||||
description: MUST load at the start of every session and task, including questions and prose, and again after resume, compaction, and phase transitions, to coordinate installed workflow, UI, and communication plugins. Each plugin layer applies only at its own triggers.
|
||||
---
|
||||
|
||||
# Plugin Workflow
|
||||
|
||||
MUST apply available plugins automatically at these triggers. User instructions, security, project rules, research gates, and proportional checks retain precedence. Check exposed skills/enabled plugins once per session; cache presence is insufficient. Load actual installed instructions before use; reuse them. Report missing plugins once, continue with shared guidance, and never install or grant trust implicitly. Respect manual-only invocation metadata.
|
||||
Load this skill for every task. Apply each plugin layer below automatically at its own triggers; development-only layers (Superpowers, Ponytail, Impeccable and Apple Design, Modern Web Guidance) stay idle for questions and prose-only work, while the response layer always applies. User instructions, security, project rules, research gates, and proportional checks retain precedence. Check exposed skills/enabled plugins once per session; cache presence is insufficient. Load actual installed instructions before use; reuse them. Report missing plugins once, continue with shared guidance, and never install or grant trust implicitly. Respect manual-only invocation metadata.
|
||||
|
||||
## Superpowers: process
|
||||
|
||||
MUST load `using-superpowers` for development tasks and the matching skill before each phase:
|
||||
|
||||
- Features/behavior changes: `brainstorming`; multi-step plans: `writing-plans`.
|
||||
- Bugs/failures: `systematic-debugging` before fixing.
|
||||
- Accepted plans: `executing-plans`. Delegation, including Superpowers' subagent workflows, follows the orchestration rules (`rules/orchestration.md` / `rules-orchestration`); a plugin default alone never authorizes subagents.
|
||||
- Behavior requiring regression coverage: `test-driven-development`.
|
||||
- Review requests/feedback: `requesting-code-review`/`receiving-code-review`.
|
||||
- Completion claims: `verification-before-completion`, with matching evidence.
|
||||
- Features/behavior changes: `brainstorming`; multi-step plans: `writing-plans`. If the request is too vague to scope, run `work-item-definition` first; when callers, compatibility, or blast radius are uncertain, run `change-impact-analysis` inside the planning phase.
|
||||
- Bugs/failures: `systematic-debugging` before fixing. When the failure shows up in a deployed or test environment, run `incident-investigation` first to trace it through remote evidence, then hand its result to `systematic-debugging`.
|
||||
- Performance claims, optimizations, and suspected regressions: `performance-measure` before and after the change; `performance-review` alone only reasons about a diff.
|
||||
- Creating or changing skills, rules, or other agent instructions: `writing-skills`, which tests the instruction against a failing scenario before and after the edit. Keep the repository's `evals/evals.json` files in step with the change. Where `skill-creator` is available, use it only to run those evals or benchmark trigger descriptions; `writing-skills` keeps the process.
|
||||
- Accepted plans: `executing-plans`. Delegation, including Superpowers' subagent workflows, follows the orchestration rules (`rules/orchestration.md` / `rules-orchestration`); a plugin default alone never authorizes subagents. The one exception is the Impeccable agents that the UI loop below names.
|
||||
- Behavior requiring regression coverage: `test-driven-development` sets the order (failing test first); `unit-test-write`, `integration-test-write`, or `e2e-test-write` (user journeys through a running UI) decides what to test and how to isolate it.
|
||||
- Review requests/feedback: `requesting-code-review`/`receiving-code-review`, with the review itself run as the Reviews section below describes.
|
||||
- Completion claims: `verification-before-completion`, with matching evidence. When the task has a work item or acceptance criteria, `work-item-verification` maps each criterion to that evidence.
|
||||
|
||||
Keep Context7 checkpoints within this workflow. Existing authorization stands; ask only about material unresolved decisions. Plugin defaults do not authorize commits, publishing, branch creation or switching, worktree creation, or additional approval rounds. Work on the current branch and checkout without asking about branches or worktrees.
|
||||
|
||||
## Reviews
|
||||
|
||||
Every code review has one entry point, `review-pull-request`, whoever triggered it (the user, Superpowers `requesting-code-review`, or a `reviewer` agent). It owns the specialist list, severity scale, finding schema, and dedup rules, and ends in one report; never deliver one report per skill. Run `/code-review`, `caveman-review`, or other review commands only when the user invokes them by name.
|
||||
|
||||
## Ponytail: implementation and review
|
||||
|
||||
MUST load `ponytail` in `ultra` mode before coding, fixing, refactoring, configuring, choosing dependencies, or reviewing. Inspect affected callers and consumers. Prefer existing code, then platform features, then installed dependencies. Implement the smallest complete change; remove speculative abstractions without cutting requested behavior, security, accessibility, or error handling. Verify non-trivial logic proportionally. Apply `ponytail-review` when reviewing changes, inside the existing review phase. For whole-repository quality audits, use `ponytail-audit`; for questions about deferred work or `shortcut:` comments, use `ponytail-debt`. Both are read-only reports. Report skipped checks and material risks concisely.
|
||||
@@ -38,7 +44,7 @@ Run each UI task as one loop:
|
||||
1. Context: run Impeccable's context setup. Apple Design pins platform, framework, and the screen's single job, loads its always-load set plus the pages for the components in scope, and hands Impeccable the resulting constraints: target sizes, type minimums, contrast, navigation pattern, and modality rules.
|
||||
2. Direction: Impeccable shapes the work within those constraints. For a new surface or redesign, Apple Design checks the plan once with its improvement-mode critique (would the same plan fit another product?) and names system components for navigation and controls.
|
||||
3. Build: Impeccable reads its craft floor and edits. Navigation and controls use the components Apple Design named; identity lives in color, type, imagery, voice, and a few defining moments.
|
||||
4. Review: run Impeccable `critique` or `audit`, Apple Design's lens review, and the `ui-ux-review` checks on the same rendered result. Merge them into one report without duplicates: Apple Design's severity and citations, Impeccable's evidence and detector output, and `ui-ux-review`'s task impact. Never deliver separate reports.
|
||||
4. Review: run Impeccable `critique` or `audit`, Apple Design's lens review, and the `ui-ux-review` checks on the same rendered result. Merge them into one report in the `review-pull-request` finding schema, mapping Apple Design's severity onto its scale (Critical to blocking, High to important, Medium and Low to minor), with Apple Design's citations, Impeccable's evidence and detector output, and `ui-ux-review`'s task impact. Never deliver separate reports. When the change is a finished build, include `impeccable-finish-reviewer`. When it adds or changes motion, include `impeccable-motion-reviewer`. Both are read-only, and an authorized UI task covers them.
|
||||
5. Fix: resolve Critical and High findings through the matching Impeccable command (`harden`, `adapt`, `clarify`, `layout`, `typeset`, `polish`), then run one bounded confirmation pass with both. Do not loop again without new evidence.
|
||||
|
||||
Precedence, highest first; a higher source wins every conflict with a lower one:
|
||||
@@ -55,10 +61,9 @@ Platform scope: Apple platform conventions apply only where the product targets
|
||||
|
||||
Supporting skills join the same loop instead of running beside it. Each keeps its specialty, and the precedence above decides conflicts:
|
||||
|
||||
- UI copy has one writer. Impeccable writes interface copy (`clarify` for fixes). `copywriting` writes and `copy-editing` edits marketing and website copy for Persuade and Read surfaces, within Impeccable's direction. Apple Design's writing lens and the shared content rules check the result in the review step. `humanizer` runs last on new or rewritten copy and keeps labels, terms, length, and platform capitalization.
|
||||
- Positioning and structure come before direction. `product-marketing` context feeds Impeccable's PRODUCT.md, and `site-architecture` or `content-strategy` settle page hierarchy and navigation before Impeccable shapes the visual direction.
|
||||
- `cro`, `offers`, and `marketing-psychology` contribute findings in the review step, not separate redesigns. Their suggestions stay honest: no fake scarcity, dark patterns, or manipulation.
|
||||
- `image` prepares and optimizes assets inside Impeccable's visual world.
|
||||
- Copy has one writer. Impeccable writes interface and marketing copy (`clarify` for fixes). Apple Design's writing lens and the shared content rules check the result in the review step. `humanizer` runs last on new or rewritten copy and keeps labels, terms, length, and platform capitalization. Persuasion stays honest: no fake scarcity, dark patterns, or manipulation.
|
||||
- `media` prepares and optimizes images, video, and audio inside Impeccable's visual world. `impeccable-asset-producer` may produce raster assets from an approved mock.
|
||||
- `impeccable-documenter` writes DESIGN.md after a finished build, but only when the project keeps one or the user asks. `impeccable-manual-edit-applier` runs only for Impeccable's live edit batches. Both write files, so they stay within the task's scope.
|
||||
- Technical reviews such as `wpf-review` and the Angular or WPF rules add their findings to the same merged report.
|
||||
|
||||
Visual restraint from the shared rules is the default for Impeccable's Operate and Read modes. In Persuade and Experience modes, Impeccable's mode sets the ambition unless a higher source pins it.
|
||||
@@ -73,10 +78,12 @@ MUST load `reverse-engineer-anything` before analyzing artifacts without usable
|
||||
|
||||
## i-have-adhd and Caveman: responses
|
||||
|
||||
MUST apply i-have-adhd structure and Caveman `full` style every response when available. i-have-adhd can be manual-only: use these shared response rules automatically without claiming plugin invocation. This is a communication preference, not a diagnosis.
|
||||
MUST apply i-have-adhd structure and Caveman style at the plugin's default level every response when available. i-have-adhd can be manual-only: use these shared response rules automatically without claiming plugin invocation. This is a communication preference, not a diagnosis.
|
||||
|
||||
Lead with the answer/result or required user action. Number user steps; state progress briefly. Complete authorized work yourself. Give one next user action only when needed; estimates only when supported. Preserve complete requested lists, evidence, uncertainty, and risks. Caveman removes filler while retaining i-have-adhd structure; clarity and requested detail override compression.
|
||||
|
||||
User-selected levels override defaults. `stop adhd mode`, `stop caveman`, and `stop ponytail` disable their respective layers; `normal mode` disables all three for the session. Preserve opt-outs across tasks, compaction, and resume until explicit reactivation.
|
||||
|
||||
Caveman contributes its response style only. Its other skills and agents duplicate layers above, so they run only when the user invokes them by name. This covers `caveman-commit`, `safe-refactor`, `investigate-first`, `surgical-patch`, `migration`, `lean-build`, `verify-and-stop`, `caveman-explore`, `caveman-compress`, and the `cavecrew` agents. Superpowers, Ponytail, the review entry point, the Git rules, and `research` own those phases.
|
||||
|
||||
Before sending, check applicable phase/UI/web/Ponytail triggers, style opt-outs, and evidence. Keep this check internal; report material gaps.
|
||||
@@ -36,8 +36,9 @@
|
||||
{
|
||||
"id": 3,
|
||||
"prompt": "What's the difference between `git rebase` and `git merge`? Also, can you fix the typo \"recieve\" in README.md?",
|
||||
"expected_output": "Both parts are out of scope for this skill: a conceptual question and a documentation text change. Should answer the question and fix the typo directly without loading using-superpowers, brainstorming, systematic-debugging, ponytail, impeccable, or humanizer, and without starting a planning or review phase.",
|
||||
"expected_output": "plugin-workflow is loaded, but only its response layer applies: a conceptual question and a one-word documentation fix trigger no development layer. Should answer the question and fix the typo directly without loading using-superpowers, brainstorming, systematic-debugging, ponytail, impeccable, or humanizer, and without starting a planning or review phase.",
|
||||
"assertions": [
|
||||
"Loads plugin-workflow even though the task is a question and a prose fix",
|
||||
"Answers the rebase versus merge question directly",
|
||||
"Fixes the README typo directly",
|
||||
"Does not load using-superpowers or other Superpowers phase skills",
|
||||
@@ -77,15 +78,72 @@
|
||||
{
|
||||
"id": 6,
|
||||
"prompt": "Rework the pricing page in src/app/pricing: new headline and plan copy, better conversion, and add a 'Only 3 spots left' banner to push sign-ups. (Installed: superpowers, ponytail, impeccable, apple-design, humanizer.)",
|
||||
"expected_output": "This is a UI development task on a Persuade surface. Impeccable leads visual direction and edits. copywriting writes the headline and plan copy within that direction, humanizer runs last on the new copy, and Apple Design's writing lens checks it in review. cro and offers contribute findings in the shared review step rather than a separate redesign. The 'Only 3 spots left' banner is not added unless the scarcity is real; the agent asks or flags it as a dark pattern. Delivers one merged report.",
|
||||
"expected_output": "This is a UI development task on a Persuade surface. Impeccable leads visual direction, edits, and the headline and plan copy; humanizer runs last on the new copy, and Apple Design's writing lens checks it in review. The 'Only 3 spots left' banner is not added unless the scarcity is real; the agent asks or flags it as a dark pattern. Delivers one merged report.",
|
||||
"assertions": [
|
||||
"Lets Impeccable lead the visual direction and edits of the pricing page",
|
||||
"Uses copywriting for the marketing copy and runs humanizer on the new copy last",
|
||||
"Reports cro or offers suggestions as findings in one merged review",
|
||||
"Lets Impeccable lead the visual direction, edits, and copy of the pricing page",
|
||||
"Runs humanizer on the new copy last",
|
||||
"Does not add the scarcity banner without confirming the scarcity is real",
|
||||
"Delivers one merged report instead of separate skill reports"
|
||||
],
|
||||
"files": []
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"prompt": "Review my last commit before I push it. It changes OrdersController.cs (new endpoint) and OrderRepository.cs (new EF Core query). (Installed: superpowers, ponytail.)",
|
||||
"expected_output": "Uses review-pull-request as the single entry point, applies ponytail-review as the quality lens, adds api-review and efcore-review because the diff touches an endpoint and an EF Core query, and delivers one severity-ordered report in the review-pull-request finding schema with source reviews listed, not one report per skill. Does not run /code-review or caveman-review because the user did not invoke them.",
|
||||
"assertions": [
|
||||
"Uses review-pull-request as the entry point",
|
||||
"Adds api-review and efcore-review based on the touched files",
|
||||
"Delivers one merged, severity-ordered report with source reviews",
|
||||
"Does not run /code-review or caveman-review unprompted"
|
||||
],
|
||||
"files": []
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"prompt": "stop caveman\n\n(The conversation is later compacted.) Now explain how our hook scripts resolve Python.",
|
||||
"expected_output": "Reloads plugin-workflow after compaction and keeps the earlier stop caveman opt-out: the answer leads with the result but is written in normal prose, not Caveman style. No development layer loads for this question.",
|
||||
"assertions": [
|
||||
"Reloads plugin-workflow after compaction",
|
||||
"Keeps the stop caveman opt-out after compaction",
|
||||
"Does not load Superpowers, Ponytail, or Impeccable for the question"
|
||||
],
|
||||
"files": []
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"prompt": "Finish the onboarding screen redesign we planned, including the new entrance animation.",
|
||||
"expected_output": "Runs the Impeccable and Apple Design UI loop. In the review step it includes impeccable-finish-reviewer for the finished build and impeccable-motion-reviewer for the new animation, without asking for separate subagent approval, and merges their findings into the one report in the review-pull-request schema.",
|
||||
"assertions": [
|
||||
"Uses impeccable-finish-reviewer in the review step",
|
||||
"Uses impeccable-motion-reviewer because motion changed",
|
||||
"Does not ask for extra approval to run these read-only Impeccable agents",
|
||||
"Delivers one merged report"
|
||||
],
|
||||
"files": []
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"prompt": "Refactor the OrderService class to remove the duplicated validation, then commit it.",
|
||||
"expected_output": "Uses Superpowers and Ponytail with the shared refactoring rules, not Caveman's safe-refactor, and writes the commit under the Git rules with a Conventional Commit message and humanizer, not caveman-commit. Caveman only shapes the chat reply.",
|
||||
"assertions": [
|
||||
"Does not invoke caveman safe-refactor or caveman-commit",
|
||||
"Follows the shared refactoring and Git rules",
|
||||
"Applies Caveman style only to the chat response"
|
||||
],
|
||||
"files": []
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"prompt": "Our sql-write skill doesn't trigger when someone asks for a stored procedure. Fix the skill.",
|
||||
"expected_output": "Loads Superpowers writing-skills, first shows the failing case (a stored procedure request that does not trigger sql-write), then changes the skill description or body, checks the same case again, and adds or updates an entry in the skill's evals/evals.json.",
|
||||
"assertions": [
|
||||
"Uses writing-skills for the skill change",
|
||||
"Demonstrates the failing trigger case before editing",
|
||||
"Re-checks the case after the edit",
|
||||
"Updates the skill's evals/evals.json"
|
||||
],
|
||||
"files": []
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user