A standard is an agreed-upon, documented set of rules or criteria that ensures consistent, compatible, and high-quality results across people, systems, or products.Aligning a team on standards—and following them—is hard. Many teams end up with wikis and Markdown files that nobody reads or maintains. With AI coding assistants, this problem becomes even more critical. Let’s see how we can make written documentation useful again with Packmind.
Read more about the anatomy of a Packmind standard in the dedicated
section.
Create a standard from your codebase
You can create standards using the/packmind-create-standard command in your AI coding assistant.
- Open your IDE and your coding assistant in agentic mode.
- For this demo, we will create a language-agnostic standard. (You can also target a specific language or framework.)
- Type this command:
How it works
The AI agent will automatically follow the standard creation workflow which guides it through:- Understanding your request - The agent clarifies what standard you want to create and gathers appropriate context from your codebase
- Drafting the standard - The agent creates a draft with name, description, and rules, iterating with you for feedback
- Finalization - Once you’re satisfied, the agent validates and creates the standard in Packmind
Create a standard with a coding agent
When using a coding agent like Claude Code, you can invoke the/packmind-create-standard skill to get guided assistance through the entire standard creation process.
Using the skill
- Open your coding agent (e.g., Claude Code)
- Type
/packmind-create-standardto invoke the skill - Describe the standard you want to create
- Understanding your needs — Clarifying what problem the standard solves and where it applies
- Writing rules — Helping you craft clear, actionable rules following best practices
- Creating the playbook — Generating a JSON file with your standard definition
- Review — Showing you the complete standard for approval
- Submission — Creating the standard via the CLI
Create a standard from the CLI
You can also create standards directly using the Packmind CLI with a JSON playbook file or by piping JSON via stdin.Playbook format
The playbook file defines your standard structure:Required fields
Rule format
Each rule requires acontent field that starts with an action verb. Examples are optional but recommended.
Supported languages:
TYPESCRIPT, TYPESCRIPT_TSX, JAVASCRIPT, JAVASCRIPT_JSX, PYTHON, JAVA, GO, RUST, CSHARP, and more.
Create a standard from the web app
- Go to the Standards panel.
- Click to create a new standard.
- Fill in the following fields:
- Name — a short title that explains the topic (e.g., “Frontend code conventions”, “DDD architecture”).
- Description — context and benefits, for both coding assistants and developers.
- Rules — a list of issues to avoid and coding rules to follow so the code complies with the standard.
Example
Error Handling Standard Example
Error Handling Standard Example