FileMaker standards packs
Learn how to define project-specific rules, author shared standards packs, and distribute pack releases. To configure an existing pack, see Configure project standards.
Project standards are evaluated in three sequential layers:
-
ADK built-in rules: Naming and architectural rules that ship with ADK. These always apply.
-
Standards pack: An optional standards plugin installed on your computer. ADK includes the
defaultpack. A project follows at most one pack. -
Project files: Local markdown files in the project's
.adk/standards/directory.
Later layers override earlier layers only for conflicting rules; non-conflicting rules from earlier layers continue to apply. When listing layers, the agent identifies built-in rules as Baseline, the standards pack as Pack, and local project files as Project.
Standards packs are installed through Claude Code. In environments without Claude Code, projects use built-in rules and local project files.
Standards apply only to new schema and reviews; existing objects are not renamed or modified.
The standards files
Standards packs and local project overrides use three markdown files:
| File | Scope | Precedence behavior |
|---|---|---|
naming.md
|
Names for tables, fields, table occurrences, layouts, scripts, custom functions, and other schema objects. | Evaluated rule by rule. Rules from all layers apply together; conflicting rules in later layers override earlier ones. |
patterns.md
|
Architectural design patterns, such as script comment headers and standard layout structures. | Evaluated section by section. A matching heading replaces the earlier section entirely. Non-matching sections remain active. |
advisory.md
|
Guidelines mentioned during code reviews but not strictly enforced during schema authoring. | Additive. Advisory items from all layers are cited during reviews. ADK built-in rules omit advisory.md. |
-
Include only files defining custom rules: Omitted files fall back to earlier layers.
-
Modify patterns completely: A section in
patterns.mdreplaces the entire matching section in earlier layers; sections are not merged. -
Script headers: To override the ADK built-in script header, use the exact heading
Script commenting headersinpatterns.md. -
Advisory guidance: Use
advisory.mdonly for non-enforced suggestions. Rules required for schema creation belong innaming.mdorpatterns.md.
checks.json is deprecated and ignored. Place custom validation rules in naming.md.
Switch off one of a pack’s files
A project can selectively disable individual files from its active pack. Prompt your agent, for example:
In this project, stop using the standards pack's advisory.md.
The agent sets "enabled": { "advisory.md": false } in adk.json. Disabling a pack file affects only that file in the pack; built-in rules and local project files remain active. See adk.json.
Change a rule for one project
Local standards files stored in .adk/standards/ override pack rules and apply immediately when saved. The project must be initialized first (see Create a project).
Prompt your agent:
Set up standards files for this project alone.
The agent runs adk standards init:
Standards for this project alone, in <path>/.adk/standards:
wrote naming.md
wrote patterns.md
wrote advisory.md
Nothing in them is a rule yet: every example is commented out. What you write applies as soon as you save it — nothing to declare, nothing to install.
Your files are applied after the `default` pack; write only what you want to change.
Edit them to say what your team does, then run `adk standards` to confirm.
This command does not overwrite existing files.
Example: If your team uses the default pack (which prefixes table names with relationships graph abbreviations like CON__Contact), but one project requires unprefixed table names, prompt your agent:
In this project only, name tables without a prefix: Contact, not CON__Contact.
The agent writes the custom table rule in .adk/standards/naming.md:
## Tables
- No prefix: `Contact`, not `CON__Contact`.
- Sort tables by name.
Table names in this project now omit the prefix, while all other default pack rules remain active. Unused starter files in .adk/standards/ can be deleted.
Create a standards pack
Create a standards pack when multiple projects share the same conventions. Start Claude Code in the marketplace parent directory (such as acme-plugins) and prompt your agent, specifying only rules that diverge from ADK's built-in rules:
Create an ADK FileMaker standards pack named acme in a folder named acme-plugins. Prefix table names with the table's abbreviation on the relationship graph, as in CON__Contact, document our script header, and treat button tooltips as review guidance.
The agent runs adk standards init --pack acme --dir acme-plugins. Pack names must use lowercase letters, numbers, and hyphens, starting with an alphanumeric character:
Standards pack "acme", in <path>/acme-plugins/acme-filemaker-standards:
wrote .claude-plugin/plugin.json
wrote .claude-plugin/META.json
wrote standards/naming.md
wrote standards/patterns.md
wrote standards/advisory.md
Publish this directory as a plugin and install it, then declare it in a project:
adk standards use acme
Run `adk standards` in that project to confirm it resolved.
The generated directory contains:
acme-filemaker-standards/
.claude-plugin/
plugin.json Plugin definition installed by Claude Code
META.json {"name": "acme"}: Pack identifier referenced by projects
standards/
naming.md
patterns.md
advisory.md
Replace all <TEAM> placeholders in plugin.json and review all markdown files before publishing.
Write rules the agent can apply
To ensure consistent application by coding agents, write clear and unambiguous rules:
-
Single outcome: Write rules so they produce exactly one unambiguous result on an empty file.
-
Avoid existing-file dependencies: Avoid instructions like “match existing file style.” State explicit conventions in the pack.
-
Provide explicit defaults: When allowing developer discretion, specify which option applies when no choice has been made.
-
Define all categories: If rules distinguish between object types (such as developer tables vs. data tables), define those categories explicitly.
-
Specify syntax explicitly: State case conventions, singular/plural usage, prefixes, and separators in full sentences, not examples alone.
-
Encapsulate structural rules in
patterns.md: Use dedicated sections inpatterns.mdfor complete component definitions (such as primary keys and housekeeping fields inCreating a table).
To view ADK built-in rules before writing custom standards, prompt your agent:
Print ADK's built-in naming rules.
The agent runs adk standards show naming.md --layer baseline.
The three names
| Name | Configured in | adk standards list column |
Usage |
|---|---|---|---|
Plugin name: acme-filemaker-standards |
name in .claude-plugin/plugin.json |
PLUGIN
|
Used when installing the plugin in Claude Code (before the @). |
Marketplace name: acme-plugins |
name in .claude-plugin/marketplace.json |
(MARKETPLACE)
|
Used when installing the plugin in Claude Code (after the @). |
Pack name: acme |
name in .claude-plugin/META.json |
PACK
|
Configured in adk.json to declare which pack a project follows. |
Plugin names and pack names are intentionally distinct so plugins can be renamed without breaking project configurations. Treat the pack name as permanent. Renaming the pack breaks rule resolution for projects referencing the original identifier.
Publish the pack
Claude Code installs plugins from a marketplace directory or Git repository containing a .claude-plugin/marketplace.json manifest:
acme-plugins/
.claude-plugin/
marketplace.json
acme-filemaker-standards/
.claude-plugin/
standards/
{
"name": "acme-plugins",
"owner": { "name": "Acme" },
"metadata": { "description": "Acme's FileMaker standards." },
"plugins": [
{
"name": "acme-filemaker-standards",
"source": "./acme-filemaker-standards"
}
]
}
To validate the marketplace structure, prompt the agent:
Make acme-plugins a Claude Code marketplace for the acme standards pack, and check that both are valid.
The agent validates both directories with claude plugin validate.
Share acme-plugins as a Git repository. Teammates require read access to the repository, along with the plugin identifier (acme-filemaker-standards@acme-plugins) and pack name (acme).
Install and follow the pack
Each user runs these commands in Claude Code once per computer:
/plugin marketplace add <path-or-git-url>
/plugin install acme-filemaker-standards@acme-plugins
Verify installation with adk standards list, then configure each project to follow the pack:
Make this project follow acme.
Release a new version
Always increment the pack version when publishing updates. To publish changes, prompt your agent:
Add a rule to the acme pack: give every layout a header part. Then raise the pack's version, commit, and push.
Teammates update their installed copy by prompting their agent:
Update the acme-filemaker-standards plugin from the acme-plugins marketplace.
The agent runs claude plugin marketplace update acme-plugins and claude plugin update acme-filemaker-standards@acme-plugins. Note that running /plugin install does not upgrade an existing installation.
Keep several packs
Maintain separate packs for distinct convention sets (such as acme, northwind, or internal). Each project can follow at most one pack. Packs do not inherit from one another; each evaluates against ADK built-in rules.
What an upgrade changes
-
Project files: Local files in
.adk/standards/are never modified by ADK upgrades. -
Custom packs: Packs change only when updated by your team.
-
ADK built-in rules and
defaultpack: Update automatically with each ADK release. To freeze a specific rule, copy it into local project files in.adk/standards/.