@xynogen/pix-skills 0.4.3 → 0.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -7,7 +7,7 @@ Pi coding agent extension — skill loader tool + skills bundle.
7
7
  | Resource | Type | Description |
8
8
  |---|---|---|
9
9
  | `read_skills` | tool | Browse and load bundled skills. No args → list all. `name` only → description. `name + full=true` → full instructions. |
10
- | `skills/` | skills | 23 bundled skills (auto-loaded by pi at startup — names + descriptions in system prompt) |
10
+ | `skills/` | skills | 24 bundled skills (auto-loaded by pi at startup — names + descriptions in system prompt) |
11
11
 
12
12
  ## How it works
13
13
 
@@ -24,30 +24,34 @@ Skills are also discovered from `~/.pi/agent/skills/` (user-level). Bundled skil
24
24
 
25
25
  ## Skills
26
26
 
27
- | Skill | Trigger |
27
+ All skills are model-invocable — pi auto-loads each one on description match. The agent can also load any skill on demand via `read_skills(name=<skill>, full=true)`.
28
+
29
+ | Skill | Description |
28
30
  |---|---|
29
- | `audit` | manual |
30
- | `bootstrap` | manual |
31
- | `brainstorm` | manual |
32
- | `clone` | auto — git URL / `owner/repo` |
33
- | `commit` | manual — "commit this", "make a commit" |
34
- | `debug` | auto — bug / error / doesn't work |
35
- | `explain` | auto — explain / how does |
36
- | `finish` | manual |
37
- | `graphify` | auto — codebase question / architecture |
38
- | `handoff` | manual |
39
- | `plan` | auto — plan / design / architect |
40
- | `readme` | manual |
41
- | `review` | auto — review / check / audit |
42
- | `runner` | manual |
43
- | `search` | auto — search / find / look up |
44
- | `standup` | manual |
45
- | `suggest` | auto — suggest / recommend |
46
- | `task` | auto — task / todo / checklist |
47
- | `test` | auto — test / spec / coverage |
48
- | `tldr` | auto — tldr / summarize |
49
- | `ui` | manual |
50
- | `verify` | auto — verify / validate / confirm |
31
+ | `ask-user` | Present 2–5 options before high-stakes/irreversible or ambiguous decisions |
32
+ | `audit` | Security audit, integrity check, and secret/vulnerability scan |
33
+ | `bootstrap` | Project and tool scaffolding from authoritative docs |
34
+ | `brainstorm` | Design exploration and spec refinement before implementation |
35
+ | `clone` | Clone any git repo into `/tmp/clones` for read-only exploration |
36
+ | `commit` | Split, write, and maintain Conventional-Commit-style commits |
37
+ | `debug` | Root-cause analysis and self-annealing error resolution |
38
+ | `explain` | Technical deconstruction and logic tracing of existing code |
39
+ | `finish` | Structured branch completion — verify, decide, clean up |
40
+ | `graphify` | Codebase questions via a persistent knowledge graph |
41
+ | `handoff` | Toggle session handoff — write or read+delete `HANDOFF.md` |
42
+ | `notion` | Efficient Notion workspace retrieval — pages, databases, lists |
43
+ | `plan` | Write detailed, bite-sized implementation plans before coding |
44
+ | `readme` | Create or update a deployment-focused README in a fixed style |
45
+ | `review` | Architectural review and quality assurance |
46
+ | `runner` | Generate or convert a task runner (just/make/mise/task/npm/sh) |
47
+ | `search` | Deep logic discovery and project context mapping |
48
+ | `standup` | Prepare a daily standup update from Notion context |
49
+ | `suggest` | Multi-dimensional optimization and improvement recommendations |
50
+ | `task` | Task orchestration and ambiguity resolution |
51
+ | `test` | Test execution, analysis, and failure resolution via TDD |
52
+ | `tldr` | Maximum-density technical summary, zero filler |
53
+ | `ui` | UI/UX design and implementation guidance for frontends |
54
+ | `verify` | Verification before completion — confirm it's actually fixed |
51
55
 
52
56
  ## Usage
53
57
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xynogen/pix-skills",
3
- "version": "0.4.3",
3
+ "version": "0.4.5",
4
4
  "description": "Pi extension — agent skill loader (skill tool + skills bundle)",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
package/skills/audit.md CHANGED
@@ -1,16 +1,17 @@
1
1
  ---
2
2
  name: audit
3
3
  description: Security audit, integrity check, and health scan. Use only on explicit request — "audit this", "security scan", "check for secrets", "is this safe", "find vulnerabilities".
4
- disable-model-invocation: true
5
4
  ---
6
5
  # Audit Directive
7
6
 
8
7
  ## Goal
8
+
9
9
  Surface every risk with evidence + severity. No vague warnings — each finding locatable + actionable.
10
10
 
11
- ## Below are what agent MUST do:
11
+ ## Below are what agent MUST do
12
12
 
13
13
  ### Phase 1: Scan
14
+
14
15
  - **AUTO-RUN**: Run scans without confirmation unless input required.
15
16
  - **SECRETS**: Grep credential patterns — API keys, tokens, `password=`, private keys, connection strings. Check committed files AND history if asked.
16
17
  - **INTEGRITY**: Verify imports resolve, symlinks valid, cross-module refs intact.
@@ -19,6 +20,7 @@ Surface every risk with evidence + severity. No vague warnings — each finding
19
20
  - **INPUTS**: Check unvalidated user input → injection, path traversal, unsafe deserialization.
20
21
 
21
22
  ### Phase 2: Report
23
+
22
24
  ```
23
25
  ## Audit Findings
24
26
 
@@ -38,11 +40,13 @@ Surface every risk with evidence + severity. No vague warnings — each finding
38
40
  ```
39
41
 
40
42
  ## Severity Rules
43
+
41
44
  - **🔴 Critical**: exposed secret, RCE, injection, auth bypass. Fix first.
42
45
  - **🟡 Warning**: outdated dep with CVE, missing input validation, weak crypto.
43
46
  - **🔵 Info**: dead code, style risk, hardening opportunity.
44
47
 
45
48
  ## Red Flags — STOP
49
+
46
50
  - Reporting finding without `file:line` evidence.
47
51
  - Claiming "no issues found" without stating what scanned.
48
52
  - Auto-fixing secrets in git history (destructive — confirm with user first).
@@ -1,21 +1,23 @@
1
1
  ---
2
2
  name: bootstrap
3
3
  description: Project and tool scaffolding using authoritative docs for best practices. Use only on explicit request — "scaffold a project", "set up X", "bootstrap this", "init a new service".
4
- disable-model-invocation: true
5
4
  ---
6
5
  # Bootstrap & Scaffolding Directive
7
6
 
8
7
  ## Goal
8
+
9
9
  Produce runnable, convention-correct project skeleton. New developer clones it + runs it in five minutes.
10
10
 
11
- ## Below are what agent MUST do:
11
+ ## Below are what agent MUST do
12
12
 
13
13
  ### Phase 1: Research
14
+
14
15
  - **AUTO-RUN**: Run setup commands without confirmation unless input required.
15
16
  - **RESEARCH**: Use authoritative docs for target language/framework setup. Don't guess flags — verify with `--help` or docs.
16
17
  - **CONFIRM STACK**: Language/framework/package-manager ambiguous → ask one question before scaffolding.
17
18
 
18
19
  ### Phase 2: Scaffold
20
+
19
21
  - **INIT**: Run standard init (`npm init -y`, `cargo init`, `go mod init`, `uv init`, etc.).
20
22
  - **STRUCTURE**: Create standard layout — `src/`, `tests/`, `docs/`. Mirror community conventions for that ecosystem.
21
23
  - **DEPENDENCIES**: Install core libs via project manager. Pin versions.
@@ -23,10 +25,12 @@ Produce runnable, convention-correct project skeleton. New developer clones it +
23
25
  - **TOOLING**: Set up linter, formatter, CI config matching ecosystem defaults.
24
26
 
25
27
  ### Phase 3: Verify
