Files
documenso/.opencode/skill/create-scratch/SKILL.md
T
Lucas Smith 960217c78d build: migrate from npm to pnpm with workspace catalogs
- Switch package manager to pnpm 10 via corepack
- Add pnpm-workspace.yaml with 54+ shared dependency catalogs
- Convert all workspace packages to catalog: and workspace:* protocols
- Upgrade Turborepo from 1.x to 2.8.12 (pipeline -> tasks)
- Upgrade apps/openpage-api from Next 15 to Next 16
- Update Docker, CI workflows, and GitHub Actions for pnpm
- Convert patch file to pnpm native format
- Replace deprecated next lint with standalone eslint
- Update all documentation references from npm to pnpm
- Fix stale dependabot config and documentation paths
2026-03-06 14:28:12 +11:00

1.2 KiB

name, description, license, compatibility, metadata
name description license compatibility metadata
create-scratch Create a new scratch file in .agents/scratches/ with a unique three-word ID, frontmatter, and formatted title MIT opencode
audience workflow
agents exploration

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:

pnpm exec tsx scripts/create-scratch.ts "note-name" "Scratch content here"

Or use heredoc for multi-line content:

pnpm exec 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:

---
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.