create-scratch

Create markdown scratch files with unique three-word IDs and frontmatter.

14.3k|3.0k|Updated Mar 12, 2023
One-click install
npx skills add https://github.com/documenso/documenso --skill create-scratch-documenso
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-scratch
Source: https://github.com/documenso/documenso/tree/main/.agents/skills/create-scratch
Command: npx skills add https://github.com/documenso/documenso --skill create-scratch-documenso

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill removes the friction of creating temporary notes by automatically generating collision-free filenames and adding consistent frontmatter so developers and agents can store exploratory content without manual naming or metadata work.

Core Features & Use Cases

  • Unique three-word IDs: Prevents filename collisions by prefixing slugs with a human-readable three-word identifier.
  • Structured frontmatter: Inserts date and a formatted title to make notes searchable and consistent across workflows.
  • Use Case: Ideal for agent-driven experiments, developer scratchpads, and temporary documentation where many files are created rapidly.

Quick Start

Run the create-scratch script with a slug and content to create a new markdown scratch file with a unique three-word ID, date frontmatter, and the provided content.

Frequently Asked Questions about create-scratch

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

FAQPage Schema
How do I create scratch markdown files with unique filenames for agent workflows?

Creating scratch markdown files with unique filenames is handled by automatically generating a three-word ID and a slug-based filename. This prevents collisions and adds structured date and title frontmatter for developer exploration tasks.

Can I pass content via command-line arguments or heredoc when creating temporary notes?

Yes, you can pass content via command-line arguments or heredoc when creating temporary notes. The script accepts both input methods to insert your provided text alongside the automatically generated date and title frontmatter in the markdown file.

What is the best way to prevent filename collisions when generating rapid developer scratchpads?

Preventing filename collisions when generating developer scratchpads is achieved by prefixing slugs with a unique three-word identifier. This approach ensures each temporary note has a distinct, human-readable filename without requiring manual naming efforts.

Does this scratch file creation tool add structured metadata frontmatter automatically?

Yes, this scratch file creation tool adds structured metadata frontmatter automatically. It inserts the creation date and a formatted title into each markdown file, making temporary documentation and experiment logs searchable and consistent across local workflows.

Are there limitations to using three-word IDs for temporary documentation in local agent experiments?

A limitation of using three-word IDs for temporary documentation is the lack of custom naming control, as filenames are automatically generated. This approach is optimized for rapid, collision-free logging rather than highly specific, manually curated file naming conventions.