28
+
26
29
  - Run project build/test command. Confirm clean baseline passes.
27
30
  - Confirm `README` or `.env.example` lists everything needed to run.
28
31
 
29
32
  ### Phase 4: Report
33
+
30
34
  ```
31
35
  ## Scaffolded: [project name]
32
36
 
@@ -44,6 +48,7 @@ Produce runnable, convention-correct project skeleton. New developer clones it +
44
48
  ```
45
49
 
46
50
  ## Red Flags — STOP
51
+
47
52
  - Scaffolding before confirming ambiguous stack.
48
53
  - Inventing init flags instead of checking docs.
49
54
  - Writing real secrets into `.env` (use `.env.example` with placeholders).
@@ -1,48 +1,56 @@
1
1
  ---
2
2
  name: brainstorm
3
3
  description: Design exploration and spec refinement before any implementation begins
4
- disable-model-invocation: true
5
4
  ---
6
5
  # Brainstorm Directive
7
6
 
8
7
  ## Hard Gate
8
+
9
9
  ```
10
10
  DO NOT write code, scaffold project, or take implementation action
11
11
  until you present a design AND user approves it.
12
12
  ```
13
+
13
14
  Applies to EVERY request, regardless of perceived simplicity.
14
15
 
15
- ## Below are what agent MUST do:
16
+ ## Below are what agent MUST do
16
17
 
17
18
  ### Step 1: Explore Context
19
+
18
20
  - Check existing files, docs, recent git commits.
19
21
  - Understand what already exists before proposing anything new.
20
22
 
21
23
  ### Step 2: Ask Clarifying Questions
24
+
22
25
  - Ask ONE question at a time. Don't overwhelm.
23
26
  - Prefer multiple-choice when possible.
24
27
  - Focus on: purpose, constraints, success criteria, edge cases.
25
28
  - Continue until you understand full scope.
26
29
 
27
30
  ### Step 3: Propose 2-3 Approaches
31
+
28
32
  - Present distinct approaches with trade-offs.
29
33
  - Lead with recommended option, explain WHY.
30
34
  - Apply YAGNI ruthlessly — remove unnecessary features from all proposals.
31
35
 
32
36
  ### Step 4: Present Design for Approval
37
+
33
38
  - Present design in sections scaled to complexity.
34
39
  - Cover: architecture, components, data flow, error handling, testing strategy.
35
40
  - Ask approval after each section. Revise if needed.
36
41
 
37
42
  ### Step 5: Write Design Doc
43
+
38
44
  - Save validated design to `docs/plans/YYYY-MM-DD-<topic>-design.md`.
39
45
  - Commit design document to git.
40
46
 
41
47
  ### Step 6: Transition to Implementation
48
+
42
49
  - Invoke `/plan` workflow to create detailed implementation plan.
43
50
  - Do NOT start coding directly. `/plan` is next step.
44
51
 
45
52
  ## Key Principles
53
+
46
54
  - **One question at a time** — Don't overwhelm
47
55
  - **YAGNI ruthlessly** — Remove unnecessary features from all designs
48
56
  - **Explore alternatives** — Always propose 2-3 approaches before settling
package/skills/clone.md CHANGED
@@ -1,10 +1,11 @@
1
1
  ---
2
2
  name: clone
3
3
  description: Clone any git repository (GitHub/GitLab/Bitbucket URL, SSH, or owner/repo shorthand) into /tmp/clones for read-only code exploration. Use proactively whenever the user provides a git URL, asks to "look at", "explore", "read", "check out", or "analyze" an external repository, or shares a github.com/gitlab.com/bitbucket.org link.
4
- disable-model-invocation: true
5
4
  ---
6
5
  # Clone Directive
7
- ## Below are what agent MUST do:
6
+
7
+ ## Below are what agent MUST do
8
+
8
9
  - **AUTO-RUN**: Run terminal commands proactively without confirmation unless explicit input required.
9
10
  - **AUTO-INVOKE**: Trigger automatically when user message contains git URL, repo shorthand (`owner/repo`), or phrases like "clone", "look at this repo", "explore", "analyze this project", "check out <url>".
10
11
  - **INPUT**: Accept git URL (https, ssh, or `github.com/owner/repo` / `owner/repo` shorthand). Normalize shorthand → `https://github.com/owner/repo`.
package/skills/commit.md CHANGED
@@ -1,19 +1,20 @@
1
1
  ---
2
2
  name: commit
3
3
  description: Split, write, and maintain Conventional-Commit-style commits. Use only on explicit request — "commit this", "make a commit", "split these changes", "amend/squash the history".
4
- disable-model-invocation: true
5
4
  ---
6
5
  # Conventional Commit Management Directive
7
6
 
8
7
  ## The Iron Law
8
+
9
9
  ```
10
10
  INVOCATION IS PERMISSION. User invoked this skill → commit without asking again.
11
11
  Still forbidden: secrets, binaries, unrelated changes, trailer metadata.
12
12
  ```
13
13
 
14
- ## Below are what agent MUST do:
14
+ ## Below are what agent MUST do
15
15
 
16
16
  ### Phase 1: Inspect
17
+
17
18
  - **AUTO-RUN**: Run `git status` and `git diff` (staged + unstaged), then proceed straight to commit. Do NOT pause for "may I commit?" confirmation — user already asked.
18
19
  - **GITIGNORE**: Before staging, inspect untracked/generated files. Add obvious ignore candidates to `.gitignore` (build dirs, caches, logs, temp files, editor/OS junk, local env files). Re-run `git status`. Uncertain whether file should be ignored vs committed → ask user before changing `.gitignore` or staging it.
19
20
  - **GROUP**: Cluster changes by path/module and by functionality. Each cluster → one self-contained commit.
@@ -22,7 +23,9 @@ Still forbidden: secrets, binaries, unrelated changes, trailer metadata.
22
23
  ### Phase 2: Validate
23
24
 
24
25
  #### 2a. Detect runner
26
+
25
27
  Scan project root for a task runner file in this priority order:
28
+
26
29
  1. `justfile` — run `just lint check`, `just format check`, `just test unit`
27
30
  2. `mise.toml` / `.mise.toml` — run `mise run lint check`, `mise run format check`, `mise run test unit`
28
31
  3. `Makefile` — run `make lint-check`, `make format-check`, `make test-unit`
@@ -31,7 +34,9 @@ Scan project root for a task runner file in this priority order:
31
34
  6. `run.sh` — run `./run.sh lint check`, `./run.sh format check`, `./run.sh test unit`
32
35
 
33
36
  #### 2b. Runner or tasks missing
37
+
34
38
  If **no runner file exists** OR the runner exists but **lacks `lint`, `format`, or `test` tasks**:
39
+
35
40
  - Ask user:
36
41
  > Runner / task(s) not found. Options:
37
42
  > A) **Create runner + tasks now** — invoke the `runner` skill to generate missing tasks, then run them before committing.
@@ -42,6 +47,7 @@ If **no runner file exists** OR the runner exists but **lacks `lint`, `format`,
42
47
  - If user picks C: halt. Report what's missing and suggest running the `runner` skill manually.
43
48
 
44
49
  #### 2c. Run checks (in order)
50
+
45
51
  1. **Lint** (`lint check`) — static analysis. Failure → STOP, report issues, do not commit.
46
52
  2. **Format** (`format check`) — style check (dry-run). Failure → auto-run `format fix`, show diff, then re-run `format check` to confirm clean. Still failing → STOP.
47
53
  3. **Unit tests** (`test unit`) — correctness. Failure → STOP, report failing tests, do not commit.
@@ -49,7 +55,9 @@ If **no runner file exists** OR the runner exists but **lacks `lint`, `format`,
49
55
  All three must be green before proceeding to Phase 3.
50
56
 
51
57
  ### Phase 3: Compose
58
+
52
59
  Format: `<type>(<scope>): <subject>`
60
+
53
61
  - **type**: `feat` · `fix` · `chore` · `refactor` (also `docs`, `test`, `perf` when apt).
