.agent/skills/speckit-update-upstream/SKILL.md
Intelligently sync your fork with the upstream spec-kit repository. Reads both versions of every changed file, compares quality, and produces the richest possible result by blending the best of each.
npx skillsauth add a2mus/smart-da3m speckit-update-upstreamInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Sync your fork with github/spec-kit — intelligently, not blindly.
You are the smart merge tool. For every changed file, read both versions, compare them, and produce the best possible result:
Special protections: Always keep our version in pyproject.toml, our entries in CHANGELOG.md, and our custom commands in __init__.py — but still ADD new upstream content to these files.
Check working tree is clean — git status --porcelain. If dirty, STOP.
Configure upstream remote (if not set):
git remote get-url upstream 2>/dev/null || git remote add upstream https://github.com/github/spec-kit.git
Fetch upstream: git fetch upstream main
Analyze diff: git diff --name-status HEAD..upstream/main
Apply file-by-file:
Validate: Run syntax checks and tests
Commit: git add -A && git commit -m "chore(upstream): smart-sync with github/spec-kit"
Report: Summary of what was blended, taken, or kept — with key decisions explained.
If $ARGUMENTS contains "dry-run" or "preview", stop after step 4.
testing
Perform cross-artifact consistency analysis across spec.md, plan.md, and tasks.md. Use after task generation to identify gaps, duplications, and inconsistencies before implementation.
development
Run comprehensive verification on current codebase state.
development
Impeccable UI design workflow — create distinctive, production-grade interfaces or enhance existing ones. Integrates design context gathering, anti-pattern detection, heuristic scoring, and systematic polish. Works after speckit-brainstorm (new design) or on existing UI code (enhancement mode).
development
Enforce test-driven development workflow. Scaffold interfaces, generate tests FIRST, then implement minimal code to pass. Ensure 80%+ coverage.