4-skill 0.1.0 → 0.2.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "4-skill",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Three practical AI agent skills for repository understanding, research, and delivery planning",
5
5
  "type": "module",
6
6
  "bin": {
@@ -5,24 +5,39 @@ description: Turn a product or engineering request into a small, verifiable impl
5
5
 
6
6
  # Delivery Plan
7
7
 
8
- Use this skill when an idea, bug report, or feature request needs to become executable engineering work.
8
+ Use this skill when an idea, bug report, or feature request needs to become executable engineering work, especially when implementation scope or acceptance behavior is still unclear.
9
9
 
10
- ## Method
10
+ ## Workflow
11
11
 
12
- 1. Restate the desired outcome and identify the user or system affected.
13
- 2. Inspect the relevant repository surfaces before proposing files or APIs.
14
- 3. Separate explicit requirements, assumptions, non-goals, and unresolved choices.
15
- 4. Break the work into ordered slices that can each be implemented and checked.
16
- 5. Write `DELIVERY_PLAN.md` unless another output path is requested.
12
+ 1. Restate the desired outcome and identify the user, operator, or system affected.
13
+ 2. Inspect the relevant repository surfaces, existing patterns, tests, and ownership boundaries before proposing files or APIs.
14
+ 3. Separate explicit requirements, assumptions, non-goals, constraints, and unresolved product choices.
15
+ 4. Describe the intended behavior, including success, failure, empty, permission, and compatibility cases that matter.
16
+ 5. Break the work into ordered vertical slices that can each be implemented and checked.
17
+ 6. Name likely files or modules, but verify those paths before presenting them as facts.
18
+ 7. Write `DELIVERY_PLAN.md` unless another output path is requested.
17
19
 
18
20
  ## Include
19
21
 
20
22
  - Problem statement and goals
21
- - Assumptions and non-goals
23
+ - Users, workflows, and non-goals
24
+ - Assumptions, constraints, and decisions needed
22
25
  - Proposed behavior and technical approach
23
- - Ordered tasks with likely files or modules
24
- - Acceptance criteria
25
- - Focused test strategy
26
+ - Ordered tasks with likely files or modules and a validation step for each
27
+ - Acceptance criteria written as observable behavior
28
+ - Focused unit, integration, and regression test strategy as applicable
26
29
  - Risks, rollback considerations, and open questions
27
30
 
31
+ ## Planning Rules
32
+
33
+ - Prefer the smallest change that satisfies the stated outcome and fits existing conventions.
34
+ - Keep tasks independently reviewable; avoid combining migration, UI, API, and cleanup work without a dependency reason.
35
+ - Tie each acceptance criterion to a test, inspection, or reproducible manual check.
36
+ - Call out data migrations, rollout flags, backwards compatibility, security, and observability when they apply.
37
+ - Distinguish repository facts from proposed design choices.
38
+
39
+ ## Completion Check
40
+
41
+ Before finishing, confirm that an implementer can identify what to change, in what order, how to verify it, what is deliberately out of scope, and which decisions still require the requester's answer.
42
+
28
43
  Do not silently decide between materially different product behaviors. Make the smallest useful plan that still gives an implementer a clear validation path.
@@ -5,14 +5,16 @@ description: Build an evidence-based map of a software repository for onboarding
5
5
 
6
6
  # Repository Map
7
7
 
8
- Use this skill when someone needs to understand an unfamiliar repository or locate the right implementation surface.
8
+ Use this skill when someone needs to understand an unfamiliar repository, locate the right implementation surface, or prepare a focused onboarding guide.
9
9
 
10
- ## Method
10
+ ## Workflow
11
11
 
12
- 1. Inspect the top-level tree, manifests, configuration, documentation, entry points, and tests.
13
- 2. Follow one representative execution path from its entry point through the main modules.
14
- 3. Verify commands and claims against files; label anything that could not be confirmed.
15
- 4. Write `REPOSITORY_MAP.md` unless another output path is requested.
12
+ 1. Establish the repository root and inspect the top-level tree before opening broad file sets.
13
+ 2. Read manifests, configuration, documentation, entry points, and tests that control the requested area.
14
+ 3. Trace one representative execution path from its entry point through the modules that compute or mutate the behavior.
15
+ 4. Identify the cheapest command that can validate the map's important claims, and run it when tools permit.
16
+ 5. Verify every command, dependency, path, and behavior claim against the repository. Mark unavailable or unverified information explicitly.
17
+ 6. Write `REPOSITORY_MAP.md` unless another output path is requested.
16
18
 
17
19
  ## Include
18
20
 
@@ -21,6 +23,19 @@ Use this skill when someone needs to understand an unfamiliar repository or loca
21
23
  - Important directories and files
22
24
  - Install, development, test, and build commands
23
25
  - Configuration, external services, and environment variables
26
+ - Extension points and likely ownership boundaries
24
27
  - Risks, unknowns, and useful next steps
25
28
 
29
+ ## Evidence Rules
30
+
31
+ - Prefer source code, tests, package manifests, and configuration over assumptions or naming conventions.
32
+ - Link claims to paths and symbols where the output format supports links.
33
+ - Distinguish observed behavior, inferred behavior, and recommended changes.
34
+ - Do not describe generated, ignored, or unavailable files as committed source files.
35
+ - If the repository is too large for a full inspection, state the scope and explain how the sampled paths were selected.
36
+
37
+ ## Completion Check
38
+
39
+ Before finishing, confirm that the map answers: where does execution start, where is the main behavior decided, how is it tested, how is it run or shipped, and what remains uncertain?
40
+
26
41
  Keep the result concise and operational. Never invent behavior, dependencies, or files.
@@ -7,21 +7,37 @@ description: Investigate a technical question using authoritative sources and pr
7
7
 
8
8
  Use this skill to compare tools, investigate a technical claim, or prepare a recommendation that depends on external evidence.
9
9
 
10
- ## Method
10
+ ## Workflow
11
11
 
12
- 1. Define the decision, constraints, and questions that must be answered.
13
- 2. Start with user-provided links, official documentation, specifications, and primary sources.
14
- 3. Record the source for every material claim and distinguish facts from interpretation.
15
- 4. Prefer current sources; state the access date when available.
16
- 5. Write `DECISION_BRIEF.md` unless another output path is requested.
12
+ 1. Define the decision, constraints, audience, and questions that must be answered.
13
+ 2. Turn each question into a claim or comparison criterion that can be checked independently.
14
+ 3. Start with user-provided links, official documentation, specifications, release notes, and primary sources.
15
+ 4. For each material claim, record the source, publication or update date when available, and the relevant evidence.
16
+ 5. Separate verified facts, source-reported recommendations, assumptions, and your own interpretation.
17
+ 6. Check important claims against more than one authoritative source when sources disagree or the decision is high risk.
18
+ 7. State the research cutoff date and write `DECISION_BRIEF.md` unless another output path is requested.
17
19
 
18
20
  ## Include
19
21
 
20
22
  - Decision summary
21
- - Findings grouped by question
23
+ - Scope, constraints, and definitions
24
+ - Findings grouped by question or comparison criterion
22
25
  - Comparison and trade-offs
23
26
  - Recommendation tied to the stated constraints
24
27
  - Sources with inline links
28
+ - Confidence or evidence-quality notes for consequential findings
25
29
  - Unresolved questions and verification steps
26
30
 
31
+ ## Evidence Rules
32
+
33
+ - Use primary sources for product behavior, compatibility, security, licensing, pricing, and limits whenever possible.
34
+ - Do not treat search snippets, marketing claims, or a single anecdote as proof of behavior.
35
+ - Quote or paraphrase only what the cited source supports; do not let a citation imply support for nearby uncited claims.
36
+ - Say when a source was unavailable, stale, contradictory, or not independently verified.
37
+ - Do not fabricate citations, access dates, benchmarks, or conclusions.
38
+
39
+ ## Completion Check
40
+
41
+ Before finishing, confirm that every recommendation maps to a stated constraint, every important factual claim has a source, trade-offs are explicit, and the reader knows what to verify before committing.
42
+
27
43
  Do not imply that a source was consulted when it was not. Do not turn a weak source into certainty through confident wording.