incorporate-snippets

Official

Add clean, searchable code snippets instantly

Authorsandgardenhq
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Adding new code snippets to the sgai_find_snippets library can be error‑prone when files lack proper frontmatter, use invalid filenames, or miss comprehensive comments, leading to retrieval issues.

Core Features & Use Cases

  • Gather snippet details: prompts for language, name, description, usage context, and code.
  • Validate and sanitize: ensures required fields, converts filenames to kebab‑case, checks syntax per language, and resolves name conflicts.
  • Save with proper format: writes frontmatter and code to sgai/snippets/{language}/ with correct extension and extensive comments.

Quick Start

Ask the skill to add a new Python snippet that parses JSON strings.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: incorporate-snippets
Download link: https://github.com/sandgardenhq/sgai/archive/main.zip#incorporate-snippets

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.