battle-test
$
npx mdskill add HoangNguyen0403/agent-skills-standard/battle-test> [!IMPORTANT] > Deep audit of a skills directory against the Skill Creator standard. Produces a scored report and phased remediation plan.
SKILL.md
.github/skills/battle-testView on GitHub ↗
---
name: battle-test
description: "Deep audit of a skills directory against the Skill Creator standard. Produces a scored report and phased remediation plan."
metadata:
triggers:
keywords:
- battle test
- workflow
---
# Battle Test Skill
> [!IMPORTANT]
> Deep audit of a skills directory against the Skill Creator standard. Produces a scored report and phased remediation plan.
## Instructions
When the user asks to perform this workflow, execute the following steps:
# ⚔️ Battle Test Orchestrator
> **Goal**: Evaluate every `SKILL.md` in the target directory against `common-skill-creator`. Deliver a quantified health report and prioritized remediation plan.
---
## Step 1 — Target Discovery & Tech Stack
Identify the tech stack and all skill files.
```bash
# Count total skills per category
find . -name "SKILL.md" | sed 's|/[^/]*/SKILL.md||' | sort | uniq -c
```
---
## Step 2 — Frontmatter Audit (Breadth Scan)
Run scans to detect format and structure violations.
1. **Check for missing mandatory sections**: `grep -rL "triggers:\|priority:\|Anti-Patterns" <SKILLS>/`
2. **Check for broad glob triggers**: `grep -r "src/\*\*" <SKILLS>/`
3. **Check for length limits**:
`find . -name "SKILL.md" -exec awk 'END{if(NR>100) print FILENAME": "NR" lines"}' {} \;`
---
## Step 3 — Deep Audit & Scoring
Pick every P0 (CRITICAL) and a random sample of P1/P2 skills. Evaluate them against the **Grading Rubric** in:
`<SKILLS>/common/common-skill-creator/references/rubric.md` when synced.
1. **Trigger Accuracy**: File patterns + keywords?
2. **Format Quality**: `**No X**: Do Y.` anti-patterns?
3. **Verification**: Mandatory checklists?
4. **Token Efficiency**: Under 100 lines? Imperative mood?
---
## Step 4 — Scored Report
**Scoring Algorithm**: Start at 100 points for each category. Apply deductions for findings (🔴-15 / 🟠-8 / 🟡-3 / 🔵-1).
### 📊 Report Format
Output the report using the **Battle Test Report** and **Phased Plan** templates in:
`<SKILLS>/common/common-skill-creator/references/rubric.md` when synced.
---
## Step 5 — Interactive Follow-up
1. "Generate a `task.md` for Phase 1 remediation?"
2. "Fix the worst offender in [category] now?"
3. "Deep-dive audit on a specific category (e.g., `security`)?"
More from HoangNguyen0403/agent-skills-standard
- android-agp-upgradeUpgrade an Android project to Android Gradle Plugin (AGP) 9. Use when migrating to AGP 9, updating Gradle build files, migrating to built-in Kotlin, or adopting the new AGP DSL.
- android-architectureApply Clean Architecture layering, modularization, and Unidirectional Data Flow in Android projects. Use when setting up project structure, placing code in layers, configuring feature/core modules, or implementing UDF patterns.
- android-background-workImplement WorkManager and background processing correctly on Android. Use when creating Worker classes, scheduling tasks, choosing between WorkManager and Foreground Services, or setting up Hilt in workers.
- android-composeBuild high-performance declarative UI with Jetpack Compose. Use when writing Composable functions, optimizing recomposition, hoisting state, or working with LazyColumn and side effects.
- android-compose-migrationMigrate an Android XML View to Jetpack Compose following a structured 10-step workflow. Use when converting XML layouts to Compose, setting up Compose in an existing View-based project, or incrementally adopting Compose.
- android-concurrencyWrite correct coroutine scopes, Flow collection, and dispatcher injection in Android. Use when writing suspend functions, choosing between StateFlow and SharedFlow, or injecting Dispatchers for testability.
- android-deploymentConfigure release signing, R8 obfuscation, and App Bundle publishing for Android. Use when setting up signing configs, enabling minification, adding ProGuard keep rules, or preparing for Play Store submission.
- android-design-systemEnforce Material Design 3 theming and design token usage in Jetpack Compose. Use when implementing M3 components, color schemes, typography, or design tokens.
- android-diConfigure Hilt dependency injection with proper scoping, modules, and constructor injection in Android. Use when setting up Hilt DI, defining modules, or configuring component scoping.
- android-edge-to-edgeMigrate a Jetpack Compose app to edge-to-edge display and fix system bar inset issues. Use when UI components are obscured by navigation/status bars, fixing IME insets, or enabling edge-to-edge for SDK 35+.