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.
|
||||
Reference in new issue
Block a user