Skip to content
This repository was archived by the owner on Dec 27, 2025. It is now read-only.

docs: Document PostToolUse hook limitation and skill-based workaround#2

Merged
a3fckx merged 2 commits intomainfrom
docs/posttooluse-limitation-tracking
Nov 21, 2025
Merged

docs: Document PostToolUse hook limitation and skill-based workaround#2
a3fckx merged 2 commits intomainfrom
docs/posttooluse-limitation-tracking

Conversation

@a3fckx
Copy link
Copy Markdown
Contributor

@a3fckx a3fckx commented Nov 21, 2025

User description

Summary

Documents the PostToolUse hook limitation discovered during v1.2.0 testing and establishes the git-memory-tracker skill as the recommended workaround.

Changes

Documentation Added

  • KNOWN_ISSUES.md - Comprehensive analysis of PostToolUse limitation

    • Root cause investigation
    • Evidence from testing
    • Workaround documentation
    • Future resolution paths
  • GitHub Issue Template - .github/ISSUE_TEMPLATE/posttooluse-hooks.md

    • Detailed issue description for community tracking
    • Steps to reproduce
    • Environment details
    • Proposed solutions

Code Updates

  • scripts/analyze-commits.sh - Updated header comments

    • Clarifies manual-only invocation
    • References git-memory-tracker skill
    • Removes misleading "hook" language
  • skills/git-memory-tracker/SKILL.md - Enabled proactive mode

    • Set proactive: true in frontmatter
    • Added proactive trigger note
    • Claude will suggest tracking when appropriate

Testing Discovery

During v1.2.0 testing, we discovered:

What Doesn't Work ❌

  • PostToolUse hooks with matcher: "Bash" never fire
  • Attempted automatic commit tracking via hooks
  • Debug logging confirmed no hook execution

What Does Work ✅

  • PreToolUse hooks (file tracking via track-changes.sh)
  • SessionStart/SessionEnd hooks
  • PreCompact hooks
  • Manual commit tracking via git-memory-tracker skill

Workaround: Skill-Based Tracking

The git-memory-tracker skill provides a better solution:

User triggers:

"Track this commit"
"Analyze my last 5 commits"
"What did I work on today?"

