Compact fix
8 production-tested Claude Code skills for Linear → GitHub → Vercel SaaS workflows. Quick-start backlog items, auto-link PRs to Linear issues, attach Vercel previews, cross-tool dashboards.
npx -y skills add ImTaegan/claude-saas-flow --skill compact-fixAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Restore context after chat compaction by retrieving the execution plan and checking current progress.
SKILL.md
3.9 KB, as published. Nobody here has run it
Context Recovery After Compaction
Restores full context after a Claude Code chat has been compacted by retrieving the execution plan and current task status.
Project Configuration
Read project configuration from .claude/project.json:
projectNamelinear.teamId,linear.teamName,linear.projectIdgithub.owner,github.repo
If .claude/project.json doesn't exist, suggest running /setup-project first.
Instructions for Claude
When this skill is invoked, restore context from the current branch and Linear issue.
Step 0: Load Configuration
PROJECT_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || pwd)
Read $PROJECT_ROOT/.claude/project.json.
Step 1: Get Current Workflow Status
- Get the current Git branch:
git branch --show-current - Extract the issue ID (e.g.,
ABC-XXfromfeature/ABC-XX-title) - If an issue ID is found, fetch from Linear:
Use mcp__linear__get_issue with the extracted ID - Check sub-issues and their statuses
- This shows:
- Current branch and workflow
- Linear issue tied to this branch
- All tasks and their statuses
Step 2: Retrieve the Execution Plan
- Use the Task tool with
subagent_type="Explore"andthoroughness="medium"to recover codebase context related to the current feature. Pass the issue title and key terms. - Look for plan files:
.claude/plan.mdor similar- Recent commit messages mentioning the plan
- If a Linear issue was found, read its full description — it may contain the implementation plan
Step 3: Identify Current Progress
- Check which sub-issues are "Done" in Linear
- Check which sub-issue is "In Progress"
- Determine the next logical step:
- Use
git statusandgit diffto see uncommitted work - Cross-reference with the plan and sub-issue statuses
- Use
Step 4: Review REFERENCES Folder
Check for a REFERENCES/ directory. If it exists, read relevant files based on the feature being worked on (API references, integration docs, architecture guides, testing plans, setup guides).
Step 5: Present Context Summary
## Context Restored
**Current Branch**: [branch-name]
**Feature**: [feature description]
**Project**: [config.projectName]
### Execution Plan Summary
[Brief summary of the plan and approach]
**References Used**:
- [List of REFERENCES files relevant to this feature]
### Progress Status
**Completed Tasks**:
- [x] Task 1 name
- [x] Task 2 name
**In Progress**:
- [ ] Current task name
**Pending**:
- [ ] Next task 1
- [ ] Next task 2
### Current Working State
[Summary of current git changes based on git status/diff]
### Next Steps
[What to work on next based on the plan and progress]
Ready to continue? Let me know if you need:
- To continue with the current task
- To review any specific part
- To update task status in Linear
Key Points
- Always check the Linear issue first — it contains the full context
- Read REFERENCES files relevant to the feature
- Sync git status with Linear tasks — ensure they're in alignment
- Don't guess — if you can't find the plan, tell the user explicitly
- Update Linear tasks as you make progress after context is restored
Error Handling
If the execution plan is not found:
Execution Plan not found
I found the current workflow but couldn't locate the Execution Plan.
Let me check git history and current code to understand the context...
[Proceed with code exploration and ask user for clarification if needed]
If no active workflow exists:
No active workflow found for branch: [branch-name]
You're not on a feature branch with a tracked workflow.
Would you like to:
1. Switch to an existing feature branch
2. Start a new feature (use /new-feature)
3. Work on this branch without tracking