docs/ja-JP/skills/springboot-verification/SKILL.md
--- name: springboot-verification description: Verification loop for Spring Boot projects: build, static analysis, tests with coverage, security scans, and diff review before release or PR. --- # Spring Boot 検証ループ PR前、大きな変更後、デプロイ前に実行します。 ## フェーズ1: ビルド ```bash mvn -T 4 clean verify -DskipTests # または ./gradlew clean assemble -x test ``` ビルドが失敗した場合は、停止して修正します。 ## フェーズ2: 静的解析 Maven(一般的なプラグイン): ```bash mvn -T 4 spotbugs:check pmd:check checkstyle:check ``` Gradle(設定されている場合): ```bash ./gradlew
npx skillsauth add drixxodev/drixxodev-ai docs/ja-JP/skills/springboot-verificationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
PR前、大きな変更後、デプロイ前に実行します。
mvn -T 4 clean verify -DskipTests
# または
./gradlew clean assemble -x test
ビルドが失敗した場合は、停止して修正します。
Maven(一般的なプラグイン):
mvn -T 4 spotbugs:check pmd:check checkstyle:check
Gradle(設定されている場合):
./gradlew checkstyleMain pmdMain spotbugsMain
mvn -T 4 test
mvn jacoco:report # 80%以上のカバレッジを確認
# または
./gradlew test jacocoTestReport
レポート:
# 依存関係のCVE
mvn org.owasp:dependency-check-maven:check
# または
./gradlew dependencyCheckAnalyze
# シークレット(git)
git secrets --scan # 設定されている場合
mvn spotless:apply # Spotlessプラグインを使用している場合
./gradlew spotlessApply
git diff --stat
git diff
チェックリスト:
System.out、ガードなしの log.debug)検証レポート
===================
ビルド: [合格/不合格]
静的解析: [合格/不合格] (spotbugs/pmd/checkstyle)
テスト: [合格/不合格] (X/Y 合格, Z% カバレッジ)
セキュリティ: [合格/不合格] (CVE発見: N)
差分: [X ファイル変更]
全体: [準備完了 / 未完了]
修正が必要な問題:
1. ...
2. ...
mvn -T 4 test + spotbugs で迅速なフィードバック注意: 迅速なフィードバックは遅い驚きに勝ります。ゲートを厳格に保ち、本番システムでは警告を欠陥として扱います。
tools
在编写新功能、修复错误或重构代码时使用此技能。强制执行测试驱动开发,确保单元测试、集成测试和端到端测试的覆盖率超过80%。
tools
SwiftUI 架构模式,使用 @Observable 进行状态管理,视图组合,导航,性能优化,以及现代 iOS/macOS UI 最佳实践。
development
基于协议的依赖注入,用于可测试的Swift代码——使用聚焦协议和Swift Testing模拟文件系统、网络和外部API。
tools
Swift 6.2 可接近的并发性 — 默认单线程,@concurrent 用于显式后台卸载,隔离一致性用于主 actor 类型。