A release procedure does not need to occupy every coding session. A rule to keep customer data out of logs should not depend on someone remembering to invoke a release procedure.
Use CLAUDE.md for short, persistent project guidance.
Use a path-scoped .claude/rules/ file for instructions tied
to particular files. Use a skill for a multi-step workflow that is
relevant on demand. Claude Code's memory and skills documentation
explains the loading and invocation options.
For example, a fictional service might keep "Do not put access tokens
in logs" in its project instructions and a release checklist in a skill,
saved as .claude/skills/release-check/SKILL.md:
---
description: Release checklist for the API service
disable-model-invocation: true
---
1. Compare the changelog with the commits since the last tag.
2. Run the checks listed in docs/release.md and paste their output.
3. Report anything you could not run. Do not tag or publish.
You start it with /release-check. By default you can
invoke a skill and Claude can also invoke it when it looks relevant.
disable-model-invocation: true removes the second path: the
description stays out of Claude's context and the body loads only when
you invoke it.
Test the arrangement
- In a fresh session, use
/context allto inspect loaded memory files. Ask the agent to explain the logging constraint before making a small change. - Invoke the release skill on a disposable branch and inspect the steps and evidence it reports. Check whether the commands exist and actually exercise the project.
- Remove contradictory copies. Give each instruction an owner and revisit it when the release process changes.
These files are guidance, not enforcement. A model may overlook an instruction or choose a skill at the wrong time. Use automated secret scanning, tests, and appropriate permissions for controls that must hold independently of the agent.
AI Lint is the standing-doctrine side of this: a checklist, security and architecture doctrine, rejected patterns and wiring for coding agents. It does not prove a skill ran or replace the controls above. Team and company use needs a paid pack; the free edition is limited to individuals' personal and evaluation use. A Personal pack ($49 Apps or Systems, $79 Bundle) covers one user, company work included, and a Company license ($299 or $499) covers unlimited internal users in one legal entity.