@aayushchugh/skills 0.1.0 → 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/LICENSE +21 -0
- package/README.md +39 -0
- package/package.json +11 -5
- package/skills/cases-to-run/SKILL.md +2 -0
- package/skills/go-or-stop/SKILL.md +2 -0
- package/skills/no-slop/SKILL.md +2 -0
- package/skills/one-shape/SKILL.md +2 -0
- package/skills/open-doors/SKILL.md +2 -0
- package/skills/plain-paper/SKILL.md +3 -1
- package/skills/red-pen/SKILL.md +2 -0
- package/skills/the-cause/SKILL.md +2 -0
- package/skills/the-map/SKILL.md +42 -0
- package/skills/which-skill/SKILL.md +7 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Ayush Chugh
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# @aayushchugh/skills
|
|
2
|
+
|
|
3
|
+
These are the agent skills I use while building real products. I keep optimizing them as better practices show up.
|
|
4
|
+
|
|
5
|
+
The site is [skills.ayushchugh.com](https://skills.ayushchugh.com).
|
|
6
|
+
|
|
7
|
+
## Install all of them
|
|
8
|
+
|
|
9
|
+
Run this inside a project, so the package is a dependency:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm install @aayushchugh/skills
|
|
13
|
+
npx skills experimental_sync
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
`experimental_sync` is a command from the [Vercel skills CLI](https://github.com/vercel-labs/skills). It links skills shipped inside installed npm packages into your agent. The command is experimental, so its name and options can change.
|
|
17
|
+
|
|
18
|
+
## Install one skill
|
|
19
|
+
|
|
20
|
+
This installs a single skill from GitHub:
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
npx skills add aayushchugh/skills --skill no-slop -g
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Replace `no-slop` with any id below.
|
|
27
|
+
|
|
28
|
+
## Skills
|
|
29
|
+
|
|
30
|
+
- `no-slop` — No slop. Write the smallest readable code that reuses existing code, installed utilities, and repo patterns, and fixes bugs at the root cause.
|
|
31
|
+
- `plain-paper` — Plain paper. Write a spec or other documentation from the request, the code, and relevant sources.
|
|
32
|
+
- `cases-to-run` — Cases to run. Write a small, risk-based set of test cases from a spec, diff, or bug report.
|
|
33
|
+
- `open-doors` — Open doors. Review application code, APIs, dependencies, secrets, and deploy config for injection, web attacks, and DDoS controls.
|
|
34
|
+
- `one-shape` — One shape. Audit a repo for duplication, divergent flows, dead code, over-engineering, waste, and standards drift, then apply approved steps.
|
|
35
|
+
- `red-pen` — Red pen. Review a diff or pull request for bugs, regressions, broken callers, missing tests, and unmet requirements.
|
|
36
|
+
- `the-cause` — The cause. Find a bug's root cause from the report, the code path, and the evidence.
|
|
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.
|
|
39
|
+
- `which-skill` — Which skill. Pick and run the right skill, or a chain of skills, for a request.
|
package/package.json
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aayushchugh/skills",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "The agent skills I use while building real products.",
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"
|
|
5
|
+
"author": "Ayush Chugh <hey@ayushchugh.com>",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"homepage": "https://skills.ayushchugh.com",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/aayushchugh/skills.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": "https://github.com/aayushchugh/skills/issues",
|
|
13
|
+
"keywords": ["agent-skills", "skills", "cursor", "claude", "openai", "ai"],
|
|
14
|
+
"files": ["skills"]
|
|
9
15
|
}
|
|
@@ -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.
|
package/skills/no-slop/SKILL.md
CHANGED
|
@@ -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,
|
|
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.
|
package/skills/red-pen/SKILL.md
CHANGED
|
@@ -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.
|