54
62
  - **scope**: module/area touched. Clear, lowercase.
55
63
  - **subject**: imperative, concise, no trailing period.
@@ -61,18 +69,22 @@ refactor(api): extract response builder from handler
61
69
  ```
62
70
 
63
71
  ### Phase 4: Split & Stage
72
+
64
73
  - Stage per cluster: `git add <paths>` (or `-p` for partial hunks).
65
74
  - One commit per logical change. Never mix `feat` + unrelated `fix` in one commit.
66
75
 
67
76
  ### Phase 5: Maintain (when asked)
77
+
68
78
  - Squash/amend/reorder to keep history clean. Remove WIP commits.
69
79
  - Never rewrite pushed history without explicit confirmation (irreversible for collaborators).
70
80
 
71
81
  ## Authorship Rule
82
+
72
83
  - Commits authored solely by user's git config identity.
73
84
  - Do NOT add `Co-Authored-By`, `Signed-off-by`, or any trailer metadata.
74
85
 
75
86
  ## Red Flags — STOP
87
+
76
88
  - Asking "should I commit?" after skill invoked — invocation already answered that.
77
89
  - Secrets, binaries, or `console.log`/`print` debug lines in diff.
78
90
  - One commit bundling unrelated changes.
package/skills/debug.md CHANGED
@@ -1,26 +1,30 @@
1
1
  ---
2
2
  name: debug
3
3
  description: Root-Cause Analysis and self-annealing procedure for error resolution
4
- disable-model-invocation: true
5
4
  ---
6
5
  # Debug & Anneal Directive
7
6
 
8
7
  ## The Iron Law
8
+
9
9
  ```
10
10
  NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST
11
11
  ```
12
+
12
13
  Phase 1 not complete → you CANNOT propose fixes.
13
14
 
14
15
  ## First Principles Debugging
16
+
15
17
  Before diving into symptoms, strip problem to fundamentals:
18
+
16
19
  1. **What MUST be true** for system to work correctly? List the invariants.
17
20
  2. **Which invariant violated?** Bug lives where reality diverges from required truth.
18
21
  3. **Why violated?** Trace from violated invariant backward — ignore surface symptoms.
19
22
  4. Do NOT reason by analogy ("last time this error meant X"). Reason from mechanism ("this error means Y in state Z, which requires W to have failed").
20
23
 
21
- ## Below are what agent MUST do:
24
+ ## Below are what agent MUST do
22
25
 
23
26
  ### Phase 1: Root Cause Investigation
27
+
24
28
  - **READ**: Read error messages and stack traces completely. Note line numbers, file paths, error codes.
25
29
  - **REPRODUCE**: Reproduce error consistently. Not reproducible → gather more data, do NOT guess.
26
30
  - **CHANGES**: Check recent changes (git diff, recent commits, new deps, config changes).
@@ -28,25 +32,30 @@ Before diving into symptoms, strip problem to fundamentals:
28
32
  - **TRACE**: Trace data flow backward through call stack to find original trigger. Fix at source, not symptom.
29
33
 
30
34
  ### Phase 2: Pattern Analysis
35
+
31
36
  - **EXAMPLES**: Find working examples of similar code in codebase.
32
37
  - **COMPARE**: Compare working vs broken. List every difference, however small.
33
38
  - **DEPENDENCIES**: Understand what config, environment, or assumptions code relies on.
34
39
 
35
40
  ### Phase 3: Hypothesis and Testing
41
+
36
42
  - **HYPOTHESIZE**: State clearly: "I think X is root cause because Y." Write it down.
37
43
  - **TEST MINIMALLY**: Make SMALLEST possible change to test hypothesis. One variable at a time.
38
44
  - **VERIFY**: Worked? Yes → Phase 4. No → form NEW hypothesis. Do NOT stack fixes.
39
45
 
40
46
  ### Phase 4: Implementation
47
+
41
48
  - **TEST FIRST**: Create failing test reproducing bug BEFORE writing fix.
42
49
  - **FIX**: Implement single, targeted fix addressing root cause. No "while I'm here" changes.
43
50
  - **VERIFY**: Confirm test passes and no regressions via `/test`.
44
51
  - **ANNEAL**: Error due to missing rules → update appropriate Directive.
45
52
 
46
53
  ## Escalation Rule
54
+
47
55
  - 3+ fixes failed → **STOP**. Question the architecture. Discuss with user before more fixes. This is wrong architecture, not wrong hypothesis.
48
56
 
49
57
  ## Red Flags — STOP and Return to Phase 1
58
+
50
59
  - "Quick fix for now, investigate later"
51
60
  - "Just try changing X and see if it works"
52
61
  - "It's probably X, let me fix that"
package/skills/explain.md CHANGED
@@ -1,28 +1,32 @@
1
1
  ---
2
2
  name: explain
3
3
  description: Technical deconstruction and logic tracing. Use when user asks "how does X work", "explain this", "walk me through", "what does this do", or needs to understand existing code/architecture before changing it.
4
- disable-model-invocation: true
5
4
  ---
6
5
  # Explain Directive
7
6
 
8
7
  ## Goal
8
+
9
9
  Make code understandable from local reading. After explaining, reader grasps intent without re-tracing codebase themselves.
10
10
 
11
- ## Below are what agent MUST do:
11
+ ## Below are what agent MUST do
12
12
 
13
13
  ### Phase 1: Locate & Scope
14
+
14
15
  - **AUTO-RUN**: Run searches and reads needed without confirmation unless input required.
15
16
  - **CONTEXT**: Identify exact target — file, function, class, or concept. Quote the `file:line` under discussion.
16
17
  - **READ**: Read full target plus immediate callers and callees. Don't explain from name alone.
17
18
 
18
19
  ### Phase 2: Deconstruct
20
+
19
21
  - **STRUCTURE**: Break logic into named components (inputs → transform → outputs → side effects).
20
22
  - **TRACE**: Map data flow and call chain. State where data enters, what mutates it, where it exits.
21
23
  - **RATIONALE**: Explain the *why* behind non-obvious choices. Why unknowable → say so, don't invent intent.
22
24
  - **CONTRACTS**: Note types, invariants, assumptions code relies on.
23
25
 
24
26
  ### Phase 3: Report
27
+
25
28
  Use this structure:
29
+
26
30
  ```
27
31
  ## What it does
28
32
  [One sentence.]
@@ -42,6 +46,7 @@ Use this structure:
42
46
  ```
43
47
 
44
48
  ## Red Flags — STOP
49
+
45
50
  - Explaining from function name without reading its body.
46
51
  - Inventing rationale not supported by code or comments.
47
52
  - Describing *what* a line does when self-evident — explain *why* instead.
package/skills/finish.md CHANGED
@@ -1,28 +1,33 @@
1
1
  ---
2
2
  name: finish
3
3
  description: Structured branch completion — verify, decide, and clean up when implementation is done
4
- disable-model-invocation: true
5
4
  ---
6
5
  # Finish Directive
7
6
 
8
7
  ## Overview
8
+
9
9
  Guide completion of dev work by verifying tests + presenting clear options for the branch.
10
10
 
11
11
  **Core principle:** Verify tests → Present options → Execute choice → Clean up.
12
12
 
13
- ## Below are what agent MUST do:
13
+ ## Below are what agent MUST do
14
14
 
15
15
  ### Step 1: Verify Tests
16
+
16
17
  Run full test suite BEFORE presenting any options.
18
+
17
19
  ```bash
18
20
  # Use the project's test command, e.g.:
19
21
  pytest / npm test / go test ./... / cargo test
20
22
  ```
23
+
21
24
  - Tests **fail** → Show failures. Do NOT proceed to Step 2. Fix first.
22
25
  - Tests **pass** → Continue.
23
26
 
24
27
  ### Step 2: Present Options
28
+
25
29
  Present exactly these 4 options — no more, no less:
30
+
26
31
  ```
27
32
  Implementation complete. All tests pass. What would you like to do?
28
33
 
@@ -37,6 +42,7 @@ Which option?
37
42
  ### Step 3: Execute Choice
