speckit-memorylint-run

Audit AGENTS.md to separate architectural rules from infrastructure rules.

Updated Mar 16, 2026
One-click install
npx skills add https://github.com/B0yZ4kr14/OrthoPlus-Enterprise --skill speckit-memorylint-run
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-memorylint-run
Source: https://github.com/B0yZ4kr14/OrthoPlus-Enterprise/tree/main/.specify-backups/20260518-141826/_agents/skills/speckit-memorylint-run
Command: npx skills add https://github.com/B0yZ4kr14/OrthoPlus-Enterprise --skill speckit-memorylint-run

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill prevents architectural drift by auditing how the agent describes what belongs in project infrastructure versus architecture, then cleans up and repairs the agent memory boundaries in AGENTS.md.

Core Features & Use Cases

  • Extracts architectural rules from AGENTS.md and prepares them for relocation to .specify/memory/constitution.md, keeping concerns properly separated.
  • Cleanses AGENTS.md by removing architecture-layer constraints (e.g., layering, state management, API/design principles) so it remains infrastructure-focused.
  • Enriches infrastructure guidance by adding missing operational essentials (build/test/lint/Git workflow conventions/environment setup) based on workspace context.

Quick Start

Use the speckit-memorylint-run skill to prune architectural rules from AGENTS.md and enrich it with missing infrastructure guidelines for the current workspace.

Frequently Asked Questions about speckit-memorylint-run

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I separate architecture rules from infrastructure rules in AGENTS.md?

To separate architecture rules from infrastructure rules in AGENTS.md, you can use a memory boundary lint workflow to extract architectural constraints, prune them from the file, and enrich the remaining infrastructure sections with operational conventions.

What is AI agent memory boundary hygiene in spec-kit projects?

AI agent memory boundary hygiene in spec-kit projects is the practice of preventing architectural drift by cleanly separating architectural constraints from infrastructure rules within AGENTS.md and .specify/memory/constitution.md to maintain consistent agent behavior.

How do I prune out-of-scope architectural constraints from AGENTS.md?

You can prune out-of-scope architectural constraints from AGENTS.md by running an audit that identifies architecture-layer rules like state management and API design, removes them from the file, and adds a pointer directing agents to constitution.md.

How do I enrich AGENTS.md with missing build and test workflow conventions?

You can enrich AGENTS.md with missing build and test workflow conventions by auditing the current workspace context, identifying absent operational essentials, and injecting infrastructure guidance covering environment setup, lint, and Git workflows.

Does memory governance linting work without a .specify/memory/constitution.md file?

Memory governance linting in spec-kit based projects typically requires a .specify/memory/constitution.md file, because the workflow extracts out-of-scope architectural rules from AGENTS.md and adds a pointer to this constitution file for proper relocation.

Why does my AI agent exhibit architectural drift despite having an AGENTS.md file?

An AI agent may exhibit architectural drift when AGENTS.md mixes infrastructure rules with architecture constraints, which a memory boundary audit resolves by extracting layering and state management rules to maintain clean, focused agent memory boundaries.