snippet

Save code snippets into a structured Markdown file with HTML, CSS, and JavaScript sections.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/yoshida55/skills --skill snippet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: snippet
Source: https://github.com/yoshida55/skills/tree/main/snippet
Command: npx skills add https://github.com/yoshida55/skills --skill snippet

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the process of saving and formatting code snippets, ensuring consistency and easy retrieval.

Core Features & Use Cases

  • Structured Snippet Saving: Saves code snippets in a predefined Markdown format with clear sections for HTML, CSS, and JavaScript.
  • Automated Path Detection: Automatically determines the correct save location on either a company or home PC.
  • Use Case: When you encounter a useful piece of code, like a CSS animation or a JavaScript function, use this Skill to save it with a descriptive name and all necessary code blocks, ready for future reference.

Quick Start

Use the snippet skill to save the provided code.

Frequently Asked Questions about snippet

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I save code snippets into a structured Markdown file with separate HTML, CSS, and JavaScript sections?

To save code snippets into a structured Markdown format, this Skill organizes HTML, CSS, and JavaScript code blocks into distinct sections. It automatically detects your PC environment to determine the correct save location and ensures consistent naming conventions for easy retrieval.

What is the best way to format and store web development code snippets for future reference?

The best way to format and store web development code snippets is using a structured Markdown file. This Skill automatically separates HTML, CSS, and JavaScript code blocks, adds key points and explanations, and applies consistent naming conventions to ensure easy retrieval.

Can I automatically detect the correct save path for my code snippets on different computers?

Yes, you can automatically detect the correct save path for code snippets on different computers. This Skill supports automatic path detection to identify whether you are using a company or home PC, routing the saved Markdown file to the correct local directory.

Does saving code snippets in Markdown format support adding explanations and key points alongside the code?

Yes, saving code snippets in Markdown format supports adding explanations and key points alongside the code. This Skill formats the saved snippets to include descriptive names, necessary code blocks, and contextual notes for future reference.

How do I maintain consistent naming conventions when saving multiple code snippets?

To maintain consistent naming conventions when saving multiple code snippets, this Skill enforces a predefined Markdown structure. It automatically handles the file naming logic during the automated path detection process for both company and home PC environments.

What are the limitations of using a Markdown file for saving HTML, CSS, and JavaScript code blocks?

A limitation of using a Markdown file for saving HTML, CSS, and JavaScript code blocks is that it organizes snippets as static text documents rather than executable environments. It functions strictly as a formatting and storage tool without running or testing the saved code.