38
43
 
39
44
  **Option 1 — Merge locally:**
45
+
40
46
  ```bash
41
47
  git checkout <base-branch>
42
48
  git pull
@@ -46,6 +52,7 @@ git branch -d <feature-branch>
46
52
  ```
47
53
 
48
54
  **Option 2 — Create PR:**
55
+
49
56
  ```bash
50
57
  git push -u origin <feature-branch>
51
58
  gh pr create --title "<title>" --body "## Summary
@@ -60,17 +67,21 @@ Report: "Branch `<name>` kept. No changes made."
60
67
 
61
68
  **Option 4 — Discard:**
62
69
  Require typed confirmation first:
70
+
63
71
  ```
64
72
  This will permanently delete branch <name> and all its commits.
65
73
  Type 'discard' to confirm.
66
74
  ```
75
+
67
76
  Then:
77
+
68
78
  ```bash
69
79
  git checkout <base-branch>
70
80
  git branch -D <feature-branch>
71
81
  ```
72
82
 
73
83
  ## Red Flags — Never
84
+
74
85
  - Proceed with failing tests
75
86
  - Merge without re-running tests on merged result
76
87
  - Delete work without typed confirmation
package/skills/handoff.md CHANGED
@@ -1,7 +1,6 @@
1
1
  ---
2
2
  name: handoff
3
3
  description: Toggle session handoff — if HANDOFF.md does not exist, write one (giving mode); if it exists, read and delete it (receiving mode)
4
- disable-model-invocation: true
5
4
  ---
6
5
 
7
6
  # Handoff Directive
@@ -12,7 +11,7 @@ Single-agent session handoff via toggle. One session closes, next picks up exact
12
11
 
13
12
  **Core principle:** Detect file → Give or Receive → Leave no loose ends.
14
13
 
15
- ## Below are what agent MUST do:
14
+ ## Below are what agent MUST do
16
15
 
17
16
  ### Step 1: Detect Mode
18
17
 
package/skills/notion.md CHANGED
@@ -1,7 +1,6 @@
1
1
  ---
2
2
  name: notion
3
3
  description: Efficient Notion workspace retrieval. Use when user asks to fetch, search, or read data from Notion — pages, databases, or project lists.
4
- disable-model-invocation: true
5
4
  ---
6
5
  # Notion Retrieval Directive
7
6
 
package/skills/plan.md CHANGED
@@ -1,17 +1,19 @@
1
1
  ---
2
2
  name: plan
3
3
  description: Write detailed, bite-sized implementation plans before touching code
4
- disable-model-invocation: true
5
4
  ---
6
5
  # Plan Directive
7
6
 
8
7
  ## Overview
8
+
9
9
  Write comprehensive implementation plan assuming engineer has zero context for codebase and questionable taste. Document everything they need: which files to touch, exact code, exact commands, how to verify each step. DRY. YAGNI. TDD. Frequent commits.
10
10
 
11
- ## Below are what agent MUST do:
11
+ ## Below are what agent MUST do
12
12
 
13
13
  ### Plan Document Header
14
+
14
15
  Every plan MUST start with this header:
16
+
15
17
  ```markdown
16
18
  # [Feature Name] Implementation Plan
17
19
 
@@ -22,7 +24,9 @@ Every plan MUST start with this header:
22
24
  ```
23
25
 
24
26
  ### Task Structure
27
+
25
28
  Each task MUST follow this format:
29
+
26
30
  ```markdown
27
31
  ### Task N: [Component Name]
28
32
 
@@ -50,6 +54,7 @@ Expected: PASS
50
54
  ```
51
55
 
52
56
  ### Rules
57
+
53
58
  - **Exact file paths always** — no vague "add to the service file"
54
59
  - **Complete code in plan** — not "add validation here"
55
60
  - **Exact commands with expected output** — no ambiguity
@@ -57,6 +62,7 @@ Expected: PASS
57
62
  - **TDD enforced** — every task starts with failing test
58
63
 
59
64
  ### Save and Handoff
65
+
60
66
  - Save plan to `docs/plans/YYYY-MM-DD-<feature-name>.md`
61
67
  - Commit plan document
62
68
  - Announce: "Plan complete. Ready to execute via `/task`."
package/skills/readme.md CHANGED
@@ -1,16 +1,17 @@
1
1
  ---
2
2
  name: readme
3
3
  description: Create or update a project README in a fixed, deployment-focused style with required sections, env-var tables, and an enforced tone
4
- disable-model-invocation: true
5
4
  ---
6
5
  # README Directive
7
6
 
8
7
  ## Core Philosophy
8
+
9
9
  Produce README aimed at deployment engineer or new developer who needs to run project locally and integrate it into a platform. Optimize for: can they get it running in five minutes, do they know which knobs safe to turn in production? No marketing language, no hobbyist framing.
10
10
 
11
- ## Below are what agent MUST do:
11
+ ## Below are what agent MUST do
12
12
 
13
13
  ### Phase 1: Gather Inputs (Before Writing)
14
+
14
15
  - **AUTO-RUN**: Run terminal commands and tool calls needed proactively without confirmation unless explicit input required.
15
16
  - **DETECT EXISTING**: `README.md` already exists → read it first as source of truth for name, purpose, documented endpoints. Treat update as rewrite into this style, preserving factual content.
16
17
  - **SCAN**: Read `.env.example`, route files, `docker-compose.yml`, task runner files (`justfile`, `Makefile`, `mise.toml`, `Taskfile.yml`, `package.json`), main entrypoint to gather source material.
@@ -33,6 +34,7 @@ Following inputs MUST be identified before drafting:
33
34
  | 11 | License | Exact license name |
34
35
 
35
36
  ### Phase 2: Environment Variable Buckets
37
+
36
38
  Split every env var into exactly one of these three buckets. Bucket empty for project → OMIT its table, don't pad with empty rows.
37
39
 
38
40
  | Bucket | Table Columns | Purpose |
@@ -42,6 +44,7 @@ Split every env var into exactly one of these three buckets. Bucket empty for pr
42
44
  | Optional feature toggles / external integrations | `Variable` (left-aligned `\|:---\|`), `Default` (right-aligned `\|---:\|`), `Description` | Feature flags, third-party API keys |
43
45
 
44
46
  ### Phase 3: Required Structure (Sections in Order)
47
+
45
48
  1. `# <Full Name> (<Acronym>)` — acronym only if one exists.
46
49
  2. Opening paragraph (2-3 sentences): what service is, what it ingests, what it emits.
47
50
  3. Separate short paragraph: key operational characteristics.
@@ -57,6 +60,7 @@ Split every env var into exactly one of these three buckets. Bucket empty for pr
57
60
  13. `## License` — one line.
58
61
 
59
62
  ### Phase 4: Style Rules (Enforce Strictly)
63
+
60
64
  - **PROSE**: Plain factual. No marketing words ("blazing fast", "powerful", "easy", "simple"). No emojis. No badges. No screenshots.
61
65
  - **ORIENTING SENTENCE**: Every section starts with one orienting sentence before any code, list, or table.
62
66
  - **TABLES OVER BULLETS**: Use tables for structured data (env vars, endpoints). Never use bullet lists for things with columns.
@@ -68,6 +72,7 @@ Split every env var into exactly one of these three buckets. Bucket empty for pr
68
72
  - **OPENING**: Open with what it does, not what it is for.
69
73
 
70
74
  ### Phase 5: Customization Rules
75
+
71
76
  - **MISSING BUCKET**: Project has no infra-tunable middle tier or no optional integrations → omit that table rather than padding.
72
77
  - **NO COMPOSE**: Omit `## Docker Compose` section entirely if no compose file exists.
73
78
  - **NO AUTH**: Service unauthenticated → omit `## Authentication`.
@@ -76,4 +81,5 @@ Split every env var into exactly one of these three buckets. Bucket empty for pr
76
81
  - **EXISTING README**: Present diff of proposed changes, ask confirmation before overwriting non-trivial existing README.
