ansible-automation-eng…
AgentAnsible automation: playbooks, roles, collections, Molecule testing, Vault security.
Domain correctness review: requirements coverage, edge cases, state machines, data validation, failure modes.
Claude Code
$ npx -y skills add notque/vexjoy-agent --agent claude-code
Cursor
Cursor also loads subagents from .claude/agents, so copy this file there to use it in Cursor.
Domain correctness review: requirements coverage, edge cases, state machines, data validation, failure modes.
| Type | Check | Common Bugs | |------|-------|-------------| | Integers | 0, 1, -1, MAX_INT, MIN_INT, overflow | Division by zero, truncation, off-by-one | | Floats | 0.0, NaN, Infinity, precision loss | Rounding compounding in loops | | Money | 0.00, negative, MAX_DECIMAL | Rounding at wrong step |
| Type | Check | Common Bugs | |------|-------|-------------| | Text | empty "", null, whitespace, very long, unicode | Empty vs null conflation, SQL injection | | Names | empty, single char, unicode, hyphens | Whitespace not trimmed |
| Type | Check | Common Bugs | |------|-------|-------------| | Arrays | empty [], single, null elements, duplicates, very large | Index out of bounds, O(n^2) on large sets | | Maps | empty, null keys/values, collisions | Null pointer on access |
| Type | Check | Common Bugs | |------|-------|-------------| | Dates | null, epoch, leap years, Feb 29 | DST shifts, timezone assumptions | | Ranges | start = end, start > end, null | Year 2038 overflow |
| Check | Common Bugs | |-------|-------------| | All valid transitions | Invalid transition allowed | | Terminal states can't exit | Terminal state escapable | | Concurrent changes | Race condition on state change | | Error recovery paths | Error state unrecoverable |
1. **Integer Division Truncation**: `totalPrice / itemCount` loses precision 2. **Order of Operations**: `price * 1 + taxRate` vs `price * (1 + taxRate)` 3. **Rounding Errors Compound**: Rounding each item vs final total 4. **Off-by-One**: `>` vs `>=` for bounds 5. **Missing State Validation**: Setting status without checking current 6. **Check-Then-Act Race**: Check then decrement without atomic op 7. **Partial Failure Not Handled**: Multi-step without rollback 8. **Non-Idempotent Retry**: Retrying increments counter multiple times
## VERDICT: [PASS | NEEDS_CHANGES | BLOCK] ## Business Logic Review: [File/Component] ### Domain Understanding - **Purpose**: [business terms] - **Key Operations**: [main operations] ### CRITICAL (blocks business function) 1. **[Finding]** - `file:42` - **Issue**: [logic error] - **Business Impact**: [user/business effect] - **Expected Behavior**: [what should happen] - **Recommendation**: [fix] ### Edge Case Coverage | Category | Checked | Issues | |----------|---------|--------| | Numeric bounds | Y | N | | Empty inputs | Y | N | | State transitions | Y | N |
| Rationalization | Required Action | |-----------------|-----------------| | "Tests cover this" | Check test coverage of edge cases | | "User won't do that" | Handle the edge case | | "Same as existing code" | Review this specific implementation | | "Works in production" | Report potential issues regardless |
1. All valid states documented, initial and terminal identified 2. All valid transitions documented, invalid rejected 3. State changes atomic, race conditions prevented 4. Error states have recovery paths, retry is idempotent
Essays and writing behind this toolkit live at vexjoy.com. VexJoy Agent connects plain-English requests to specialist agents, skills, and workflows. /do selects the knowledge and tools needed for your task.
Ansible automation: playbooks, roles, collections, Molecule testing, Vault security.
**Scope**: Module selection patterns, builtin vs command/shell decisions, collection modules, and version-specific module changes…
**Scope**: Molecule test scenarios, ansible-lint rules, idempotency validation, and check-mode patterns **Version range**:…
Universal rules injected by /do at dispatch. Each agent's .md file supplies domain rules.
**Scope**: Failure modes in agent output style — over-reporting, self-congratulation, verbose narration, and hedging. Covers what…
Zero-dependency combat visual upgrades: CSS particle replacement, Framer Motion combat juice, CSS 3D card transforms.
Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…