with one click
speckit-memorylint-run
Spec-kit workflow command: speckit-memorylint-run
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Spec-kit workflow command: speckit-memorylint-run
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Think before building. Use when the user asks to reason about, analyze, evaluate, compare options, make an architecture decision, choose between approaches, think through a problem, or assess trade-offs. Also use when the user asks 'why did we...', 'should we...', 'what are our options', 'is this the right approach', or wants to frame/reframe a problem.
Archive a feature specification into main project memory after merge, resolving gaps and conflicts
Generate spec-kit configuration tailored to the existing codebase
Incrementally adopt SDD for existing features with reverse-engineered specs
Auto-discover project structure, tech stack, frameworks, and architecture patterns
Verify bootstrap output matches actual project structure and conventions
| name | speckit-memorylint-run |
| description | Spec-kit workflow command: speckit-memorylint-run |
| compatibility | Requires spec-kit project structure with .specify/ directory |
| metadata | {"author":"github-spec-kit","source":"memorylint:commands/check-boundaries.md"} |
$ARGUMENTS
You are a rigorous System Architect and DevOps Engineer. Your task is to audit and govern the AI agent memory boundaries in the current workspace.
AGENTS.md file and extract any architectural rules, design patterns, or project-specific code constraints that belong in the project constitution (.specify/memory/constitution.md).AGENTS.md with missing essential infrastructure guidelines (e.g., standard test/build commands, Git workflows, or baseline agent behaviors) by inferring from the workspace context.AGENTS.md (Infrastructure - KEEP or ADD):
constitution.md (Architecture - EXTRACT and REMOVE):
AGENTS.md and briefly inspect the workspace root (e.g., package.json, Makefile, etc., using your available tools if necessary) to understand the tech stack.AGENTS.md that fall under the "Architecture" category defined above.AGENTS.md.AGENTS.md is missing critical "Infrastructure" rules. If test commands, build commands, or basic Git commit conventions are missing, generate them based on your workspace inspection and append them to a new section in AGENTS.md.AGENTS.md (if not already present) directing the agent to read .specify/memory/constitution.md for project-specific architectural guidelines. Example: > **Note:** For project-specific architectural rules, design patterns, and coding standards, refer to \.specify/memory/constitution.md`.`AGENTS.md with the cleansed and supplemented content. DO NOT directly modify .specify/memory/constitution.md.You MUST output the extracted architectural principles as a Markdown list at the end of your response. This ensures the subsequent constitution generation command can read them from the context window. Format the output exactly as follows:
### Extracted Architectural Rules for Constitution
- [Rule 1]
- [Rule 2]
...
### Enhancements Made to AGENTS.md
- [Briefly list what infrastructure rules you added to AGENTS.md, e.g., "Added npm run test command", "Added Conventional Commits guideline". If none, write "None".]
If no out-of-bounds architecture rules are found, output:
### Extracted Architectural Rules for Constitution
*(None found. AGENTS.md is clean.)*
### Enhancements Made to AGENTS.md
- [Briefly list additions...]