Tutorial
Mastering Dotpack: A Guide to Custom AI Commands
Stop typing the same prompts over and over. Unlock the full potential of your AI coding assistant with Dotpack’s specialized custom commands for content, SEO, and design.
You’ve installed Dotpack. You’ve set up your environment. You’re ready to code.
But if you’re only using standard requests like “fix this bug” or “write a function,” you’re barely scratching the surface. The real power of Dotpack lies in its Custom Commands—pre-engineered workflows designed to handle complex tasks with a single line of text.
In this guide, we’ll walk through the most powerful commands available in Dotpack and how to use them to supercharge your productivity.
What Are Custom Commands?
Think of custom commands as shortcuts for complex prompt engineering. Instead of spending 10 minutes crafting a perfect prompt to get an SEO-optimized blog post, you just type /write:blog. Dotpack handles the rest, pulling in the right context, instructions, and formatting rules behind the scenes.
These commands are organized into categories based on what you need to achieve: Content, SEO, or Design.
Content Creation Commands
Whether you’re building a marketing site or documenting your codebase, content is king. Dotpack includes a suite of commands to generate high-quality copy instantly.
1. The Blog Post Generator
Command: /write:blog [topic]
This isn’t just a text generator. It follows a proven structure for engagement and SEO, including catchy headlines, proper subheadings, and a clear call to action.
Example: /write:blog how to implement auth in nextjs
2. Landing Page Copy
Command: /write:landing [product/service]
Need a landing page that converts? This command generates a hero section, value propositions, features list, and testimonials based on your product description.
Example: /write:landing developer tool for managing env vars
3. Social Media & Email
Commands: /write:social and /write:email
Generate thread-ready tweets, LinkedIn posts, or email drip campaigns that match your brand voice.
SEO & Strategy Commands
Writing content is one thing; getting it seen is another. Dotpack’s SEO commands help you strategize before you write.
/content:strategy: Generates a full editorial calendar and content plan based on your niche./seo:audit: Analyzes your existing content or a specific topic for SEO gaps and opportunities./seo:keywords: Performs keyword research to help you target the right search terms.
Visual Design with Nano Banana
If you’re using the Nano Banana extension, you have access to powerful image generation and editing capabilities right from your CLI.
1. Instant Icons
Command: /icon [description]
Generate clean, scalable icons for your app or website. Great for favicons, app icons, or UI elements.
Example: /icon a minimalist rocket ship, blue gradient
2. Diagrams & Patterns
Commands: /diagram and /pattern
Need a system architecture diagram? Or a seamless background pattern? These commands generate professional assets in seconds.
3. Visual Storytelling
Command: /story [plot]
Generate a sequence of consistent images to tell a story. Perfect for storyboards or illustrated guides.
How to Create Your Own
The best part about Dotpack is that it’s extensible. You can define your own commands in the .dotpack/commands directory. Just create a new markdown file, define the trigger and workflow, and Dotpack will make it available across all your supported AI tools.
For example, you could create a /test:e2e command that specifically writes Cypress tests for your current component, following your team’s specific testing conventions.
Conclusion
Dotpack’s custom commands are more than just shortcuts—they’re a way to standardize excellence across your projects. By encoding best practices into simple commands, you ensure that every blog post, landing page, and icon meets a high standard of quality with minimal effort.
So next time you’re about to type a long, complex prompt, check if there’s a command for that. And if there isn’t? Create one.
Ready to explore the full list? Check out the documentation or type /help in your CLI.