首页/ AI 技能 / @skilllib/skill-2117939930272412170
Skill站外收录 @skilllib/skill-2117939930272412170

create-scratch

为探索性工作流快速生成带唯一标识和结构化元数据的临时笔记文件,自动创建包含日期、格式化标题及用户内容的 Markdown 文件,适用于创意构思、技术验证等需要轻量级临时文档的场景。

0.0 (0) 28 次安装 原作者 编程导航
收录于 2026-01-22
效率工具 AI 技能

Skills.MD

## What I do I help you create new scratch files in the `.agents/scratches/` directory. Each scratch file gets: - A unique three-word identifier (e.g., `calm-teal-cloud`) - Frontmatter with the current date and formatted title - Content you provide ## How to use Run the script with a slug and content: ```bash npx tsx scripts/create-scratch.ts "note-name" "Scratch content here" ``` Or use heredoc for multi-line content: ```bash npx tsx scripts/create-scratch.ts "note-name" << HEREDOC Multi-line scratch content goes here HEREDOC ``` ## File format Files are created as: `{three-word-id}-{slug}.md` Example: `calm-teal-cloud-note-name.md` The file includes frontmatter: ```markdown --- date: 2026-01-13 title: Note Name --- Your content here ``` ## When to use me Use this skill when you need to create a temporary note, exploration document, or scratch pad for ideas. The unique ID ensures no filename conflicts, and the frontmatter provides metadata for organization.

评论 0

还没有评论,来抢沙发。