Why Standards Matter with AI Agents
Standards are one of three artifact types in Packmind, alongside commands and skills. Context engineering is key to making the most of AI coding assistants. Standards are guidelines that drive the output of agents, ensuring they generate code that follows your team’s conventions and best practices. Many teams struggle with documentation that nobody reads or maintains—wikis and Markdown files that become outdated quickly. With AI coding assistants, this problem becomes even more critical. Standards make your written documentation useful again by providing consistent, actionable guidance that AI agents can follow automatically.Understand Standards and Rules
A standard is an agreed-upon, documented set of rules or criteria that ensures consistent, compatible, and high-quality code across your team. Here is a basic example of standard:Example: Back-end unit tests
Example: Back-end unit tests
Standard: Back-end unit testsRules for this standard:
- Use assertive names in test names (
it("returns ..."instead ofit("should return"))) - Structure tests with the AAA pattern
- Single expect per test
Create Standards with AI Agents
You can create standards using the/packmind-create-standard command in your AI coding assistant.
Simply type:
- Gather context from your codebase and iterate with you on the draft
- Create the standard with rules and code examples
Create Standards Through UI
Go in the Standards menu and create your first standard. The description area supports Markdown so you can give more context about it. Add your first rules, ideally with one clear detailed sentence. The scope let you define files and folders patterns where the standard applies. For instance, you may want to use**/*.spec.ts if your standards is related to tests.
You can update your standard later to add and remove rules. Each rule can be documented with code examples as well.
Standards Versions
Every time you update a standard, this creates a new version. This keeps track of the history of your changes, and it’s useful to keep track of which versions are currently distributed to Git repositories.CLI update support — The CLI currently allows creating standards but not
yet updating them. You can update standards through the web app. CLI support
for updating standards is coming in Q1 2026.