77
82
 
78
83
  ## Report
84
+
79
85
  After writing, output final file path and one-line summary of which optional sections omitted (and why).
package/skills/review.md CHANGED
@@ -1,16 +1,17 @@
1
1
  ---
2
2
  name: review
3
3
  description: Architectural Review and Quality Assurance
4
- disable-model-invocation: true
5
4
  ---
6
5
  # Review Directive
7
6
 
8
7
  ## Persona
8
+
9
9
  You are a **bad-mood reviewer** going by the book faithfully. No charity, no benefit of the doubt. Code under review written by competing AI agent. Assume wrong until proven otherwise. Cite the rule violated. No praise, no softening.
10
10
 
11
- ## Below are what agent MUST do:
11
+ ## Below are what agent MUST do
12
12
 
13
13
  ### Pre-Review Checklist (Before Requesting Review)
14
+
14
15
  - **SELF-REVIEW**: Read every changed line. Would you be embarrassed to show this?
15
16
  - **TESTS**: All tests pass. New behavior has tests. No skipped tests without explanation.
16
17
  - **SCOPE**: Changes limited to what was planned. No unrelated modifications.
@@ -18,6 +19,7 @@ You are a **bad-mood reviewer** going by the book faithfully. No charity, no ben
18
19
  - **CLEAN**: No debug logs, commented-out code, or TODO left behind.
19
20
 
20
21
  ### Review Phases
22
+
21
23
  - **PHASES**: Verify logic follows proper ordering and dependencies.
22
24
  - **IDEMPOTENCY**: Ensure scripts and commands safely repeatable without side effects.
23
25
  - **CONSISTENCY**: Check adherence to project naming, structure, style conventions.
@@ -26,6 +28,7 @@ You are a **bad-mood reviewer** going by the book faithfully. No charity, no ben
26
28
  - **YAGNI**: Feature or endpoint unused → flag for removal, don't "implement it properly."
27
29
 
28
30
  ### Receiving Review Feedback
31
+
29
32
  - **NO PERFORMATIVE AGREEMENT**: Never say "Great point!", "You're absolutely right!", or "Thanks for catching that!" Just fix it or push back. Actions speak.
30
33
  - **UNDERSTAND FIRST**: Before implementing anything, restate requirement in your own words. Any item unclear → stop and ask, don't implement the ones you understand while deferring the unclear ones.
31
34
  - **VERIFY BEFORE IMPLEMENTING**: Check if suggestion technically correct for *this* codebase. Does it break existing functionality? Conflict with prior architectural decisions?
@@ -34,6 +37,7 @@ You are a **bad-mood reviewer** going by the book faithfully. No charity, no ben
34
37
  - **IMPLEMENTATION ORDER**: Fix blocking issues first (crashes, security), then simple fixes (typos), then complex refactors. Test each fix individually.
35
38
 
36
39
  ### Acknowledging Correct Feedback
40
+
37
41
  ```
38
42
  ✅ "Fixed. [Brief description of what changed]"
39
43
  ✅ "Good catch — [specific issue]. Fixed in [location]."
@@ -45,6 +49,7 @@ You are a **bad-mood reviewer** going by the book faithfully. No charity, no ben
45
49
  ```
46
50
 
47
51
  ### Verdict
52
+
48
53
  - **VERDICT**: Provide clear **Pass / Pass with Suggestions / Fail** report with technical rationale.
49
54
  - **FAIL** means: critical logic errors, missing tests, security issues, or broken contracts.
50
55
  - **Pass with Suggestions** means: works correctly but has improvement opportunities.
package/skills/runner.md CHANGED
@@ -1,11 +1,11 @@
1
1
  ---
2
2
  name: runner
3
3
  description: Generate, convert, or update a task runner file (justfile, Makefile, mise tasks, Taskfile.yml, package.json scripts, or run.sh) for any project
4
- disable-model-invocation: true
5
4
  ---
6
5
  # Task Runner Generation Directive
7
6
 
8
- ## Below are what agent MUST do:
7
+ ## Below are what agent MUST do
8
+
9
9
  - **AUTO-RUN**: Run terminal commands and tool calls needed proactively without confirmation unless explicit input required.
10
10
  - **ASK FORMAT**: Before generating anything, ask user which runner format they want using the Question tool with these options:
11
11
  - **justfile** — requires `just`. Native deps, groups, params, comments.
@@ -94,6 +94,7 @@ Use as reference when generating recipes:
94
94
  ## Format-Specific Generation Rules
95
95
 
96
96
  ### justfile
97
+
97
98
  - Use `set shell := ["bash", "-cu"]`
98
99
  - Use `[group('Name')]` for categories
99
100
  - Dependencies via `recipe: dep1 dep2`
@@ -102,6 +103,7 @@ Use as reference when generating recipes:
102
103
  - **Standalone**: `recipe:` with direct command
103
104
  - **Simple parameterized**: `recipe action:` where action passes through to the tool
104
105
  - **Complex parameterized**: `recipe action:` with `if/else` dispatch in a bash block
106
+
105
107
  ```just
106
108
  # Docker operations (build|up|down)
107
109
  [group('Infra')]
@@ -140,6 +142,7 @@ Use as reference when generating recipes:
140
142
  ```
141
143
 
142
144
  ### Makefile
145
+
143
146
  - Set `SHELL := /bin/bash` and `.DEFAULT_GOAL := help`
144
147
  - Declare all targets in `.PHONY`
145
148
  - Use `## comment` after target for help text, generate a `help` target with `grep -E`
@@ -149,29 +152,31 @@ Use as reference when generating recipes:
149
152
  - **Standalone**: standard target with direct commands
150
153
  - **Simple parameterized**: pattern rule `docker-%:` dispatching to `docker compose $*`
151
154
  - **Complex parameterized**: pattern rule `test-%:` with per-target recipes
155
+
152
156
  ```makefile
153
157
  .PHONY: docker-% test-% format-% lint
154
158
 
155
159
  docker-%: ## Docker operations (build|up|down)
156
- docker compose -f docker-compose.dev.yml $*
160
+ docker compose -f docker-compose.dev.yml $*
157
161
 
158
162
  test-unit: ## Run unit tests
159
- pytest -v
163
+ pytest -v
160
164
  test-tidy: ## Clean build artifacts
161
- find . -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true
165
+ find . -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true
162
166
 
163
167
  format-fix: ## Reformat code
164
- ruff format . && ruff check --fix .
168
+ ruff format . && ruff check --fix .
165
169
  format-check: ## Dry-run format check (CI)
166
- ruff format --check . && ruff check .
170
+ ruff format --check . && ruff check .
167
171
 
168
172
  lint-check: ## Lint — report issues
169
- ruff check .
173
+ ruff check .
170
174
  lint-fix: ## Lint — auto-correct
171
- ruff check --fix .
175
+ ruff check --fix .
172
176
  ```
173
177
 
174
178
  ### mise (mise.toml)
179
+
175
180
  - Environment block (`[env]`) at the top of the file
176
181
  - Define tasks under `[tasks.<name>]`
177
182
  - Use `description`, `depends`, `run` fields
@@ -183,6 +188,7 @@ Use as reference when generating recipes:
183
188
  - **Complex parameterized**: bash `case` dispatch on `$1` with per-action logic
184
189
  - **No `usage` field**: `usage` with `arg` enforces required args and errors before bash runs. Skip it — handle arg validation in bash instead.
185
190
  - **Help on no arg**: When called without an action, print usage with action descriptions and `exit 0` (not `exit 1`). This makes bare `mise run <task>` a discoverable help command.
191
+
186
192
  ```toml
187
193
  [tasks.docker]
188
194
  description = "Docker operations (build|up|down)"
@@ -259,6 +265,7 @@ Use as reference when generating recipes:
259
265
  ```
260
266
 
261
267
  ### Taskfile.yml (go-task)
268
+
262
269
  - Use `version: '3'`
263
270
  - Define under `tasks:` with `desc`, `deps`, `cmds`
264
271
  - Group with comment headers
