Miaohong Java Backend
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md to install @user_928f7032/152152.
About this skill
Problem
In a multi-module Java backend repository like miaohong-cloud-base, an agent can easily confuse generated output, local configuration, Nacos configuration, and module boundaries. That leads to overly broad edits, incorrect @PathVariable usage, misplaced *Mapper.xml lookup, or circular dependencies between services. This skill captures repository conventions as on-demand references, reducing repeated exploration of the codebase before each task.
How it works
It treats CLAUDE.md as the highest-priority standard and loads task-specific references:
- Repository navigation: reads references/module-map.md to distinguish miaohong-common, miaohong-modules-api, and concrete service modules.
- Build verification: reads references/commands.md and prefers narrow mvn -pl <module> -am builds.
- Code style: loads controller, Feign provider, Mapper XML, and exception references to constrain routes, DTOs, Javadoc, and error propagation.
- Configuration troubleshooting: separates bootstrap.yml, application.yml, and Nacos namespaces, then checks gateway, startup, and mapper issues.
It also restricts work to src/main and src/test, ignores target/, and requires checking both provider and API modules when external contracts change.
Fit and cautions
Best for Java 17, Maven, Spring Cloud, and Nacos backend maintenance. It is not a generic Java skill and does not replace business-level code review; when repository structure conflicts with CLAUDE.md, CLAUDE.md wins.
Use Cases
- Before changing a controller in miaohong-cloud-base, check route, DTO, and Javadoc conventions.
- When adding a Feign contract, inspect the provider module and miaohong-modules-api together.
- During startup or gateway failures, compare bootstrap.yml and Nacos configuration settings.
- When updating MyBatis SQL, locate the adjacent mapper XML under src/main/java before editing.
Best For
- Java engineers maintaining miaohong-cloud-base who need to follow CLAUDE.md and module boundaries.
- Backend developers new to the repo who need controller, Feign, and Mapper XML conventions.
- Backend engineers debugging Nacos, gateway, or startup issues with a configuration checklist.
- Teams maintaining shared API contracts that need provider and API module consistency.
Related Skills
A one-shot coding agent built on Claude Code CLI that runs non-interactively, supports a specified workdir, and can be monitored in the foreground or background.
Preview and confirm file sorting by extension, with recursive cleanup, ignore rules, and transactional rollback.
An engineering assistant for static HTML/CSS/JS pages, design-token extraction, IE8-compatible review, and structured delivery.
An engineering workflow for requirement analysis, scenario modeling, risk planning, quality gates, testing, and knowledge capture, with lightweight, standard, and full modes.