Swe solve

From 5throck/ai-workspace-standards · View interactive version

Swe solve is an AI agent skill from the GitHub repository 5throck/ai-workspace-standards. Autonomous 5-stage issue-to-PR resolution pipeline for software engineering tasks, featuring test-driven validation, pull-request synthesis, and resolution-trajectory logging.

How to use this skill

Skill file

๐Ÿ› ๏ธ Skill: swe-solve

Context

Provides a structured 5-stage autonomous software engineering workflow for resolving repository issues, fixing bugs, and implementing features using test-driven development (TDD) and multi-agent coordination. Every run produces a scoreable trajectory record for measuring resolve-rate over time.

When to Use

Execution Steps

Stage 1: Ingest & Inspect

Stage 2: Localization & Plan

Stage 3: Mutation & Test

Stage 4: Review & PR Synthesis

Stage 5: Trajectory Record

```yaml


run: <YYYY-MM-DD>-<slug>

issue: <issue URL or local spec ref>

resolved: true|false # true only if PR merged or all stages passed with tests green

tests_failed_before: <n>

tests_passed_after: <n>

files_touched: <n>

pr: <PR URL or "none">

stages_completed: 1-5


```

```bash

grep -c '^resolved: true' memory/trajectories/swe-solve/*.md

```

Output Format

# ๐Ÿ› ๏ธ SWE-Solve Execution Summary

### ๐ŸŽฏ Target Issue
[Issue description and scope summary]

### ๐Ÿ” Root Cause Analysis
[Detailed technical explanation of failure mechanism or missing capability]

### ๐Ÿงช Test Evidence
- **Reproducing Test**: `tests/unit/target-feature.test.ts`
- **Initial Status**: FAIL (Expected X, got Y)
- **Final Status**: PASS (All 12 assertions clean)

### ๐Ÿ“ Code Modifications
- `src/components/target-module.ts`: Fixed parameter boundary check
- `scripts/helpers/schema-validator.ts`: Updated schema mapping

### ๐Ÿš€ PR Synthesis
- **Branch**: `pr/20260824-swe-solve-fix`
- **Sync Status**: Opened PR #451

### ๐Ÿ“Š Trajectory Record
- **Path**: `memory/trajectories/swe-solve/2026-08-24-target-fix.md`
- **Resolved**: true

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.