Commit Graph

10 Commits

Author SHA1 Message Date
siujamo 3be04dab3a docs(spring-boot): align examples with documented conventions
Two consistency cleanups:

- Drop redundant column aliases in the MyBatis Mapper example; map-underscore-to-camel-case is already enabled in application.yml, so the explicit aliases are noise.
- Re-nest the request/response directories under a top-level domain/ package in the end-to-end example to match the project layout shown earlier in the skill. The transfer-objects section already refers to com.example.app.domain.request.* and com.example.app.domain.response.* implicitly via the layout tree.

Also drops the now-orphaned 阿里巴巴《Java 开发手册》 line from Authoritative References, since the rest of the skill no longer leans on it for terminology.
2026-06-16 15:36:12 +08:00
siujamo 6beb72688e docs: add CONTRIBUTING guide
Document the process for adding or modifying a skill, frontmatter requirements, style (British English), commit conventions, and the licence under which contributions are accepted.
2026-06-16 15:24:54 +08:00
siujamo b14493d3ad docs: add LICENCE (MIT)
Add the MIT Licence text, copyright Onixbyte 2026, to make the terms under which the skills catalogue is shared explicit.
2026-06-16 15:24:53 +08:00
siujamo caae678e26 docs: expand README
Add an Available Skills table summarising each skill's purpose, plus contributor notes covering the per-skill directory layout and the rationale for ignoring .claude/.
2026-06-16 15:22:06 +08:00
siujamo 7f43b55b61 chore: expand .gitignore
Add common IDE, OS, and editor-backup exclusions to keep per-machine artefacts out of version control alongside the existing .claude/ entry.
2026-06-16 15:22:03 +08:00
siujamo abf70542c2 chore: add .claude/ to gitignore
Claude Code's local settings.local.json lives under .claude/ and is per-machine; keep it out of version control.
2026-06-16 15:11:51 +08:00
siujamo 446c5c930f feat: add skill spring-boot
Adds a Spring Boot architecture skill for Gradle + Java 21 + Spring Boot 3.5 with strict layer-based packaging and a four-layer call graph (Controller → Service → Manager/Client → Mapper/Repository), with an optional Variant layer for multi-implementation strategies.

Covers: layer responsibilities and call direction rules; project layout (no per-feature packages, no URL prefix — reverse proxy handles versioning); MyBatis + JPA coexistence (MyBatis for complex JOINs / dynamic SQL / reports, JPA for single-table CRUD, shared entity); transfer objects as Request / Response / Entity records; annotation-first MyBatis with XML fallback in resources/mapper; Spring Validation via @Validated at class and parameter level; global exception handling with TraceId; HTTP status code as the response wrapper (no R<T> envelope); TraceId MDC filter; @Transactional on Service with readOnly for queries; SpringDoc OpenAPI; 11 anti-patterns. Forbids Lombok; encourages Java 21 records, var, text blocks, pattern matching, and sealed types.
2026-06-16 15:08:31 +08:00
siujamo 87822d08a4 feat: add skill british-english
Adds a British English writing-conventions skill covering -ise/-our/-re/-ence/-ogue spellings, doubled-l verb forms, programme vs program, punctuation (single quotes, logical punctuation, spaced en dashes, Oxford comma), vocabulary, dates/times, grammar (collective nouns, shall/will, prepositions, present perfect), measurements and currency. Polishes a few entries on second pass: doubled-l wording, mediaeval note, en-dash example, and 'informal' label.
2026-06-16 14:06:35 +08:00
siujamo 3a9a83835b docs: add readme 2026-06-15 11:41:00 +08:00
siujamo 448080e80c feat: add skill commit-message 2026-06-15 11:39:12 +08:00