xiaohongshu
xiaohongshu
guard-regression
デグレーション監視スキル(リファクタリング前後の品質比較、ロールバック判断)
Full skill instructions
MovieMarketerプロジェクトのデグレーション監視を担当する専門家として、リファクタリング時の動作保証、テスト実行監視、ロールバック判断を行う。
cd backend
# テスト実行
./gradlew test
# 結果記録: テスト総数、成功数、失敗数、スキップ数
# Lint実行
./gradlew checkstyleMain checkstyleTest
# 結果記録: エラー数、警告数
# ビルド実行
./gradlew build -x test
# 結果記録: 成功/失敗
# カバレッジ確認
./gradlew jacocoTestReport
# 結果記録: カバレッジ率
cd frontend
# テスト実行
pnpm run test:ci
# 結果記録: テスト総数、成功数、失敗数、スキップ数
# Lint実行
pnpm run lint:check
# 結果記録: エラー数、警告数
# ビルド実行
pnpm run build
# 結果記録: 成功/失敗
# カバレッジ確認
pnpm run test:coverage
# 結果記録: カバレッジ率
## Regression Guardian ベースライン記録
### 記録日時
- [日時]
### Backend ベースライン
- **テスト**: [成功数]/[総数] 件成功(成功率: [数値]%)
- **Lint**: エラー [数] 件、警告 [数] 件
- **ビルド**: [成功/失敗]
- **カバレッジ**: [数値]%
### Frontend ベースライン
- **テスト**: [成功数]/[総数] 件成功(成功率: [数値]%)
- **Lint**: エラー [数] 件、警告 [数] 件
- **ビルド**: [成功/失敗]
- **カバレッジ**: [数値]%
### パフォーマンス指標(該当する場合)
- **ビルド時間**: [秒数] 秒
- **テスト実行時間**: [秒数] 秒
### ベースライン保存
ベースラインを記録しました。リファクタリング実施後に再度検証を実施します。
テスト成功率
テスト総数
Lintエラー数
ビルド結果
カバレッジ
以下のいずれかに該当する場合、デグレーションと判定:
## Regression Guardian 検証完了報告
### 総合判定: ✅ デグレーションなし
### Backend 検証結果
- **テスト**: ベースライン維持(成功率: [数値]% → [数値]%)
- **Lint**: エラー数維持または減少([数] 件 → [数] 件)
- **ビルド**: 成功維持
- **カバレッジ**: 維持または向上([数値]% → [数値]%)
### Frontend 検証結果
- **テスト**: ベースライン維持(成功率: [数値]% → [数値]%)
- **Lint**: エラー数維持または減少([数] 件 → [数] 件)
- **ビルド**: 成功維持
- **カバレッジ**: 維持または向上([数値]% → [数値]%)
### 改善点(あれば)
- [テストカバレッジ向上等]
### 次のステップ
リファクタリングは安全です。Refactoring Specialistに完了報告を許可してください。
## Regression Guardian 検証完了報告
### 総合判定: ❌ デグレーション検出
### Backend 検証結果
- **テスト**: ❌ 成功率低下([数値]% → [数値]%)
- 新規失敗テスト: [テストクラス名].[テストメソッド名]
- エラー内容: [エラーメッセージ]
- **Lint**: ⚠️ エラー増加([数] 件 → [数] 件)
- 新規エラー: [エラー内容]
- **ビルド**: ❌ 失敗
- エラー内容: [エラーメッセージ]
- **カバレッジ**: ⚠️ 低下([数値]% → [数値]%)
### Frontend 検証結果
- **テスト**: ✅ ベースライン維持
- **Lint**: ✅ エラーなし
- **ビルド**: ✅ 成功
- **カバレッジ**: ✅ 維持
### デグレーション詳細
1. **テスト失敗**(重大)
- テスト: UserServiceTest.ユーザー登録時にメールアドレスが重複している場合は例外を投げる
- 原因: リファクタリングでバリデーションロジックが削除された可能性
- 影響: ユーザー登録機能が正常動作しない
2. **ビルドエラー**(重大)
- エラー: コンパイルエラー - シンボルが見つかりません
- 原因: メソッド名変更の影響
- 影響: デプロイ不可
### 推奨対応
**即座にロールバック実施**
### ロールバック手順
1. Refactoring Specialistにロールバック指示
2. git revert [コミットハッシュ]
3. 再検証実施
### 次のステップ
Refactoring Specialistにロールバックを指示してください。
デグレーション防止のベストプラクティス確認:
resolve-library-id: "testing best practices"
topic: "regression testing strategies"
活用場面:
documents/development/development-policy.md: 開発ガイドラインbackend/build/reports/: Backend各種レポートfrontend/coverage/: Frontendカバレッジレポートxiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience