Skip to content
Back to skills

Instruction Layout

ASecurity

Use when adding, moving or changing an instruction for agents in this repository, a skill, or a reference document, or when <check command> fails. Decides which file the instruction belongs in, so that each fact is written once.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 29, 2026
toolsgo

Security analysis

A100/100

Pro scans all 9 files and shows the line behind each finding

Scanned November 29, 2026

npx -y skills add mnaimfaizy/agent-kit --skill instruction-layout --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Instruction Layout?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Instruction Layout
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mnaimfaizy-instruction-layout/badge)](https://www.skillsdirectory.com/skills/mnaimfaizy-instruction-layout)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
# Pattern guide skeleton: docs/patterns/instruction-layout.md in Agent-kit.
# Copy this folder's SKILL.md into your skill tree, fill in every
# <placeholder>, and delete these comment lines.
name: <placing-instructions>
description: Use when adding, moving or changing an instruction for agents in this repository, a skill, or a reference document, or when <check command> fails. Decides which file the instruction belongs in, so that each fact is written once.
---

# Placing an instruction

## Where it goes

Pick the first row that fits. Write the instruction there, and nowhere else.

| The instruction                                                 | Goes in                                                                              |
| --------------------------------------------------------------- | ------------------------------------------------------------------------------------ |
| Is true for one harness only, such as a hook or a tool name     | That harness's adapter                                                               |
| Holds for every task, whichever skill runs                      | AGENTS.md                                                                            |
| Is true only inside one folder                                  | The AGENTS.md in that folder                                                         |
| Is a step of a named workflow                                   | That workflow's skill, under `<skill-tree>/`                                         |
| Says which skill to load when two could answer the same request | One line in the Skills section of AGENTS.md, naming the skill's path                 |
| Is needed only when something specific happens                  | A reference document, plus one line under Reference documents that names the trigger |
| Is the reason for a decision that is hard to reverse            | A decision record, linked from where the rule is written                             |

## Steps

1. Search for the fact first. If it is already written somewhere, change it there, and link to it from where you were going to write it.
2. Write it in the one place the table gives.
3. If you moved it, replace the old copy with a link, or delete it.
4. Run `<check command>`. A restated sentence, a chooser for a skill that does not exist, a reference without a trigger, or a skill folder that is not a link fails it.

## What does not go in AGENTS.md

- A skill's steps. AGENTS.md says which skill to load; the skill says how.
- A list that a file elsewhere already holds, such as the commands, the approved external skills or the labels. Link to the file.
- A rule that only one harness reads.

Files in this skill

  • AGENTS.md.template2.4 KB
  • CLAUDE.md.template731 B
  • SKILL.md2.6 KB
  • check-instruction-layout.mjs3 KB
  • explorer-request.md1.2 KB
  • explorer.agent.md2.9 KB
  • instruction-layout-core.mjs9.8 KB
  • instruction-layout-core.test.mjs9.3 KB
  • skills-layout.md2.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.