Advantages over automatic hooks:

  • ✅ Explicit user control (know what's being tracked)
  • ✅ Batch operations (track 5, 10, N commits at once)
  • ✅ Retroactive analysis (analyze old commits anytime)
  • ✅ Works for merges, rebases, cherry-picks
  • ✅ Immediate feedback to user

Impact

Severity: Medium (workaround available)

Users are NOT blocked:

  • File tracking works automatically
  • Commit tracking works manually via skill
  • All other features work as expected

Session counter tracking:

Before: MEMORY_COMMITS_COUNT stayed at 0
After:  MEMORY_COMMITS_COUNT increments with skill usage ✅

Why Document Instead of Remove?

  1. Hook infrastructure may work in future Claude Code versions
  2. Script is functional - works perfectly when called manually
  3. Marketplace installation might enable PostToolUse
  4. Community can investigate and contribute solutions
  5. Skill-based approach is arguably better UX

Related Commits

  • e6bf8db - hotfix: remove test files and document PostToolUse limitations
  • 86c2491 - feat: add git-memory-tracker skill for manual commit analysis
  • 688ce47 - docs: document PostToolUse hook limitation (this PR)

Testing

Verified:

  • ✅ analyze-commits.sh works manually
  • ✅ git-memory-tracker skill successfully tracks commits
  • ✅ MEMORY_COMMITS_COUNT increments correctly
  • ✅ Memory Store records commit metadata
  • ✅ Proactive skill mode enabled

Checklist

  • KNOWN_ISSUES.md created with comprehensive analysis
  • GitHub issue template created
  • Script headers updated for clarity
  • Skill enabled in proactive mode
  • Tested manual commit tracking
  • Session counter verified working

Recommendation: Merge this to establish clear documentation of the limitation and promote the skill-based workaround as the canonical solution.

🤖 Generated with Claude Code


PR Type

Documentation


Description

  • Documents PostToolUse hook limitation discovered in v1.2.0 testing

  • Establishes git-memory-tracker skill as recommended workaround

  • Creates GitHub issue template for community tracking

  • Enables proactive mode for skill-based commit tracking


Diagram Walkthrough

flowchart LR
  A["PostToolUse Hook<br/>Limitation"] -->|"Document in"| B["KNOWN_ISSUES.md"]
  A -->|"Create template"| C["GitHub Issue<br/>Template"]
  A -->|"Update script"| D["analyze-commits.sh<br/>Header"]
  E["git-memory-tracker<br/>Skill"] -->|"Enable proactive"| F["Skill-based<br/>Workaround"]
  B --> G["Clear Documentation<br/>& Guidance"]
  C --> G
  D --> G
  F --> G
Loading

File Walkthrough

Relevant files
Documentation
KNOWN_ISSUES.md
Comprehensive PostToolUse limitation documentation             

KNOWN_ISSUES.md

  • New file documenting PostToolUse hook limitation with root cause
    analysis
  • Details impact on automatic commit tracking and available workarounds
  • Lists working vs non-working hook types with evidence
  • Recommends git-memory-tracker skill as the canonical solution
+98/-0   
posttooluse-hooks.md
GitHub issue template for hook limitation tracking             

.github/ISSUE_TEMPLATE/posttooluse-hooks.md

  • New GitHub issue template for PostToolUse hook limitation
  • Includes reproduction steps, environment details, and investigation
    results
  • Documents working vs non-working hooks with evidence
  • Provides workaround instructions and proposed solutions
+168/-0 
analyze-commits.sh
Clarify script as manual skill invocation only                     

scripts/analyze-commits.sh

  • Updated header comments to clarify manual-only invocation via skill
  • Removed misleading "hook" language and references to automatic
    execution
  • Added usage documentation with user trigger examples
  • Clarified that PostToolUse hooks are not supported in current Claude
    Code
+12/-7   
Enhancement
SKILL.md
Enable proactive mode for skill-based tracking                     

skills/git-memory-tracker/SKILL.md

  • Enabled proactive mode by setting proactive: true in frontmatter
  • Added proactive trigger note encouraging Claude to suggest tracking
  • Establishes skill as the recommended approach for commit tracking
+3/-1     

Summary by CodeRabbit

  • Documentation

    • Added known-issues guidance documenting PostToolUse hooks not firing for Bash and a manual workaround; added an issue template for hook reports.
  • Features

    • Enabled proactive mode and updated usage guidance for Git Memory Tracker and several assistant skills to offer more proactive suggestions.
  • Scripts

    • Improved commit-analysis script input handling and JSON sanitization for more reliable manual invocation and logging.

✏️ Tip: You can customize this high-level summary in your review settings.


Important

Documents PostToolUse hook limitation and recommends git-memory-tracker skill as a workaround, with updates to documentation and code.

  • Documentation:
    • Adds KNOWN_ISSUES.md detailing PostToolUse hook limitation and workaround using git-memory-tracker skill.
    • Introduces .github/ISSUE_TEMPLATE/posttooluse-hooks.md for community issue tracking.
  • Code Updates:
    • Updates scripts/analyze-commits.sh to clarify manual invocation and remove misleading hook references.
    • Enables proactive mode in skills/git-memory-tracker/SKILL.md to suggest commit tracking.

This description was created by Ellipsis for 7d6e33c. You can customize this summary. It will automatically update as commits are pushed.

- Add KNOWN_ISSUES.md with comprehensive PostToolUse analysis
- Create GitHub issue template for PostToolUse limitation
- Update analyze-commits.sh header to clarify manual-only usage
- Enable proactive mode for git-memory-tracker skill
- Clarify that skill-based approach is the recommended workaround

This documents the discovery that PostToolUse hooks don't fire in
Claude Code, and that the git-memory-tracker skill is the working
alternative. The skill provides better UX anyway (explicit control,
batch tracking, retroactive analysis).

Related: Testing in v1.2.0 revealed PostToolUse never triggers

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Nov 21, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

Documents a limitation where PostToolUse hooks with matcher "Bash" do not fire; adds templates and KNOWN_ISSUES, updates scripts/analyze-commits.sh with JSON-escaping and stdin handling for manual invocation, and flips several skills to proactive mode while updating their docs.

Changes

Cohort / File(s) Summary
Issue template & Known issues
.github/ISSUE_TEMPLATE/posttooluse-hooks.md, KNOWN_ISSUES.md
New documentation describing PostToolUse (Bash) not firing, reproduction steps, investigation/theories, impact, and a manual workaround using the git-memory-tracker skill.
Commit analysis script
scripts/analyze-commits.sh
Added json_escape utility for safe JSON payloads; changed stdin handling to ignore non-TTY input and updated comments to reflect manual invocation via the git-memory-tracker skill.
Skills documentation/config
skills/git-memory-tracker/SKILL.md, skills/anchor-suggester/SKILL.md, skills/memory-auto-track/SKILL.md, skills/memory-context-retrieval/SKILL.md
Set proactive: true for multiple skills and revised their descriptive headers/usage guidance to emphasize proactive/manual invocation patterns and scenarios.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  participant Dev as Developer (runs git commit)
  participant Shell as Bash Hook (PostToolUse)
  participant Skill as git-memory-tracker Skill
  participant Script as scripts/analyze-commits.sh
  participant Store as Memory Store

  rect rgb(255,245,230)
    note right of Shell: Expected flow (not firing for Bash)
    Dev->>Shell: git commit (PostToolUse)
    Shell-->>Dev: (no firing / no input)
  end

  rect rgb(230,255,245)
    note right of Skill: Manual/workaround flow (works)
    Dev->>Skill: invoke git-memory-tracker (manual or proactive)
    Skill->>Script: run analyze-commits.sh (stdin or args)
    Script->>Store: send sanitized JSON (json_escape)
    Store-->>Skill: confirm/store entries (MEMORY_COMMITS_COUNT++)
  end
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

  • Attention areas:
    • scripts/analyze-commits.sh json escaping correctness and cross-shell portability.
    • Skill proactive flag changes — ensure behavior matches runtime expectations and docs.
    • Accuracy and clarity of reproduction steps and KNOWN_ISSUES wording.

Possibly related PRs

Suggested labels

Review effort 4/5

Poem

🐰 I nudged a hook that couldn't leap at night,
So I scribbled steps and made the workaround bright.
With escapes for JSON and proactive cheer,
Commits find their way to memory here —
Hopping along, I track each little byte.

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the primary purpose of the PR: documenting a PostToolUse hook limitation and the skill-based workaround. It is specific, concise, and directly reflects the main changes across all modified files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 688ce47 and 7d6e33c.

📒 Files selected for processing (4)
  • skills/anchor-suggester/SKILL.md (1 hunks)
  • skills/git-memory-tracker/SKILL.md (1 hunks)
  • skills/memory-auto-track/SKILL.md (1 hunks)
  • skills/memory-context-retrieval/SKILL.md (1 hunks)

Comment @coderabbitai help to get the list of available commands and usage tips.

@qodo-free-for-open-source-projects
Copy link
Copy Markdown

qodo-free-for-open-source-projects Bot commented Nov 21, 2025

PR Compliance Guide 🔍

Below is a summary of compliance checks for this PR:

Security Compliance
🟢
No security concerns identified No security vulnerabilities detected by AI analysis. Human verification advised for critical code.
Ticket Compliance
🎫 No ticket provided
  • Create ticket/issue
Codebase Duplication Compliance
Codebase context is not defined

Follow the guide to enable codebase context checks.

Custom Compliance
🟢
Generic: Comprehensive Audit Trails

Objective: To create a detailed and reliable record of critical system actions for security analysis
and compliance.

Status: Passed

Learn more about managing compliance generic rules or creating your own custom rules

Generic: Meaningful Naming and Self-Documenting Code

Objective: Ensure all identifiers clearly express their purpose and intent, making code
self-documenting

Status: Passed

Learn more about managing compliance generic rules or creating your own custom rules

Generic: Robust Error Handling and Edge Case Management

Objective: Ensure comprehensive error handling that provides meaningful context and graceful
degradation

Status: Passed

Learn more about managing compliance generic rules or creating your own custom rules

Generic: Secure Error Handling

Objective: To prevent the leakage of sensitive system information through error messages while
providing sufficient detail for internal debugging.

Status: Passed

Learn more about managing compliance generic rules or creating your own custom rules

Generic: Secure Logging Practices

Objective: To ensure logs are useful for debugging and auditing without exposing sensitive
information like PII, PHI, or cardholder data.

Status: Passed

Learn more about managing compliance generic rules or creating your own custom rules

Generic: Security-First Input Validation and Data Handling

Objective: Ensure all data inputs are validated, sanitized, and handled securely to prevent
vulnerabilities

Status: Passed

Learn more about managing compliance generic rules or creating your own custom rules

  • Update
Compliance status legend 🟢 - Fully Compliant
🟡 - Partial Compliant
🔴 - Not Compliant
⚪ - Requires Further Human Verification
🏷️ - Compliance label

@qodo-free-for-open-source-projects
Copy link
Copy Markdown

qodo-free-for-open-source-projects Bot commented Nov 21, 2025

PR Code Suggestions ✨

No code suggestions found for the PR.

Copy link
Copy Markdown

@ellipsis-dev ellipsis-dev Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important

Looks good to me! 👍

Reviewed everything up to 688ce47 in 1 minute and 37 seconds. Click for details.
  • Reviewed 333 lines of code in 4 files
  • Skipped 0 files when reviewing.
  • Skipped posting 4 draft comments. View those below.
  • Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. .github/ISSUE_TEMPLATE/posttooluse-hooks.md:166
  • Draft comment:
    Consider adding a reference/link to KNOWN_ISSUES.md for additional context on the PostToolUse limitation.
  • Reason this comment was not posted:
    Comment did not seem useful. Confidence is useful = 0% <= threshold 50% The comment suggests adding a reference to a documentation file for additional context. This is a purely informative comment and does not provide a specific code suggestion or highlight a potential issue with the code itself. It violates the rule against making purely informative comments.
2. KNOWN_ISSUES.md:90
  • Draft comment:
    Replace the placeholder '[Create GitHub issue for this]' with an actual URL or reference if available.
  • Reason this comment was not posted:
    Decided after close inspection that this draft comment was likely wrong and/or not actionable: usefulness confidence = 10% vs. threshold = 50% This comment is essentially asking the author to either create a GitHub issue right now or remove the placeholder. However, the placeholder is clearly intentional - it's a documentation file tracking known issues, and the author may want to merge this first before creating the issue, or may want to leave it as a TODO. The comment doesn't identify a bug or problem with the code - it's just suggesting the author do more work. This falls under "Do NOT comment unless there is clearly a code change required" and "Do NOT make comments that are obvious or unimportant." The author clearly knows this is a placeholder and can decide when/if to create the issue. The placeholder might actually be problematic if this documentation is meant to be user-facing, as it looks unprofessional. The comment could be seen as a reasonable suggestion to clean up the documentation before merging. While the placeholder might look unprofessional, this is a KNOWN_ISSUES.md file that appears to be internal documentation. The author clearly left this as a TODO intentionally, and it's their decision whether to create the issue before or after merging. The comment is not identifying a bug or required code change - it's just suggesting additional work that the author may have already planned. This comment should be deleted. It's asking the author to do additional work (create a GitHub issue or remove the placeholder) that isn't a required code change. The placeholder is clearly intentional, and the author can decide when to address it.
3. scripts/analyze-commits.sh:96
  • Draft comment:
    The call to 'log' is undefined. Consider replacing it with 'echo' or defining a logging function.
  • Reason this comment was not posted:
    Comment was not on a location in the diff, so it can't be submitted as a review comment.
4. skills/git-memory-tracker/SKILL.md:2
  • Draft comment:
    Good update: proactive mode is now enabled and documentation is comprehensive.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None

Workflow ID: wflow_nlniG4uZc1JGN8FY

You can customize Ellipsis by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (1)
skills/git-memory-tracker/SKILL.md (1)

112-129: Clarify MCP tool invocation syntax consistency.

The examples show two different invocation styles: piped JSON (line 112–117) and inline JavaScript object syntax (line 124–129). The actual script in analyze-commits.sh (line 164) uses the piped format. To avoid confusion, either unify the examples or clearly note that these are pseudo-code patterns. The inline JavaScript syntax at line 124 may mislead readers into thinking it's executable shell code.

Consider updating lines 124–129 to match the actual pipe-based invocation shown in analyze-commits.sh:

 ### Step 3: Create Summary
 
 After analyzing all commits, create a summary memory:
 
-```javascript
-mcp__memory-store__record({
-  "memory": "Feature branch merged: <branch-name> with <N> commits",
-  "background": "Commits: <list>. Total files changed: <count>. Date range: <start> to <end>",
-  "importance": "high"
-})
-```
+```bash
+mcp__memory-store__record '{
+  "memory": "Feature branch merged: <branch-name> with <N> commits",
+  "background": "Commits: <list>. Total files changed: <count>. Date range: <start> to <end>",
+  "importance": "high"
+}' | claude mcp call memory-store record
+```
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 86c2491 and 688ce47.

📒 Files selected for processing (4)
  • .github/ISSUE_TEMPLATE/posttooluse-hooks.md (1 hunks)
  • KNOWN_ISSUES.md (1 hunks)
  • scripts/analyze-commits.sh (2 hunks)
  • skills/git-memory-tracker/SKILL.md (1 hunks)
🔇 Additional comments (10)
skills/git-memory-tracker/SKILL.md (2)

1-9: Proactive mode enabled correctly.

The YAML frontmatter and banner clearly signal proactive mode, aligning with the PR objective to encourage manual commit tracking when appropriate.


41-357: Excellent comprehensive skill documentation.

The documentation is well-structured, with clear use-case guidance, practical examples, error handling, and testing instructions. The integration section effectively contextualizes the skill within the larger system. This provides users with both quick-start guidance and advanced usage patterns.

KNOWN_ISSUES.md (1)

1-96: Well-structured known issues documentation.

The documentation clearly articulates the PostToolUse hook limitation, provides evidence-based root cause analysis, distinguishes between working and non-working hook types, and presents a practical workaround. The Medium severity rating is appropriate given that the workaround (git-memory-tracker skill) provides full manual functionality. The metadata and version range align with the PR context (v1.2.0 testing).

scripts/analyze-commits.sh (4)

2-10: Header comments clearly document manual invocation model.

The updated header accurately reflects the shift from automatic hook-based execution to manual invocation via the git-memory-tracker skill. The reference to the skill documentation and explanation of why hooks aren't used provides context.


14-28: JSON escaping utility is robust and cross-platform.

The json_escape function uses awk for portability and correctly escapes all essential JSON special characters (backslash, quote, newline, tab, carriage return). This prevents command injection and ensures safe payload construction even with user input or commit messages containing special characters.


30-36: Stdin handling aligns with manual invocation model.

The stdin discard logic (lines 33–36) prevents accidental pipeline contamination and is consistent with the documented shift from hook-based to manual invocation. This is a reasonable defensive measure for manual script execution.


148-176: JSON payload construction with escaping is secure.

The script correctly applies json_escape to both COMMIT_SUMMARY and BACKGROUND_CONTEXT before interpolation into the JSON payload, preventing injection vulnerabilities. The MCP invocation uses piped JSON with appropriate error filtering, and the output JSON includes informational context for the user.

.github/ISSUE_TEMPLATE/posttooluse-hooks.md (3)

1-80: Comprehensive issue template with clear reproduction steps.

The template effectively documents the PostToolUse hook limitation, provides actionable reproduction steps with debug logging, and clearly distinguishes between working (SessionStart, SessionEnd, PreToolUse, PreCompact, Notification) and non-working (PostToolUse with Bash) hooks. The environment section requests appropriate context for investigation.


82-136: Investigation guidance and proposed solutions are well-reasoned.

The theories presented (PostToolUse not implemented, marketplace vs local plugin differences, async execution) are plausible and guide future investigation. The three proposed solutions (enable PostToolUse support, alternative hook mechanisms, document skill-based approach) represent realistic resolution paths. The current workaround section effectively communicates benefits of the manual approach.


137-168: Impact assessment and documentation are accurate and well-coordinated.

The Medium severity rating aligns with KNOWN_ISSUES.md, and the impact summary correctly identifies what still works (file tracking, session tracking, manual commit tracking). Cross-references to related files (KNOWN_ISSUES.md, analyze-commits.sh, SKILL.md) are consistent with the broader PR changes and help users find additional documentation.

Based on research showing skills activate only 20% of the time with vague
descriptions, updated all skill frontmatter with specific trigger words and
use cases to improve activation reliability.

Changes:
- git-memory-tracker: Added triggers 'track this commit', 'analyze commits'
- memory-auto-track: Added triggers 'how did we', 'what patterns'
- memory-context-retrieval: Added triggers 'who worked on', 'show me previous'
- anchor-suggester: Added triggers 'add anchors', 'document this code'
- Enabled proactive: true on all skills

Research shows specific trigger words in descriptions can improve activation
from 20% baseline to 80-84% success rate.

References:
- https://scottspence.com/posts/how-to-make-claude-code-skills-activate-reliably
- Claude Code skills documentation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Copy link
Copy Markdown

@ellipsis-dev ellipsis-dev Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important

Looks good to me! 👍

Reviewed 7d6e33c in 48 seconds. Click for details.
  • Reviewed 53 lines of code in 4 files
  • Skipped 0 files when reviewing.
  • Skipped posting 4 draft comments. View those below.
  • Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. skills/anchor-suggester/SKILL.md:1
  • Draft comment:
    Updated description is more detailed and clarifies use cases. The removal of the 'trigger: conversational' field in favor of 'proactive: true' seems intentional, but ensure this aligns with the intended activation mechanism.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None
2. skills/git-memory-tracker/SKILL.md:1
  • Draft comment:
    The revised description now clearly outlines when and how to use the skill. This makes the usage scenarios more explicit and user-friendly.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None
3. skills/memory-auto-track/SKILL.md:1
  • Draft comment:
    The updated description provides a more comprehensive explanation of when the memory auto-track skill should be invoked, which improves clarity and consistency.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None
4. skills/memory-context-retrieval/SKILL.md:1
  • Draft comment:
    The new description and inclusion of 'proactive: true' simplify the skill definition. Note that the removal of the 'capabilities' field should be verified to not affect any downstream integrations if they rely on that metadata.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None

Workflow ID: wflow_oEXUtRvhmC359tJq

You can customize Ellipsis by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.

@a3fckx
Copy link
Copy Markdown
Contributor Author

a3fckx commented Nov 21, 2025

Update: Skill Activation Improvements Added

Based on research showing Claude Code skills activate only 20% of the time with vague descriptions, I've improved all skill descriptions with specific trigger words:

Changes in latest commit (7d6e33c):

  • git-memory-tracker: Added triggers "track this commit", "analyze commits"
  • memory-auto-track: Added triggers "how did we", "what patterns"
  • memory-context-retrieval: Added triggers "who worked on", "show me previous"
  • anchor-suggester: Added triggers "add anchors", "document this code"
  • ✅ All skills now have proactive: true

Expected improvement: 20% → 80-84% activation success rate

References:

Related Issue

Created issue #3 to track the PostToolUse limitation separately.

Ready for review! This PR now includes:

  1. PostToolUse limitation documentation
  2. Skill-based workaround
  3. Improved skill activation rates

@a3fckx a3fckx merged commit 7d6e33c into main Nov 21, 2025
3 of 4 checks passed
a3fckx added a commit that referenced this pull request Nov 21, 2025
…tion

Closes #3

This PR documents the PostToolUse hook limitation discovered during
v1.2.0 testing and improves skill activation from 20% to 80-84%.

Changes:
- Add KNOWN_ISSUES.md with PostToolUse analysis
- Create GitHub issue template
- Update analyze-commits.sh documentation
- Improve all skill descriptions with trigger words
- Add CONTRIBUTING.md with branch workflow
- Enable proactive mode on all skills

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant