You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .claude/skills/implement/SKILL.md
+15-4Lines changed: 15 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,18 @@ description: Implement features, fix bugs, or refactor code. Use when asked to a
5
5
6
6
# Implementation Skill — S3Mock
7
7
8
-
Read `AGENTS.md` (root + relevant module) before making changes — especially DO/DON'T, code style, and architecture sections.
8
+
> **Before making any changes**: Read `AGENTS.md` (root + relevant module). These files are the authoritative source for architecture, conventions, and guardrails — they must be read, not skipped.
9
+
10
+
## Skill Workflow
11
+
12
+
A complete feature implementation requires these skills — run them in sequence:
13
+
14
+
1.**`refactor` skill** — if nearby existing code, tests, or configuration would benefit from cleanup *before* adding new code, do it first rather than working around it
15
+
2.**`implement` skill** (this skill) — write the production code
16
+
3.**`test` skill** — add/update unit and integration tests (`*Test.kt`, `*IT.kt`)
17
+
4.**`document` skill** — update `CHANGELOG.md`, `README.md`, and `AGENTS.md` where applicable
18
+
19
+
> **Prefer refactoring over workarounds**: if you find yourself adding complexity to work around existing code, stop and invoke the `refactor` skill to clean it up first.
9
20
10
21
## Implementation Flow for New S3 Operations
11
22
@@ -18,12 +29,12 @@ Follow **DTO → Store → Service → Controller** (see AGENTS.md Architecture)
18
29
19
30
## Checklist
20
31
21
-
-[ ] Read root + module `AGENTS.md`
32
+
-[ ] Read root + module `AGENTS.md` (required before any other step)
22
33
-[ ] Identify the S3 API operation ([AWS docs](https://docs.aws.amazon.com/AmazonS3/latest/API/Welcome.html))
23
34
-[ ] Review existing similar implementations
24
35
-[ ] Run `./mvnw ktlint:format` then `./mvnw clean install`
25
-
-[ ]Add/update unit tests (`*Test.kt`) and integration tests (`*IT.kt`)
26
-
-[ ]Update `CHANGELOG.md` and operations table in`README.md` if applicable
36
+
-[ ]Invoke the **`test` skill** to add/update unit and integration tests
37
+
-[ ]Invoke the **`document` skill** to update `CHANGELOG.md`,`README.md`, and `AGENTS.md`
-**Should fix** — strongly recommended (idiom improvements, missing docs); suggest invoking the **`refactor` skill** for purely readability/style improvements rather than asking the author to add more code
52
52
-**Nit** — optional style suggestions
53
53
54
54
For each finding, reference the specific AGENTS.md rule or AWS API doc where applicable.
-[ ] Read `docs/TESTING.md` and root + module `AGENTS.md`
22
+
-[ ] If existing tests have structural problems (poor naming, shared state, weak assertions), invoke the **`refactor` skill** to fix them rather than working around them
22
23
-[ ] Tests pass locally
23
24
-[ ] Both success and failure cases covered
24
25
-[ ] Tests are independent (no shared state, UUID bucket names)
0 commit comments