.cursor/skills/session-recap/SKILL.md
Self-reflect on the current chat session, summarize changes made, and update project documentation (AGENTS.md, VERSION_HISTORY.md). Use when the user asks to summarize, recap, reflect on, or document what was done in this session, or asks to update docs/documentation after making changes.
npx skillsauth add lifan-builds/credit-card-tracker session-recapInstall 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.
Reflect on the current chat session, produce a structured summary, and update the project's documentation to keep it in sync with reality.
Collect what happened in this session. Sources to check:
git diff --stat and git diff to see all uncommitted changesgit log --oneline -10 if commits were made this sessionagent_transcripts) for specific detailsOutput a structured summary to the user covering:
## Session Summary
### What Changed
- Bullet list of concrete changes (files modified, features added, bugs fixed)
### Why
- Root cause or motivation for the changes
### Key Decisions
- Architectural or design decisions made and their rationale
### Testing
- What was tested and how (local curl, build, lint, etc.)
### Risk / Follow-ups
- Anything left incomplete, deferred, or worth monitoring
Keep it concise — a few bullets per section, not paragraphs.
Use this decision table:
| Change type | Update AGENTS.md? | Update .cursor/rules/? | |---|---|---| | New feature or page | Yes — add to Features, Architecture, or Roadmap | Rarely | | Bug fix or perf improvement | Yes — add to Recent Updates | No | | Schema / migration change | Yes — update Schema section | No | | New script or workflow | Yes — update Scripts Reference | Maybe | | Infra / deployment change | Yes — update Deployment section | Maybe | | New dev pattern or safety rule | Yes — update Guidelines | Yes | | Lesson learned / incident | Yes — note in relevant section | Yes — if it should prevent recurrence |
VERSION_HISTORY.md: Only update when the user explicitly requests it.
When unsure, default to updating AGENTS.md — it is the primary AI reference.
Read AGENTS.md first. Then apply changes:
### Month Year: Short Title
**Date**: Month Year
**Implementation Status**: ✅ Complete
**Changes Implemented**:
- **Item**: Description
- **Item**: Description
---
*Version: X.XX* line at the bottom if a Recent Updates entry was added. Use minor bump (e.g., 1.18 → 1.19).*Last Updated: line.Do NOT update VERSION_HISTORY.md unless the user explicitly asks for it. Version bumps are user-initiated — the user decides when and how to announce changes to end users. If you think a version bump is warranted, mention it in the summary but do not write it.
Only if the session established a new safety rule or recurring pattern that future agents should always follow. Create or edit a .mdc file in .cursor/rules/.
Present the summary and list which docs you plan to update. Wait for user approval before writing. The user may want to adjust wording, skip certain updates, or add context you missed.
tools
Generate CouponCycle version update notes in Chinese (一行格式) and track versions. Use when the user asks for a version note, release note, update note, 更新说明, 版本说明, or to add or bump a version.
tools
Update, add, or remove benefits from existing credit cards in CouponCycle. Use when the user asks to update card benefits, add a new benefit to a card, remove a benefit, change benefit values, or mentions annual fee updates for cards like Amex Platinum, Chase Sapphire Reserve.
testing
Add a new credit card to the CouponCycle application with its image and benefits. Use when the user asks to add a new card, create a card template, download a card image, or mentions adding cards like "Amex", "Chase", "Citi" to the system.
documentation
Fetch GitHub issues, spawn sub-agents to implement fixes and open PRs, then monitor and address PR review comments. Usage: /gh-issues [owner/repo] [--label bug] [--limit 5] [--milestone v1.0] [--assignee @me] [--fork user/repo] [--watch] [--interval 5] [--reviews-only] [--cron] [--dry-run] [--model glm-5] [--notify-channel -1002381931352]