bundle

Bundle code and local imports into shareable GitHub Gists or markdown.

24|6|Updated Dec 19, 2025
One-click install
npx skills add https://github.com/johnlindquist/claude --skill bundle
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bundle
Source: https://github.com/johnlindquist/claude/tree/main/skills/bundle
Command: npx skills add https://github.com/johnlindquist/claude --skill bundle

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Bundle code for sharing via gists or markdown, including imports for easy code reviews.

Core Features & Use Cases

  • Create GitHub Gists from files
  • Bundle code with inline imports
  • Share demos via markdown bundles

Quick Start

Bundle a file and share as a gist: gh gist create file.ts

Frequently Asked Questions about bundle

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

FAQPage Schema
How do I bundle code with imports to share via GitHub Gist?

Bundle code with inline imports using GitHub CLI authentication to create shareable gists. The Skill automatically extracts and includes local imports in a single gist, making code reviews easier across repositories without manual dependency tracking.

Can I share code snippets as markdown instead of gists?

Yes, bundle code as markdown output for sharing in documentation or project context files. This generates CLAUDE.md-style project context bundles that preserve imports and code structure in readable markdown format.

What's required before I can create and share gists?

GitHub CLI (gh) must be installed and authenticated on your system. The Skill requires valid gh credentials to create public or private gists; without authentication, gist creation will fail.

How do I bundle multiple files into a single shareable output?

Pass multiple files to the Skill, which combines them with resolved imports into one gist or markdown bundle. You can add descriptions and choose public or private visibility for the entire multi-file bundle.

Can I bundle code from stdin or only from files?

The Skill accepts input from both files and stdin, letting you pipe code directly or reference stored files. This flexibility supports both interactive workflows and scripted automation in CI/CD pipelines.

What happens to external dependencies when I bundle code?

Only local imports are bundled inline into the output; external package dependencies are preserved as import statements. The Skill resolves relative imports within your codebase but does not vendorize third-party packages.