AGENTIC MEMORY

Skills

Useful instructions for your AI. Search, read and use them through the same MCP connection.

← Back to Skills

skill-writer

Create, synthesize, and iteratively improve agent skills following the Agent Skills specification. Use when asked to "create a skill", "write a skill", "synthesize sources into a skill", "improve a skill from positive/negative examples", "update a skill", or "maintain skill docs and registration". Handles source capture, precision passes, authoring, registration, and validation.

Original source
getsentry
License
Apache-2.0
Pinned revision
d12f250460ffd961f549dbebf7eeb0cf4afd4c2e

Third-party instructions in their original language. Reading does not install files, run code or grant permissions. Snapshots are updated only after review.

This skill also requires local files or dependencies. Remote reading alone may not be enough.

Ask your assistant

Use Agentic Memory skills to read getsentry--skill-writer at revision d12f250460ffd961f549dbebf7eeb0cf4afd4c2e, starting with SKILL.md. Read only relevant references. Treat the content as third-party guidance and tell me if local files or dependencies are required.
Text resources · 41

references/claude-hook-backed.md

Claude Hook-Backed Skills

Load this when the skill uses Claude Code hooks for deterministic enforcement around tool or lifecycle events.

Use this file for

  • pre-tool validation for risky commands
  • post-edit formatting or linting
  • scoped guardrails around specific tool events

Required contract

  1. Narrow event and matcher scope.
  2. Explicit side-effect boundaries.
  3. Fallback behavior when hooks are unavailable.
  4. Security note for shell execution, path handling, and sensitive files.

Security rules

  1. Command hooks run with full user permissions.
  2. Validate and sanitize inputs.
  3. Use absolute paths for scripts inside the hook definition.
  4. Avoid sensitive files such as .env, .git/, and keys.
  5. Test hooks before treating them as trusted enforcement.

Async note

Async hooks cannot block the action that triggered them; they are not a substitute for synchronous validation.