@aayushchugh/skills 0.1.1 → 0.1.2

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
@@ -35,4 +35,5 @@ Replace `no-slop` with any id below.
35
35
  - `red-pen` — Red pen. Review a diff or pull request for bugs, regressions, broken callers, missing tests, and unmet requirements.
36
36
  - `the-cause` — The cause. Find a bug's root cause from the report, the code path, and the evidence.
37
37
  - `go-or-stop` — Go or stop. Decide if a change is ready to ship, with a go or no-go, what to watch, and how to roll back.
38
+ - `the-map` — The map. Map, propose, or improve a system's design like a senior engineer, grounding the recommendation in real usage and activity.
38
39
  - `which-skill` — Which skill. Pick and run the right skill, or a chain of skills, for a request.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aayushchugh/skills",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "The agent skills I use while building real products.",
5
5
  "author": "Ayush Chugh <hey@ayushchugh.com>",
6
6
  "license": "MIT",
@@ -12,6 +12,8 @@ description: >-
12
12
 
13
13
  Write the test-case document only. Do not write test code, run tests, or change the source. Cover a security requirement or access rule the source already states. Do not invent controls.
14
14
 
15
+ Write the smallest set that would catch a real failure. Skip a case that does not change the outcome.
16
+
15
17
  ## Before writing
16
18
 
17
19
  Ask every blocking question in one turn. Never invent a fact. Put an unknown under Open questions and name what it blocks. Replies are 1–2 lines. Write a paragraph only when the user asks.
@@ -11,6 +11,8 @@ description: >-
11
11
 
12
12
  Read the diff, the test results, the migrations, the feature flags, the dependency changes, the deploy config, and the known risks. Do not deploy, change production, or create a release until the user explicitly approves that step.
13
13
 
14
+ No-go when a test result, a migration check, or a rollback is missing. Do not talk the release into a go.
15
+
14
16
  ## Before writing
15
17
 
16
18
  Ask every blocking question in one turn. Never invent a fact. Put an unknown under Open questions and name what it blocks. Replies are 1–2 lines. Write a paragraph only when the user asks.
@@ -12,6 +12,8 @@ description: >-
12
12
 
13
13
  Code only. Product docs, PRDs, and other non-code writing are out of scope. On a review, apply these rules to the diff and do not edit unless asked.
14
14
 
15
+ Refuse a layer, abstraction, or dependency the current code does not need.
16
+
15
17
  ## Before editing
16
18
 
17
19
  Ask every blocking question in one turn. Never invent a fact. Put an unknown under Open questions and name what it blocks. Replies are 1–2 lines. Write a paragraph only when the user asks.
@@ -12,6 +12,8 @@ description: >-
12
12
 
13
13
  The audit is read-only until the user approves a batch. Then apply one step at a time with `no-slop`.
14
14
 
15
+ Make the smallest change that removes the drift. Do not add an abstraction a third copy does not force.
16
+
15
17
  Skip code the team does not own: `node_modules`, build output, generated files, vendored code, lockfiles, and migrations. A security issue gets one line pointing to `open-doors`.
16
18
 
17
19
  ## Before auditing
@@ -14,6 +14,8 @@ Review application code, APIs, dependencies, secrets, and deployment configurati
14
14
 
15
15
  This is a read-only audit, not active pentesting. Do not send probes, payloads, traffic, or requests to a live target. Do not claim a control works unless repository evidence proves it. Do not edit the source.
16
16
 
17
+ Report a gap a person can actually reach. A theoretical issue with no evidence is not a finding.
18
+
17
19
  ## Before writing
18
20
 
19
21
  Ask every blocking question in one turn. Never invent a fact. Put an unknown under Open questions and name what it blocks. Replies are 1–2 lines. Write a paragraph only when the user asks.
@@ -14,10 +14,12 @@ A spec describes what will be built. Documentation describes what exists.
14
14
 
15
15
  - A PRD says what and why. It does not choose the implementation.
16
16
  - An engineering spec says how the system behaves: interfaces, data, failure, trade-offs, rollout, and verification.
17
- - Documentation covers a flow, API reference, architecture note, runbook, onboarding guide, README, changelog, user guide, or another document the user names.
17
+ - Documentation covers a flow, API reference, runbook, onboarding guide, README, changelog, user guide, or another document the user names. An architecture note, a system design, or a scale or performance review goes to `the-map`.
18
18
 
19
19
  Code changes are out of scope. A security need is one requirement. Do not invent controls or run an audit.
20
20
 
21
+ Write the short document a person can build or follow. Leave out a section that does not change a decision.
22
+
21
23
  ## Before writing
22
24
 
23
25
  Ask every blocking question in one turn. Never invent a fact. Put an unknown under Open questions and name what it blocks. Replies are 1–2 lines. Write a paragraph only when the user asks.
@@ -12,6 +12,8 @@ description: >-
12
12
 
13
13
  Read the diff, the request it was meant to satisfy, every caller of a changed function, and the tests that cover the path. For a pull request, read the diff with `gh pr diff`. Do not edit the code.
14
14
 
15
+ Report a bug, a regression, or a missed requirement. A style comment is not a finding.
16
+
15
17
  A security finding gets one line pointing to `open-doors`. A structure or duplication finding gets one line pointing to `one-shape`. A missing test gets one line pointing to `cases-to-run`.
16
18
 
17
19
  ## Before writing
@@ -12,6 +12,8 @@ description: >-
12
12
 
13
13
  Read only the path the bug touches, its callers, and the logs, traces, or connected sources needed to prove the cause. Do not edit the code. The fix goes to `no-slop`. The regression case goes to `cases-to-run`.
14
14
 
15
+ Name the source. A local workaround is not a cause, and a cause without evidence stays a hypothesis.
16
+
15
17
  ## Before writing
16
18
 
17
19
  Ask every blocking question in one turn. Never invent a fact. Put an unknown under Open questions and name what it blocks. Replies are 1–2 lines. Write a paragraph only when the user asks.
@@ -0,0 +1,42 @@
1
+ ---
2
+ name: the-map
3
+ description: >-
4
+ Map, propose, or improve a system's design like a senior engineer,
5
+ grounding the recommendation in real usage and activity. Use when the user
6
+ asks for a system design, architecture review, or scale or performance
7
+ improvement. Do not write code.
8
+ ---
9
+
10
+ # The map
11
+
12
+ ## Scope
13
+
14
+ Writes the design. Does not change code. A PRD or engineering spec stays with `plain-paper`. Building an approved change stays with `no-slop`, and only after the user approves.
15
+
16
+ Write as a senior engineer: recommend the smallest design that fits the evidence, name the trade-off of what you did not choose, and never reach for a pattern the evidence does not justify.
17
+
18
+ ## Before writing
19
+
20
+ Ask every blocking question in one turn. Never invent a fact. Put an unknown under Open questions and name what it blocks. Replies are 1–2 lines. Write a paragraph only when the user asks.
21
+
22
+ Ask which mode when the request does not say:
23
+
24
+ - **As it is.** Read the repo: entry points, callers, routes, data stores, integrations, and deploy config. Every component cites a file. An unknown part goes under Open questions.
25
+ - **A proposal.** Ask the constraints that would change the design: scale, what already exists, and what must not change. Recommend one design. Name the trade-off and what was not chosen, in one line. Do not invent users, scale, or a deadline.
26
+ - **An improvement.** Read the current design from the code first. Then gather real usage and activity: traffic, growth, hot paths, read/write ratio, latency, error rate, and cost. Read what the repo already exposes for this: logging and metrics code, dashboard config, APM setup. Ask the user for a number the repo does not show. Do not estimate a number neither source gives; put it under Open questions.
27
+
28
+ ## The document
29
+
30
+ Use only the sections that apply: the job, the components and what each owns, the request path, where data lives, what failure loses or retries, what sits outside the system, the trade-off, and open questions.
31
+
32
+ For an improvement, add: the evidence read, each proposed change tied to the evidence that justifies it, and a priority of P0, P1, or P2.
33
+
34
+ - P0: a risk the evidence shows is already happening.
35
+ - P1: a real but smaller gap.
36
+ - P2: polish.
37
+
38
+ A change with no cited evidence is not proposed. A security need is one line pointing to `open-doors`.
39
+
40
+ ## Replies
41
+
42
+ Say which mode you used, and what is still open or unconfirmed.
@@ -7,6 +7,10 @@ description: >-
7
7
 
8
8
  # Which skill
9
9
 
10
+ ## Scope
11
+
12
+ Run one skill when one fits. Do not start a chain to look thorough.
13
+
10
14
  ## Before writing
11
15
 
12
16
  Ask every blocking question in one turn. Never invent a fact. Put an unknown under Open questions and name what it blocks. Replies are 1–2 lines. Write a paragraph only when the user asks.
@@ -25,6 +29,7 @@ Read the chosen skill and follow it. Do not restate its rules here.
25
29
  | Review a diff or pull request | `red-pen` |
26
30
  | Diagnose or debug a failure | `the-cause` |
27
31
  | Release check or go / no-go | `go-or-stop` |
32
+ | System design, architecture review, or scale/performance improvement | `the-map` |
28
33
 
29
34
  Run one skill when one fits. Say which skill or chain you picked in one line. Ask one question when two skills fit equally.
30
35
 
@@ -36,5 +41,6 @@ Pause for approval before a step that writes code or would deploy.
36
41
  - Feature: `plain-paper` as a spec, then `no-slop`, then `red-pen`.
37
42
  - Release: `red-pen`, then `go-or-stop`. A migration is covered inside `go-or-stop`.
38
43
  - Cleanup: `one-shape`, which applies its changes through `no-slop`.
44
+ - Design: `the-map`, then `plain-paper` if a spec is still needed, then `no-slop` after approval.
39
45
 
40
- `go-or-stop` does not deploy. `one-shape` does not edit until a batch is approved.
46
+ `go-or-stop` does not deploy. `one-shape` does not edit until a batch is approved. `the-map` does not write code.