Back to Skills

smart-reopen-detector

verified

Detects when user reports issues with recently completed work and suggests reopening relevant tasks, user stories, or increments. Auto-activates on keywords: not working, broken, bug, issue, problem, failing, error, crash, regression, still broken, incorrect, missing, wrong. Scans active and recently completed (7 days) work to find related items. Provides smart suggestions with relevance scoring.

View on GitHub

Marketplace

specweave

anton-abyzov/specweave

Plugin

sw

development

Repository

anton-abyzov/specweave
27stars

plugins/specweave/skills/smart-reopen-detector/SKILL.md

Last Verified

January 25, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/anton-abyzov/specweave/blob/main/plugins/specweave/skills/smart-reopen-detector/SKILL.md -a claude-code --skill smart-reopen-detector

Installation paths:

Claude
.claude/skills/smart-reopen-detector/
Powered by add-skill CLI

Instructions

# Smart Reopen Detector

## Purpose

When you report an issue with recently completed work, I'll automatically:
1. ๐Ÿ” **Scan your recent work** (active + completed in last 7 days)
2. ๐ŸŽฏ **Identify related items** using keyword matching
3. ๐Ÿ’ก **Suggest what to reopen** with relevance scoring
4. โš ๏ธ  **Check WIP limits** before suggesting reopen

## When I Activate

I automatically activate when you mention these keywords:
- **Not working**: "not working", "broken", "failing", "error", "crash"
- **Quality issues**: "bug", "issue", "problem", "wrong", "incorrect", "missing"
- **Regressions**: "still broken", "regression", "broken again", "came back"

## How I Help

### Example 1: Issue Report
```
User: "The GitHub sync isn't working, it was just completed yesterday"
```

I'll respond with:
```
๐Ÿ” Scanning recent work...

Found 2 related item(s) in recent work:

๐Ÿ“ฆ INCREMENT: 0031-external-tool-status-sync
   Increment: 0031-external-tool-status-sync
   Completed: 2 days ago
   Relevance: 15 points
   Matched: github, sync

โœ“ TASK: T-003 GitHub Content Sync
   Increment: 0031-external-tool-status-sync
   Completed: 1 day ago
   Relevance: 14 points
   Matched: github, sync

๐Ÿ’ก Suggested action:
   /sw:reopen 0031-external-tool-status-sync --reason "GitHub sync not working"

Would you like me to:
1. Reopen the entire increment (checks WIP limits)
2. Reopen just task T-003 (targeted fix)
3. Show me the WIP status first
```

### Example 2: Specific Feature Broken
```
User: "The authentication is broken after the recent deployment"
```

I'll respond with:
```
๐Ÿ” Scanning recent work...

Found 3 related item(s) in recent work:

โœ“ TASK: T-012 Authentication Service
   Increment: 0025-user-auth
   Completed: 3 days ago
   Relevance: 10 points
   Matched: authentication

โœ“ TASK: T-014 JWT Token Validation
   Increment: 0025-user-auth
   Completed: 3 days ago
   Relevance: 7 points
   Matched: authentication

๐Ÿ’ก Suggested action:
   /sw:reopen 0025-user-auth --task T-012 --reason

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
6109 chars