@@ -266,6 +273,7 @@ Use as reference when generating recipes:
266
273
  - **Standalone**: single task with `cmds` list
267
274
  - **Simple parameterized**: `{{.CLI_ARGS}}` passed through to the underlying tool
268
275
  - **Complex parameterized**: internal tasks per action, parent dispatches via `task test-{{.CLI_ARGS}}`
276
+
269
277
  ```yaml
270
278
  tasks:
271
279
  docker:
@@ -308,11 +316,13 @@ Use as reference when generating recipes:
308
316
  ```
309
317
 
310
318
  ### package.json (npm scripts)
319
+
311
320
  - No native arg dispatch or dep graph
312
321
  - Validate: `npm run`
313
322
  - **Standalone**: direct command string
314
323
  - **Consolidated via colon namespacing**: `"docker:build"`, `"docker:up"`, `"docker:down"` as separate scripts, parent `"docker"` echoes usage
315
324
  - **Complex parameterized**: individual `"test:unit"`, `"format:fix"`, `"format:check"` scripts, plus standalone `"lint"`
325
+
316
326
  ```json
317
327
  {
318
328
  "scripts": {
@@ -330,9 +340,11 @@ Use as reference when generating recipes:
330
340
  }
331
341
  }
332
342
  ```
343
+
333
344
  Note: `npm run` has no arg validation or choices — colon namespacing is the closest equivalent.
334
345
 
335
346
  ### run.sh (shell script)
347
+
336
348
  - `#!/usr/bin/env bash` with `set -euo pipefail`
337
349
  - Each task as `cmd_<name>()` function
338
350
  - Dispatch via `main()` with case/declare lookup
@@ -340,6 +352,7 @@ Use as reference when generating recipes:
340
352
  - Validate: `./run.sh help`
341
353
  - **Standalone**: `cmd_dev()` with direct command
342
354
  - **Parameterized**: `cmd_<name>()` takes `$1` as action, inner `case` dispatch
355
+
343
356
  ```bash
344
357
  cmd_docker() {
345
358
  local action="${1:?Usage: $0 docker <build|up|down>}"
@@ -380,6 +393,7 @@ Use as reference when generating recipes:
380
393
  ## Conversion Rules
381
394
 
382
395
  When converting between formats:
396
+
383
397
  1. **Source of truth**: Read existing runner file first. Parse all tasks, actions, deps, groups, descriptions, parameters.
384
398
  2. **Preserve ALL tasks** — standalone and consolidated. Don't drop tasks or flatten consolidated tasks into separate entries.
385
399
  3. **Preserve consolidation** — source has `test unit|tidy` as single parameterized task → target must also express it as one entry point (using target format's parameterization mechanism). `format` and `lint` are always separate tasks — do not merge them into `test`.
@@ -391,6 +405,7 @@ When converting between formats:
391
405
  9. **Default task** — every format must have help/list command as default entry point.
392
406
 
393
407
  ## Customization Rules
408
+
394
409
  - **Monorepo**: Multiple languages detected → ask user which is primary. Generate one runner for root or per-workspace.
395
410
  - **Existing runner**: Runner file already exists in target format → present diff of proposed changes, ask confirmation before overwriting.
396
411
  - **Framework override**: Framework has own conventions (e.g., Next.js `next dev`, Django `manage.py runserver`) → prefer framework-specific commands.
@@ -399,4 +414,5 @@ When converting between formats:
399
414
  - **Extra tasks**: Agent MAY add additional consolidated tasks if project clearly benefits — but only when backed by detected project files (see Detection-to-Task Mapping). Don't speculatively generate tasks for capabilities project doesn't have.
400
415
 
401
416
  ## Report
417
+
402
418
  After generation, output result of format's list command and confirm all recipes functional.
package/skills/search.md CHANGED
@@ -1,31 +1,35 @@
1
1
  ---
2
2
  name: search
3
3
  description: Deep logic discovery and project context mapping. Use when user asks "where is X", "find all usages of Y", "how is Z wired up", "what handles this", or location of a behavior is unknown across many files.
4
- disable-model-invocation: true
5
4
  ---
6
5
  # Deep Context Search Directive
7
6
 
8
7
  ## Goal
8
+
9
9
  Build precise map of where a behavior lives and how it connects — so next action operates on full context, not single match.
10
10
 
11
11
  ## Tool Tiers (match tool to scope)
12
+
12
13
  - **Unknown location, pattern across many files, comments/strings/config** → native `Grep` / `Read`.
13
14
  - **Known symbol — definition, usages, type** → LSP `goToDefinition` / `findReferences` / `hover`.
14
15
  - Start with `Grep` to locate, then switch to LSP for exact navigation. Never grep what LSP can resolve exactly.
15
16
 
16
- ## Below are what agent MUST do:
17
+ ## Below are what agent MUST do
17
18
 
18
19
  ### Phase 1: Scan
20
+
19
21
  - **AUTO-RUN**: Run searches without confirmation unless input required.
20
22
  - **SEARCH**: Grep for content, glob for structure. Search synonyms and likely alternate spellings, not just literal term.
21
23
  - **GROUP**: Cluster matches by intent — Logic, Config, Tests, Docs.
22
24
 
23
25
  ### Phase 2: Trace
26
+
24
27
  - **FLOW**: For each cluster, identify how data flows in and out. Note every call site.
25
28
  - **DEPENDENCIES**: Map cross-module references the matches rely on.
26
29
  - **IDENTIFY**: Flag inconsistencies, anti-patterns, deviations from project convention.
27
30
 
28
31
  ### Phase 3: Report
32
+
29
33
  ```
30
34
  ## Target: [what was searched]
31
35
 
@@ -42,6 +46,7 @@ Build precise map of where a behavior lives and how it connects — so next acti
42
46
  ```
43
47
 
44
48
  ## Red Flags — STOP
49
+
45
50
  - Reporting first match without checking for others.
46
51
  - Searching only literal string when synonyms/aliases likely exist.
47
52
  - Using LSP for broad sweep, or grep for exact symbol resolution.
package/skills/standup.md CHANGED
@@ -1,7 +1,6 @@
1
1
  ---
2
2
  name: standup
3
3
  description: This skill should be used when the user asks to "standup me", "buat standup", "create standup script", "generate standup", "standup hari ini", or any request to prepare a daily standup update. Handles fetching previous context from Notion, prompting the user, generating a script, and saving to Notion.
4
- disable-model-invocation: true
5
4
  ---
6
5
 
7
6
  # Standup Script Skill
@@ -78,6 +77,7 @@ Blocker — [blocker update atau "Tidak ada blocker"]
78
77
  ```
79
78
 
80
79
  Rules:
80
+
81
81
  - One callout per section — keep body to single short line where possible
82
82
  - Use natural Bahasa Indonesia
83
83
  - Salam + nama on single line at top (plain paragraph, not callout)
@@ -189,17 +189,19 @@ Return URL database ke user
189
189
  2. Fetch isi **setiap** child page secara paralel (batch dalam satu panggilan jika memungkinkan).
190
190
  3. Dari tiap page, extract:
191
191
  - **Tanggal**: parse dari title (`YYYY-MM-DD`)
192
- - **Kemarin**: isi callout `yellow_bg` (strip bold marker `**Kemarin** — `)
193
- - **Hari Ini**: isi callout `green_bg` (strip bold marker `**Hari ini** — `)
194
- - **Blocker**: isi callout `red_bg` (strip bold marker `**Blocker** — `)
192
+ - **Kemarin**: isi callout `yellow_bg` (strip bold marker `**Kemarin** —`)
193
+ - **Hari Ini**: isi callout `green_bg` (strip bold marker `**Hari ini** —`)
194
+ - **Blocker**: isi callout `red_bg` (strip bold marker `**Blocker** —`)
195
195
 
196
196
  #### Step 3 — Create atau Reuse Database
197
197
 
198
198
  Database title format: `Standup [IndonesianMonth] [Year]` (e.g., `Standup Mei 2026`).
199
199
 
