Agent skill
pre-push
Quick validation checklist before pushing changes. Use when about to push, before git push, or to validate changes.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/pre-push-addf0086
SKILL.md
Pre-Push Validation Checklist
Quick validation before pushing changes to the repository.
Instructions
Run through this checklist:
1. Manifest Validation
- Read
custom_components/sl_departures/manifest.json - Verify required fields: domain, name, version, codeowners, config_flow, iot_class
- Check version is appropriate for the changes
2. Translation Completeness
- Compare
strings.jsonkeys withtranslations/en.json - Check
translations/sv.jsonhas matching keys
3. Import Validation
Run:
python -c "import sys; sys.path.insert(0, '.'); from custom_components.sl_departures import const"
4. Git Status Review
- Run
git statusandgit diff --staged - Ensure no sensitive files (.env, credentials) are staged
- Summarize what's being pushed
5. Quick Code Scan
Check for:
print()statements (should use_LOGGER)- Hardcoded credentials or API keys
- TODO/FIXME comments that need addressing
Output Format
Report each check as PASS or FAIL with details:
1. Manifest: PASS/FAIL - details
2. Translations: PASS/FAIL - details
3. Imports: PASS/FAIL - details
4. Git Status: X files staged
5. Code Scan: PASS/FAIL - details
Ready to push: YES/NO
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?