be-recall
Recall development rules and check for violations.
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- be-recall
- description
- Recall development rules and check for violations.
- allowed-tools
- Read, Write, Edit, Glob, Grep, Bash
- argument-hint
- [commit | tdd | build | coding | api | jpa]
- user-invocable
- true
03 SKILL.md 正文
Recall Rules
Display development rules and check recent work for violations.
Instructions
Step 0: Validate Configuration
- Read
.claude/backend-springboot-plugin.json - If missing, show general rules from
${CLAUDE_PLUGIN_ROOT}/skills/be-spring-shared/SKILL.md(no project-specific checks)
Step 1: Parse Argument
Map argument to section:
| Argument | Section | Source |
|---|---|---|
| (none) | All rules summary | be-spring-shared (all sections) |
commit |
Commit Standards | be-spring-shared § Commit Standards |
tdd |
TDD Process + Test Scenario Writing | be-spring-shared § Test-Driven Development |
build |
Build Standards | be-spring-shared § Build Standards |
coding |
Coding Standards + Entity/DTO Conventions | be-spring-shared § Coding Standards |
api |
API Conventions + Naming | be-spring-shared § API Conventions + Naming Conventions |
jpa |
Entity Conventions | ${CLAUDE_PLUGIN_ROOT}/templates/entity-conventions.md |
Step 2: Display Rules
Read the relevant section(s) from ${CLAUDE_PLUGIN_ROOT}/skills/be-spring-shared/SKILL.md and display them clearly in the working language.
For each rule, show:
- The rule statement
- A brief example (if applicable)
Step 3: Check for Violations
Based on the section, scan recent work for violations:
commit violations:
- Run
git log --oneline -5and check each message against commit rules - Flag: wrong tense, prefix usage, exceeds 50 chars, lowercase start, etc.
tdd violations:
- Scan test files in
{testDir}for:- Test methods not using
snake_case - Missing assertions
- Test scenario format issues in work documents
- Test methods not using
build violations:
- Check if
build/directory exists and has recent output - Check for common configuration issues
coding violations:
- Scan recently modified Java files (from
git diff --name-only HEAD~3) for:- Missing final newline
- Class where
recordshould be used (DTOs) - Non-standard naming (check against naming conventions table)
api violations:
- Scan controller classes for:
- Wrong HTTP method mapping
- Non-kebab-case URLs
- Missing
@ResponseStatus - Singular resource names in URLs
jpa violations:
- Scan entity classes for:
- Missing
BaseEntityextension - Missing
sequence+iddual key pattern - Missing
@Tableannotation - Non-snake_case table names
- Missing
Step 4: Report
Display violations found with:
- File path and line number
- Rule violated
- Suggested fix
If no violations found:
"No violations detected. All rules are being followed."
If violations can be auto-fixed (e.g., missing final newline):
"Auto-fixable violations found. Apply fixes? (y/n)"
Apply fixes only with user confirmation.
04 同仓库更多 Skills
hp-shared
Shared conventions for every homepage-plugin agent and skill — stack, code conventions, state-file writes, check commands and how to report them. Preloaded into agents through their `skills:` frontmatter; not meant to be invoked by hand.
fe-shared
Shared conventions for every frontend-react-plugin agent and skill — code conventions, state files and locks, accepted deviations, design principles, build working directory, router-mode command matrix, TypeScript check. Preloaded into agents through their `skills:` frontmatter; not meant to be invoked by hand.
be-spring-shared
Shared conventions for every backend-springboot-plugin agent and skill — tech stack, CQRS architecture, naming, coding standards, TDD, commit and build rules, state files. Preloaded into agents through their `skills:` frontmatter; not meant to be invoked by hand.
pp-translate
Use after directly editing the working language spec to sync changes to other supported languages.
pp-sync-stitch
Use when wireframes were manually edited on the Stitch website and need to be re-fetched to the local project.
pp-sync-notion
Use when a specification needs to be published or re-synced to Notion after finalization or manual edits.