Copy Skill Files

PreviousNext

How Copy Skill Files curates critical implementation files, formats them for AI tools, and speeds up iteration in Cursor or Claude.

Copy skill files is the fastest way to give an AI assistant the exact implementation context for a pattern.

What is copied

The feature reads meta.criticalFilesToCopy for a pattern and only includes files that matter most for changes:

  • core AI logic
  • orchestration and routing files
  • tool definitions and schemas
  • key UI integration files

Each selected file also includes an instructionsForAI note so the assistant knows what to focus on.

Output format

The copied payload is structured markdown:

  1. Pattern title and description
  2. ## Skill Files
  3. For each file:
    • ### <path>
    • a short instruction block
    • a fenced code block with full file content

This format is intentional: it works well in Cursor, Claude, and other AI interfaces.

Where it is implemented

  • Main behavior: components/block-viewer.tsx
  • Gated public UI and upgrade prompt: components/public-block-viewer.tsx
  • Intro dialog copy: components/copy-skill-files-dialog.tsx

How to use it effectively

  1. Open a pattern page.
  2. Click Copy skill files.
  3. Paste into your AI tool.
  4. Ask for a scoped change, for example:
    • "Refactor tool execution error handling only."
    • "Add retry logic without changing UI behavior."
    • "Split this file into smaller modules, preserve API."

Access model

  • Free patterns: available.
  • Pro patterns: full access for Pro/Premium entitlements.
  • Locked public surfaces show upgrade prompts instead of file payload copying.

Best practices

  • Keep prompts narrow and outcome-focused.
  • Ask the AI to preserve external interfaces unless you request API changes.
  • Never include secrets in pasted context.