All skills
jwynia avatar

/agile-workflow

@99a8797
by J Wyniajwynia/agent-skills160 stars
20

Orchestrate agile development workflows by invoking commands in sequence with checkpoint-based flow control. This skill should be used when the user asks to 'run the workflow', 'continue working', 'what's next', 'complete the task cycle', 'start my day', 'end the sprint', 'implement the next task', or wants guided step-by-step development assistance. Platform-agnostic git-only workflow without PR integration. Keywords: workflow, orchestrate, agile, task cycle, sprint, daily, implement, review, merge, standup, retrospective, git.

Use this Skill: https://skilld.dev/gh/jwynia/agent-skills/agile-workflow

This session only. Nothing lands on disk.

referencescommandsreview-tests.md

≈1k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Review Tests Command Reference

Unit test quality review for isolation, meaningfulness, and best practices.

Purpose

Review test files for quality issues including tautological tests, proper mocking, meaningful assertions, and test structure.

When Used in Workflow

  • Task Cycle: After implementation, alongside code review
  • Ad-hoc: Test quality assessment

Common Invocation Patterns

review-tests               # Review all test files
review-tests --uncommitted # Only uncommitted changes
review-tests --staged      # Only staged changes
review-tests --branch      # All changes in current branch
review-tests --coverage 80 # Minimum coverage threshold

Review Focus Areas

1. Tautological Tests Detection

  • Tests that assert the same value they just set
  • Tests that only verify mocked behavior
  • Tests like: expect(true).toBe(true)
  • Tests that pass even when implementation is broken

2. Proper Mocking and Isolation

  • External dependencies mocked (databases, APIs, file systems)
  • Only unit under test uses real implementation
  • Mocks properly reset between tests
  • No tests depending on external state

3. Meaningful Assertions

  • Tests check actual behavior, not implementation details
  • Assertions test the contract/interface
  • Edge cases and error conditions verified
  • Error messages and types tested

4. Test Structure and Clarity

  • Test names clearly describe scenarios
  • Arrange-Act-Assert structure
  • Tests are independent and order-agnostic
  • Proper setup/teardown usage

5. Coverage Quality

  • Business logic thoroughly tested
  • Edge cases, error paths, boundaries covered
  • Not just happy path testing

Common Anti-Patterns to Flag

Direct Tautologies:

// BAD - Testing the assignment
const result = 5;
expect(result).toBe(5);

Mock-Only Tests:

// BAD - Testing the mock, not the component
mockService.getValue.mockReturnValue(42);
const result = component.getData();
expect(result).toBe(42);

Self-Referential Tests:

// BAD - Just testing constructor assignment
const user = new User({ name: 'John' });
expect(user.name).toBe('John');

Missing Isolation:

// BAD - Depends on external state
const data = await fetchFromRealDatabase();
expect(data).toBeDefined();

Quality Checks

  • Testing private methods directly
  • Testing implementation details
  • Snapshot tests without clear purpose
  • Missing negative test cases
  • Tests with no assertions
  • Tests that always pass

Examples of Good Tests

// GOOD - Tests actual behavior
it('should calculate discount correctly for premium users', () => {
  const calculator = new PriceCalculator();
  const result = calculator.calculatePrice({
    basePrice: 100,
    userType: 'premium'
  });
  expect(result).toBe(80); // 20% discount
});

// GOOD - Proper mocking with behavior verification
it('should handle API errors gracefully', async () => {
  mockApi.fetch.mockRejectedValue(new Error('Network error'));
  const service = new DataService(mockApi);

  await expect(service.getData()).rejects.toThrow('Failed to fetch data');
  expect(mockLogger.error).toHaveBeenCalledWith(
    'API call failed',
    expect.any(Error)
  );
});

Output Format

## Test Quality Review Summary

### Critical Issues (High Severity)
- [Issues that break test isolation or leave functionality untested]

### Poor Practices (Medium Severity)
- [Issues that reduce test effectiveness]

### Style Improvements (Low Severity)
- [Minor improvements and consistency issues]

### Statistics
- Test files reviewed: X
- Files with issues: Y
- Tautological tests found: Z
- Missing mocks: N

### Top Recommendations
1. [Most important improvement]
2. [Second priority]
3. [Third priority]

Orchestration Notes

Test review results combine with code review for REVIEWS_DONE checkpoint:

  • Tautological tests: should fix (tests provide false confidence)
  • Missing isolation: should fix (tests are unreliable)
  • Style issues: can defer

Source: SKILL.md on GitHub

1 warning14d5 checks · Risk SAFE
  • Gen Agent Trust Hub14d

    This skill provides a structured agile workflow for software development using Git. It guides agents through task selection, TDD-based implementation, quality reviews, and merging. No security risks were detected.

  • Socket14d

    No alerts

  • Snyk14d

    Risk: LOW · No issues

  • Runlayer7mo

    19/21 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 99a8797. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Dormantupdated 8 months ago
Other metadata
compatibility
Requires git and a context network with backlog structure. Works with any git hosting provider.
metadata
{
  "author": "agent-skills",
  "version": "2.0",
  "type": "orchestrator",
  "mode": "generative",
  "domain": "agile-software"
}

README badge

README badge for jwynia/agent-skills/agile-workflow