Skip to main content
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.
  1. Open your IDE and your coding assistant in agentic mode.
  2. For this demo, we will create a language-agnostic standard. (You can also target a specific language or framework.)
  3. Type this command:
Or use a natural language prompt:

How it works

The AI agent will automatically follow the standard creation workflow which guides it through:
  1. Understanding your request - The agent clarifies what standard you want to create and gathers appropriate context from your codebase
  2. Drafting the standard - The agent creates a draft with name, description, and rules, iterating with you for feedback
  3. Finalization - Once you’re satisfied, the agent validates and creates the standard in Packmind
Your new standard will be available in the Packmind web app, in the Standards panel.
The workflow ensures consistent, high-quality standards by guiding the AI through best practices. You can provide feedback at any step, and the agent will refine the standard before submitting it.

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

  1. Open your coding agent (e.g., Claude Code)
  2. Type /packmind-create-standard to invoke the skill
  3. Describe the standard you want to create
The agent will guide you through:
  1. Understanding your needs — Clarifying what problem the standard solves and where it applies
  2. Writing rules — Helping you craft clear, actionable rules following best practices
  3. Creating the playbook — Generating a JSON file with your standard definition
  4. Review — Showing you the complete standard for approval
  5. Submission — Creating the standard via the CLI
The skill workflow is interactive and iterative. The agent will ask clarifying questions and help you refine your rules before creating the standard.

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 a content 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.
Use the CLI directly when you have standards defined as files in your repository or want to automate standard creation. Stdin support makes it easy to pipe JSON from scripts or AI agents. See CLI: Standards Command for more details.

Create a standard from the web app

  1. Go to the Standards panel.
  2. Click to create a new standard.
  3. 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