assimilate-popular-wor…
This skill should be used when the user asks to "find skills in the wild", "assimilate popular workflows", "discover SKILL.md files in repos", "research…
Bug condition/postcondition formalization as testable Behavior Contracts. Defines invariants that must be preserved across fixes.
$ npx -y skills add a5c-ai/babysitter --skill behavior-contract --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/behavior-contractContext preview
The summary Claude sees to decide when to auto-load this skill.
Bug condition/postcondition formalization as testable Behavior Contracts. Defines invariants that must be preserved across fixes.
name: behavior-contract description: Bug condition/postcondition formalization as testable Behavior Contracts. Defines invariants that must be preserved across fixes. allowed-tools: Bash(*) Read Write Edit Glob Grep metadata: author: babysitter-sdk version: "1.0.0" category: pilot-shell-bugfix attribution: "Adapted from Pilot Shell by Max Ritter (https://github.com/maxritter/pilot-shell)" graph: domains: [domain:software-engineering] skillAreas: [skill-area:agentic-loops, skill-area:orchestration-loop] workflows: [workflow:feature-development] topics: [topic:developer-experience] roles: [role:tech-lead, role:backend-engineer] The exact input, state, or sequence that triggers the bug. Must be specific enough to write a failing test. **Example**: "When `processPayment()` receives an amount of exactly $0.00, it throws an unhandled TypeError instead of returning a zero-amount receipt." ### Postcondition The correct behavior that must hold after the fix is applied. **Example**: "When `processPayment()` receives $0.00, it returns a valid Receipt object with `amount: 0` and `status: 'completed'`." ### Invariants Existing correct behaviors that must be preserved by the fix. **Example**:
# Behavior Contract: [Bug Title]
## Bug Condition
[Precise description of triggering conditions]
## Postcondition
[Expected correct behavior after fix]
## Invariants
- [ ] Invariant 1: [existing behavior to preserve]
- [ ] Invariant 2: [existing behavior to preserve]
## Testable Assertions
1. `expect(processPayment(0)).toEqual({ amount: 0, status: 'completed' })`
2. `expect(processPayment(100)).toEqual({ amount: 100, status: 'completed' })`
3. `expect(() => processPayment(-1)).toThrow(InvalidAmountError)`1. Bug analysis identifies root cause at file:line 2. This skill formalizes the contract from the analysis 3. tdd-enforcer writes failing test from Bug Condition 4. tdd-enforcer writes preservation tests from Invariants 5. Minimal fix applied, contract audited
Enforce obedience on agentic workforces. Manage extremely complex workflows through deterministic, hallucination-free self-orchestration.
Repo: a5c-ai/babysitter
This skill should be used when the user asks to "find skills in the wild", "assimilate popular workflows", "discover SKILL.md files in repos", "research…
This skill should be used when the user asks to "babysit issues", "work on assigned issues", "check a5c-agent issues", "process babysitter issues", or wants to…
Discover public GitHub repositories that import defineTask from @a5c-ai/babysitter-sdk and maintain a deduplicated catalog of those repositories in…
This skill should be used when the user asks to "fix pipelines", "fix CI", "check staging pipelines", "fix failing workflows", "fix failing actions", or wants…
Scaffold new babysitter process definitions following SDK patterns, proper structure, and best practices. Guides the 3-phase workflow from research to…
For a repository in the babysitter-users catalog, locate its babysitter processes and any committed runs (.a5c/runs/<runId>/) and perform a retrospective on a…