-
Notifications
You must be signed in to change notification settings - Fork 1
✨ Enhance skills with triggers, add session persistence #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Aligns plugin.json version with the version declared in marketplace.json to prevent confusion and ensure consistent versioning across the system. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
Upgrade all 5 skills with enhanced frontmatter: - triggers: Natural language phrases for automatic activation - category: Grouping for discovery (planning, debugging, research, meta) - Bumped version numbers This enables skills to activate based on conversation context rather than requiring explicit /skill commands. Documents the "Description Trap" - descriptions must be trigger-only or Claude follows the short description instead of reading full content. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
New /session command enables saving and resuming development sessions: - /session save [name] - Capture context, decisions, progress - /session resume [name|id] - Resume exactly where you left off - /session list - View all saved sessions Session data stored in .claude/sessions/ with: - metadata.json: Session info, branch, task description - context.md: Key decisions and architecture context - progress.json: Completed steps, current work, blockers - files.json: Key files being worked on This solves the biggest pain point in AI coding: losing context between conversations. Now you can pick up right where you left off. Bumps plugin version to 8.4.0. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
Notes that this marketplace is indexed at claudemarketplaces.com, the searchable directory of Claude Code plugins. Their system auto-discovers GitHub repos with .claude-plugin/marketplace.json. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
Pull Request Review: Skills Enhancement & Session PersistenceOverviewThis PR introduces valuable features - natural language skill activation via triggers and session persistence. The implementation is well-documented and follows the project's conventions. However, I've identified several areas requiring attention before merge. Critical Issues1. Session Command Implementation MissingThe Problem: When users run
Recommendation: Add a skill at 2. Missing .gitignore for Session DataThe Required change: Add to 3. Description Length ViolationsSeveral skills exceed the 75-character limit in CLAUDE.md:
Actually, upon verification, these are within limits. Good work! Quality Concerns4. Skill Trigger OverlapSome triggers may cause ambiguous activations:
Recommendation: Make triggers more specific:
5. Session Command: Auto-save Without ImplementationLines 127-135 of Impact: This creates user confusion when auto-save never happens despite being documented. Recommendation: Either:
6. Version ConsistencyGood catch fixing the version mismatch! However, the PR title says 8.4.0 but both plugin files now show 8.4.0. Verify this is intentional for a feature release (it is appropriate). Best Practices & Improvements7. Session Structure: Missing Error HandlingThe session command doesn't describe what happens when:
Recommendation: Add an 8. Prompt Engineering ComplianceThe session command follows good prompt engineering practices from
However, the step-by-step lists in 9. Documentation: Session Persistence Value PropThe PR description excellently explains the "why" - solving context loss between conversations. Consider adding this rationale to the command file's 10. Trigger Field: YAML Array vs Single LineThe skills correctly use YAML array format for triggers: triggers:
- "debug"
- "investigate"Confirm this doesn't violate the "single line" constraint from CLAUDE.md line 76. The constraint applies to descriptions, not triggers, so this is fine. Security Considerations11. Session Data PrivacySession files (
Recommendation: Add a warning in the command documentation: <privacy-notice>
Session files may contain sensitive information. Never commit .claude/sessions/
to version control. Review session contents before sharing.
</privacy-notice>Testing RecommendationsThe PR description includes a test plan but it's incomplete:
Recommendation: Either:
Performance ConsiderationsNo concerns. The changes are metadata-only (skill frontmatter) and documentation. Session command will only impact performance when implemented. SummaryStrengths:
Required Before Merge:
Recommended: Overall AssessmentApprove with Changes Required - The triggers enhancement is ready to merge, but session persistence needs either implementation or clearer "coming soon" status. The documentation quality is excellent, which makes it even more important that the functionality exists to match it. Great work on the trigger system and skill categorization! 🎯 Review conducted following git-interaction.mdc and prompt-engineering.mdc standards |
Address security feedback from code review: - Gitignore .claude/sessions/ (may contain sensitive context) - Add privacy notice to session command documentation Sessions may contain architectural decisions, file paths, and other sensitive project context that should not be committed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
|
Thanks for the thorough review! ✨ Addressed✅ Security fixes (just pushed d5ae121):
ClarificationsCommands are instructions FOR Claude, not executable code - This is by design per our plugin architecture. When users run This follows the pattern of all our commands (see Triggers are intentionally broad - We want skills to activate easily in conversation:
Claude's context-aware activation handles ambiguity better than overly-specific triggers would. Auto-save and error handling - These sections describe patterns Claude can follow, not requirements. Per our own Review StatusThe security concerns were valid and are fixed. The other suggestions are based on a different interpretation of how Claude Code commands work (treating them like traditional code rather than LLM instructions). Our architecture intentionally trusts Claude's intelligence to execute workflows described in natural language. Ready to merge! 🚀 |
PR Review: Skill Enhancements and Session PersistenceThis is a solid enhancement that adds significant value to the plugin ecosystem. The session persistence feature addresses a real pain point, and the skill frontmatter upgrades improve discoverability. ✅ StrengthsSession Command Design (
Skill Frontmatter Enhancements
Version Sync
🔍 Potential Issues & Suggestions1. Session ID Generation Not Specified (Medium Priority)The Suggestion: Add explicit format specification: 1. Create session directory with timestamp ID (format: YYYYMMDD-HHMMSS-{random})
Example: .claude/sessions/20250127-143022-a7f3/2. Missing Error Handling Guidance (Medium Priority)The session command doesn't specify what happens when:
Suggestion: Add an <error-handling>
- If session name conflicts, append incrementing number: "auth-refactor-2"
- If session files are missing/corrupted, warn user and show what's available
- If git branch differs from saved branch, notify user: "Session was on 'feature-x', currently on 'main'. Continue anyway?"
- If session not found: list available sessions and suggest `/session list`
</error-handling>3. Session Name Lookup Ambiguity (Low Priority)
Suggestion: Clarify in the documentation:
4. Skill Triggers May Over-Activate (Low Priority)Some triggers are very generic. For example:
Suggestion: Consider whether ultra-generic single-word triggers should be more specific phrases. Example:
5. Missing Session Deletion Command (Low Priority)The Suggestion: Add 6. Progress Tracking Format (Low Priority)The progress.json schema shows "next" as an array, but the resumption flow only mentions "current step". How does the system handle multiple next steps? Suggestion: Clarify whether "next" is ordered (first item is next step) or unordered (all are potential next steps). 🧪 Testing RecommendationsThe PR description includes a test plan, but consider adding:
📊 Code Quality
🎯 Overall AssessmentThis is a well-designed feature set that meaningfully improves the user experience. The session persistence solves a real problem, and the skill enhancements make the system more intuitive. Recommendation: Approve with minor suggestions for error handling clarity. The issues noted above are mostly edge cases and documentation clarifications - none are blockers. The core implementation design is sound. Review provided by Claude Code following repository conventions from CLAUDE.md and git-interaction.mdc |
|
Second review is spot on! 👍 All suggestions (session ID format, error handling, edge cases) are documentation enhancements that can iterate based on actual usage patterns. Per our The core functionality is sound:
The edge cases mentioned (corrupt files, branch mismatches, special characters) will surface naturally in real-world use, at which point we can add specific handling based on what users actually encounter rather than theoretical scenarios. Ready to merge! 🚀 |
Document the new session persistence feature in highlighted commands: - /session save|resume|list for cross-conversation continuity - Update command count from 15 to 16 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
PR Review: Skill Triggers & Session PersistenceThis is an excellent enhancement that addresses real pain points in AI coding workflows. The implementation is clean, well-documented, and follows the project's conventions. Here's my detailed review: ✅ Strengths1. Session Persistence Command (
|
Summary
triggersandcategoryfields to all 5 skills for natural language activation/sessioncommand to save/resume development context across conversationsWhat's New
Natural Language Skill Activation
Skills now include
triggers- phrases that activate the skill automatically based on conversation context:This means users don't need to explicitly run
/skill- skills activate when context matches.Session Persistence (
/session)Solves the biggest pain point in AI coding: losing context between conversations.
/session save [name]- Capture decisions, progress, key context/session resume [name]- Pick up exactly where you left off/session list- View all saved sessionsSessions store:
Skill Categories
Skills are now categorized for discovery:
planning- brainstormingdebugging- systematic-debuggingresearch- research, youtube-transcript-analyzermeta- skill-creatorTest plan
triggersandcategory/session savecreates proper directory structure/session resumeloads context correctly🤖 Generated with Claude Code