@aayushchugh/skills 0.1.3 → 0.1.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/package.json +1 -1
- package/skills/cases-to-run/SKILL.md +14 -10
- package/skills/go-or-stop/SKILL.md +2 -2
- package/skills/no-slop/SKILL.md +2 -3
- package/skills/one-shape/SKILL.md +2 -3
- package/skills/open-doors/SKILL.md +2 -3
- package/skills/plain-paper/SKILL.md +2 -3
- package/skills/red-pen/SKILL.md +2 -3
- package/skills/the-cause/SKILL.md +2 -3
- package/skills/the-map/SKILL.md +2 -4
- package/skills/which-skill/SKILL.md +2 -2
package/package.json
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cases-to-run
|
|
3
3
|
description: >-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
code or audit security.
|
|
4
|
+
Use when asked for test cases, QA coverage, or how to test a flow by hand.
|
|
5
|
+
Not for writing the test code or a security audit.
|
|
7
6
|
---
|
|
8
7
|
|
|
9
8
|
# Cases to run
|
|
@@ -34,17 +33,22 @@ Cover the relevant happy path, failure, boundary, state change, permission, and
|
|
|
34
33
|
|
|
35
34
|
Test one invalid condition at a time. Combine inputs only when they change the outcome together. One behavior is one case, even when the spec and the code both mention it.
|
|
36
35
|
|
|
37
|
-
Skip a behavior the spec lists as a non-goal. A missing
|
|
36
|
+
Skip a behavior the spec lists as a non-goal. A missing behavior that loses data, money, access, or the main flow gets a case, or an open question that says why it cannot be tested yet.
|
|
38
37
|
|
|
39
|
-
A bug gets one
|
|
38
|
+
A bug gets one case: it fails now and passes once the expected behavior is true. A flow gets the valid path plus the invalid steps a person can actually try.
|
|
39
|
+
|
|
40
|
+
These rules stay inside the skill. Do not print them as labels on a case.
|
|
40
41
|
|
|
41
42
|
## The list
|
|
42
43
|
|
|
43
|
-
|
|
44
|
+
Each case has these parts, in this order, in plain language a person can follow without the codebase:
|
|
45
|
+
|
|
46
|
+
- **Case:** a short name of the behavior.
|
|
47
|
+
- **Prerequisites:** only when the case needs a starting state. Leave this out when there is none.
|
|
48
|
+
- **Description:** one or two sentences of what should happen, including the result a person can see.
|
|
49
|
+
- **Steps to verify:** numbered actions. The last step says what to look at and what should be true.
|
|
44
50
|
|
|
45
|
-
|
|
46
|
-
- P1: a common failure or a boundary.
|
|
47
|
-
- P2: a rare edge.
|
|
51
|
+
No priority, no tags, no source line, and no separate test-data or expected-result field. Do not use a word such as journal or handler unless the product shows that word on screen.
|
|
48
52
|
|
|
49
53
|
## Code tests
|
|
50
54
|
|
|
@@ -52,7 +56,7 @@ Write code tests only when the user asks for them. Name the behaviors. `no-slop`
|
|
|
52
56
|
|
|
53
57
|
## Summary
|
|
54
58
|
|
|
55
|
-
|
|
59
|
+
Say what is still uncovered. Do not claim complete coverage when the source is ambiguous.
|
|
56
60
|
|
|
57
61
|
## Replies
|
|
58
62
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: go-or-stop
|
|
3
3
|
description: >-
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
Use when asked if a change is ready to ship, or for a go or no-go. Not for
|
|
5
|
+
deploying.
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Go or stop
|
package/skills/no-slop/SKILL.md
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: no-slop
|
|
3
3
|
description: >-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
implementing, fixing, or reviewing code. Do not use for docs.
|
|
4
|
+
Use when writing or changing code, including a test that was asked for.
|
|
5
|
+
Not for docs, a review, or a design.
|
|
7
6
|
---
|
|
8
7
|
|
|
9
8
|
# No slop
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: one-shape
|
|
3
3
|
description: >-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
asks to refactor or clean up a codebase. Do not audit security.
|
|
4
|
+
Use when asked to refactor, clean up, or standardize a repo. Not for a
|
|
5
|
+
security audit or a single pull request.
|
|
7
6
|
---
|
|
8
7
|
|
|
9
8
|
# One shape
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: open-doors
|
|
3
3
|
description: >-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
security audit. Never attack a live target.
|
|
4
|
+
Use when asked for a security audit or a pentest-readiness review. Not for
|
|
5
|
+
a live attack or a normal code review.
|
|
7
6
|
---
|
|
8
7
|
|
|
9
8
|
# Open doors
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: plain-paper
|
|
3
3
|
description: >-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
runbook, guide, or README. Do not change code.
|
|
4
|
+
Use when asked for a PRD, spec, flow, API reference, runbook, guide, or
|
|
5
|
+
README. Not for code or a system design.
|
|
7
6
|
---
|
|
8
7
|
|
|
9
8
|
# Plain paper
|
package/skills/red-pen/SKILL.md
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: red-pen
|
|
3
3
|
description: >-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
not audit security, refactor, or write tests.
|
|
4
|
+
Use when asked to review a diff, a pull request, or a change. Not for a
|
|
5
|
+
security audit, a refactor, or writing tests.
|
|
7
6
|
---
|
|
8
7
|
|
|
9
8
|
# Red pen
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: the-cause
|
|
3
3
|
description: >-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
or the regression test.
|
|
4
|
+
Use when asked to diagnose, debug, or find why something fails. Not for
|
|
5
|
+
writing the fix or the test.
|
|
7
6
|
---
|
|
8
7
|
|
|
9
8
|
# The cause
|
package/skills/the-map/SKILL.md
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: the-map
|
|
3
3
|
description: >-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
asks for a system design, architecture review, or scale or performance
|
|
7
|
-
improvement. Do not write code.
|
|
4
|
+
Use when asked for a system design, an architecture review, or a scale or
|
|
5
|
+
performance improvement. Not for writing code or a PRD.
|
|
8
6
|
---
|
|
9
7
|
|
|
10
8
|
# The map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: which-skill
|
|
3
3
|
description: >-
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
Use when a request could match more than one skill, or needs several skills
|
|
5
|
+
in a row.
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Which skill
|