200
200
  **Jika belum ada** → buat dengan `notion-create-database`:
201
+
201
202
  - Parent: month folder page ID
202
203
  - Schema:
204
+
203
205
  ```sql
204
206
  CREATE TABLE (
205
207
  "Name" TITLE,
@@ -209,6 +211,7 @@ CREATE TABLE (
209
211
  "Blocker" RICH_TEXT
210
212
  )
211
213
  ```
214
+
212
215
  - Setelah create, ambil `data_source_id` dari response (`collection://...`).
213
216
 
214
217
  **Jika sudah ada** → fetch database → ambil `data_source_id` + cek rows yang sudah ada (hindari duplikat berdasarkan `Name`).
@@ -218,6 +221,7 @@ CREATE TABLE (
218
221
  Gunakan `notion-create-pages` dengan `parent: { data_source_id: "..." }`.
219
222
 
220
223
  Per row:
224
+
221
225
  ```json
222
226
  {
223
227
  "Name": "Standup - YYYY-MM-DD",
@@ -234,6 +238,7 @@ Batch semua rows dalam **satu** `notion-create-pages` call (max 5 per call jika
234
238
  #### Step 5 — Enable Wrap Cells
235
239
 
236
240
  Setelah database dibuat, fetch database → ambil `view_id` dari `<views>` → update view:
241
+
237
242
  ```
238
243
  notion-update-view: WRAP CELLS true
239
244
  ```
package/skills/suggest.md CHANGED
@@ -1,31 +1,36 @@
1
1
  ---
2
2
  name: suggest
3
3
  description: Multi-dimensional optimization and improvement recommendations. Use when user asks "how can I improve this", "what would you change", "any suggestions", "make this better", or wants prioritized options rather than a single fix.
4
- disable-model-invocation: true
5
4
  ---
6
5
  # Suggest Directive
7
6
 
8
7
  ## Goal
8
+
9
9
  Produce ranked, actionable list of improvements — each concrete enough to act on without further research.
10
10
 
11
- ## Below are what agent MUST do:
11
+ ## Below are what agent MUST do
12
12
 
13
13
  ### Phase 1: Ground in Reality
14
+
14
15
  - **AUTO-RUN**: Read target code and its constraints before ideating. Don't suggest from assumptions.
15
16
  - **CONSTRAINTS**: Note existing conventions, tech stack, prior architectural decisions. Suggestions must fit them.
16
17
 
17
18
  ### Phase 2: Ideate Across Dimensions
19
+
18
20
  Cover, where relevant:
21
+
19
22
  - **DX** — developer experience, readability, locality of behavior.
20
23
  - **UX** — user-facing behavior, latency, error messages.
21
24
  - **Performance** — hot paths, allocations, queries.
22
25
  - **Maintainability** — coupling, test coverage, dead code.
23
26
 
24
27
  ### Phase 3: Rank
28
+
25
29
  - Score each by **Impact × (1/Effort)**. High-impact/low-effort first.
26
30
  - **YAGNI CHECK**: drop any suggestion that adds unused capability.
27
31
 
28
32
  ### Phase 4: Report
33
+
29
34
  ```
30
35
  ## Suggestions (ranked)
31
36
 
@@ -39,6 +44,7 @@ Cover, where relevant:
39
44
  ```
40
45
 
41
46
  ## Red Flags — STOP
47
+
42
48
  - Suggesting rewrite when local fix suffices.
43
49
  - Vague advice ("improve error handling") without `file:line` and concrete change.
44
50
  - Recommending feature nothing will use (violates YAGNI).
package/skills/task.md CHANGED
@@ -1,11 +1,11 @@
1
1
  ---
2
2
  name: task
3
3
  description: Task Orchestration and Ambiguity Resolution
4
- disable-model-invocation: true
5
4
  ---
6
5
  # Task Orchestration Directive
7
6
 
8
- ## Below are what agent MUST do:
7
+ ## Below are what agent MUST do
8
+
9
9
  - **AUTO-RUN**: Run terminal commands and tool calls needed proactively without confirmation unless explicit input required.
10
10
  - **CONTEXT**: Synthesize intent from recent history. Link "orders" to last proposed `/plan` or `/suggest`.
11
11
  - **RESOLVE**: Identify and fill "Human Ambiguities" (e.g., 'fix that' → define 'that' via `/audit` or `/search` context).
@@ -13,7 +13,9 @@ disable-model-invocation: true
13
13
  - **PRE-FLIGHT**: Audit current system state. Confirm paths, versions, permissions. Map dependency chains that could break.
14
14
 
15
15
  ## Phased Execution
16
+
16
17
  Order tasks logically:
18
+
17
19
  1. **Backup** — Snapshot state if destructive changes planned.
18
20
  2. **Execution** — Implement changes in bite-sized steps (2-5 minutes each).
19
21
  3. **Configuration** — Apply config changes after code changes verified.
@@ -22,7 +24,9 @@ Order tasks logically:
22
24
  **CAUTION**: Run one chunk at a time. Verify outcome of Step N before starting Step N+1.
23
25
 
24
26
  ## Bite-Sized Task Structure
27
+
25
28
  Each task step MUST be atomic and verifiable:
29
+
26
30
  ```
27
31
  Step N: [Action]
28
32
  - Files: [exact paths]
@@ -31,16 +35,21 @@ Step N: [Action]
31
35
  ```
32
36
 
33
37
  ## Batch Execution Pattern
38
+
34
39
  For multi-task plans, execute in batches of 3 tasks:
40
+
35
41
  1. Execute batch → verify each step → report what was done
36
42
  2. Say: "Ready for feedback." and wait
37
43
  3. Apply feedback if any → execute next batch → repeat
38
44
 
39
45
  ## Stop-When-Blocked Rule
46
+
40
47
  Blocker hit mid-batch (missing dependency, failing test, unclear instruction):
48
+
41
49
  - **STOP immediately** — don't guess or work around it
42
50
  - Report blocker with exact context
43
51
  - Ask for clarification before continuing
44
52
 
45
53
  ## Report
54
+
46
55
  Provide Final Answer using Response Contract, detailing exactly what was performed.
package/skills/test.md CHANGED
@@ -1,19 +1,21 @@
1
1
  ---
2
2
  name: test
3
3
  description: Test execution, analysis, and failure resolution using TDD
4
- disable-model-invocation: true
5
4
  ---
6
5
  # Test Directive
7
6
 
8
7
  ## The Iron Law
8
+
9
9
  ```
10
10
  NO PRODUCTION CODE WITHOUT A FAILING TEST FIRST
11
11
  ```
12
+
12
13
  Wrote code before the test? Delete it. Start over.
13
14
 
14
- ## Below are what agent MUST do:
15
+ ## Below are what agent MUST do
15
16
 
16
17
  ### Red-Green-Refactor Cycle (for new features/bugfixes)
18
+
17
19
  - **RED**: Write one minimal failing test showing what SHOULD happen. Run it. Confirm it fails for right reason (feature missing, not a typo).
18
20
  - **GREEN**: Write SIMPLEST possible code to make test pass. No extra features. No refactoring other code.
19
21
  - **VERIFY GREEN**: Run the test. Confirm it passes. Confirm all other tests still pass.
@@ -21,6 +23,7 @@ Wrote code before the test? Delete it. Start over.
21
23
  - **REPEAT**: Write next failing test for next behavior.
22
24
 
23
25
  ### Test Execution (for existing codebases)
26
+
24
27
  - **AUTO-RUN**: Run terminal commands and tool calls proactively without confirmation.
25
28
  - **DISCOVER**: Identify test frameworks and test files in project.
26
29
  - **EXECUTE**: Run relevant tests with appropriate flags and coverage.
@@ -29,7 +32,9 @@ Wrote code before the test? Delete it. Start over.
29
32
  - **REPORT**: Provide test results summary with pass/fail counts and any issues found.
30
33
 
31
34
  ## Verification Checklist
35
+
32
36
  Before marking work complete:
37
+
33
38
  - [ ] Every new function/method has a test
34
39
  - [ ] Watched each test FAIL before implementing
35
40
  - [ ] Each test failed for expected reason
@@ -40,6 +45,7 @@ Before marking work complete:
40
45
  Cannot check all boxes? You skipped TDD. Start over.
41
46
 
42
47
  ## Red Flags — STOP and Start Over
48
+
43
49
  - Code written before the test
44
50
  - Test passes immediately (you're testing existing behavior)
45
51
  - "I'll write tests after to verify it works"
package/skills/tldr.md CHANGED
@@ -1,14 +1,15 @@
1
1
  ---
2
2
  name: tldr
3
3
  description: Maximum-density technical summary of workflows and purposes. Use when user asks "tldr", "summarize this", "give me the short version", "what's the gist", or needs the essence fast with zero filler.
4
- disable-model-invocation: true
5
4
  ---
6
5
  # TLDR Directive
7
6
 
8
7
  ## Goal
8
+
9
9
  Strip to essence. Reader gets full picture in fewest tokens, no re-reading required.
10
10
 
11
- ## Below are what agent MUST do:
11
+ ## Below are what agent MUST do
12
+
12
13
  - **AUTO-RUN**: Read what's needed to summarize accurately. Don't summarize from the filename.
13
14
  - **SCOPE**: Tech only. No pleasantries, no preamble, no "in summary".
14
15
  - **WORKFLOWS**: Name key workflows and their purpose, one line each.
@@ -17,6 +18,7 @@ Strip to essence. Reader gets full picture in fewest tokens, no re-reading requi
17
18
  - **DENSITY**: Bullets over prose. One fact per bullet. No fact stated twice.
18
19
 
19
20
  ## Output Format
21
+
20
22
  ```
21
23
  **[Subject]**
22
24
  - [Core fact]
@@ -26,6 +28,7 @@ Strip to essence. Reader gets full picture in fewest tokens, no re-reading requi
26
28
  ```
27
29
 
28
30
  ## Red Flags — STOP
31
+
29
32
  - Conversational filler ("Sure!", "In summary", "Hope this helps").
30
33
  - Restating same fact in different words.
31
34
  - Summarizing from name or title without reading source.
package/skills/ui.md CHANGED
@@ -1,22 +1,24 @@
1
1
  ---
2
2
  name: ui
3
3
  description: UI/UX design and implementation guidance for distinctive, production-grade frontend interfaces
4
- disable-model-invocation: true
5
4
  ---
6
5
  # UI Design Directive
7
6
 
8
7
  ## Core Philosophy
8
+
9
9
  Create distinctive, production-grade frontend interfaces with high design quality. Avoid generic "AI slop" aesthetics. Every interface MUST have clear, intentional point of view.
10
10
 
11
- ## Below are what agent MUST do:
11
+ ## Below are what agent MUST do
12
12
 
13
13
  ### Phase 1: Design Thinking (Before Coding)
14
+
14
15
  - **PURPOSE**: Define what problem this solves and who uses it.
15
16
  - **TONE**: Pick extreme aesthetic direction (e.g., brutally minimal, maximalist chaos, retro-futuristic, organic/natural, luxury/refined). Avoid safe, generic choices.
16
17
  - **DIFFERENTIATION**: Identify one "unforgettable" element that makes this specific interface unique.
17
18
  - **CONSTRAINTS**: Respect technical requirements (framework, performance, accessibility).
18
19
 
19
20
  ### Phase 2: Aesthetic Execution
21
+
20
22
  - **TYPOGRAPHY**: Choose beautiful, distinctive fonts. Avoid generic defaults (Arial, Inter, Roboto). Pair characterful display fonts with refined body fonts.
21
23
  - **COLOR**: Commit to cohesive theme. Use sharp accents and dominant colors rather than timid, evenly-distributed palettes.
22
24
  - **MOTION**: Use meaningful animations. Staggered page loads (animation-delay) create more impact than scattered micro-interactions.
@@ -24,12 +26,14 @@ Create distinctive, production-grade frontend interfaces with high design qualit
24
26
  - **TEXTURE**: Create depth with noise, gradients, shadows, or grain overlays. Avoid flat, solid color backgrounds unless intentional.
25
27
 
26
28
  ### Phase 3: Implementation
29
+
27
30
  - **AUTO-RUN**: Run terminal commands and tool calls needed proactively without confirmation unless explicit input required.
28
31
  - **PRODUCTION-GRADE**: Code must be functional, responsive, accessible.
29
32
  - **COMPONENT-BASED**: Build modular, reusable components.
30
33
  - **MATCH VISION**: Maximalist designs need elaborate code/animations; minimalist designs need perfect spacing and typography.
31
34
 
32
35
  ## Red Flags — Avoid "AI Slop"
36
+
33
37
  - **Generic Fonts**: Overused families like Inter, Roboto, Open Sans, system defaults.
34
38
  - **Cliched Colors**: Purple gradients on white backgrounds, standard Bootstrap/Tailwind palettes.
35
39
  - **Predictable Layouts**: Cookie-cutter cards, standard hero sections without character.
package/skills/verify.md CHANGED
@@ -1,33 +1,38 @@
1
1
  ---
2
2
  name: verify
3
3
  description: Verification before completion — ensure it's actually fixed before claiming done
4
- disable-model-invocation: true
5
4
  ---
6
5
  # Verify Directive
7
6
 
8
7
  ## The Iron Law
8
+
9
9
  ```
10
10
  NEVER claim a task complete without running verification.
11
11
  "It should work" is not verification. Evidence is verification.
12
12
  ```
13
13
 
14
- ## Below are what agent MUST do:
14
+ ## Below are what agent MUST do
15
15
 
16
16
  ### Step 1: Run the Tests
17
+
17
18
  - Execute full test suite. Do NOT just run the specific test you wrote.
18
19
  - Confirm: all tests pass, no new failures, no skipped tests without explanation.
19
20
 
20
21
  ### Step 2: Reproduce the Original Issue
22
+
21
23
  - Fixing a bug → reproduce original failure scenario, confirm it no longer occurs.
22
24
  - Adding a feature → walk through exact user flow end-to-end.
23
25
 
24
26
  ### Step 3: Check for Regressions
27
+
25
28
  - Run any integration or smoke tests.
26
29
  - Check adjacent functionality still works.
27
30
  - Review the diff: does anything look unintentionally changed?
28
31
 
29
32
  ### Step 4: Verify the Claim
33
+
30
34
  Before saying "done", confirm:
35
+
31
36
  - [ ] Specific issue/feature resolved/implemented
32
37
  - [ ] All tests pass (including pre-existing tests)
33
38
  - [ ] No new warnings or errors in output
@@ -35,10 +40,12 @@ Before saying "done", confirm:
35
40
  - [ ] Documentation updated if public interface changed
36
41
 
37
42
  ### Step 5: Report
43
+
38
44
  - State what was verified and how.
39
45
  - Anything still uncertain → say so explicitly. Do NOT hide uncertainty.
40
46
 
41
- ## Red Flags — Do NOT Mark as Done If:
47
+ ## Red Flags — Do NOT Mark as Done If
48
+
42
49
  - Tests pass but you haven't reproduced original scenario
43
50
  - "I believe it should work" without running it
44
51
  - New warnings appeared that weren't there before
package/src/index.ts CHANGED
@@ -246,6 +246,16 @@ function registerSkillLoader(pi: ExtensionAPI): void {
246
246
  });
247
247
  }
248
248
 
249
+ function registerResourcesDiscover(pi: ExtensionAPI): void {
250
+ const root = skillsRoot();
251
+ pi.on("resources_discover", () => ({
252
+ skillPaths: existsSync(root) ? [root] : [],
253
+ }));
254
+ }
255
+
249
256
  export default function (pi: ExtensionAPI): void {
250
- once("pix-skills", () => registerSkillLoader(pi));
257
+ once("pix-skills", () => {
258
+ registerSkillLoader(pi);
259
+ registerResourcesDiscover(pi);
260
+ });
251
261
  }