AgentStack
SKILL verified MIT Self-run

Agents Md

skill-pantheon-org-tekhne-agents-md · by pantheon-org

Create and maintain AGENTS.md documentation for simple projects, complex monorepos, deterministic discovery, scoped instruction files, low-token navigation; use when generating AGENTS.md, updating agent docs, standardizing AI-facing project guidance.

No reviews yet
0 installs
16 views
0.0% view→install

Install

$ agentstack add skill-pantheon-org-tekhne-agents-md

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Agents Md? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

AGENTS.md Management

When to Use

  • "Create AGENTS.md for this repo."
  • "Update agent documentation for this monorepo."
  • "Set up hierarchical AGENTS.md files by package."

When Not to Use

  • Pure code implementation work with no documentation update.
  • One-off prompts where repository guidance files are unnecessary.

Principles

  • Keep instructions concise, concrete, and path-specific.
  • Prefer references and indices over duplicated prose.
  • Optimize for nearest-file relevance in hierarchical layouts.

Workflow

  1. Discover repository shape and technologies.

Output: simple vs hierarchical documentation strategy.

  1. Select structure (single root file or root + sub-files).

Output: file layout plan.

  1. Generate AGENTS.md content with concrete commands and paths.

Output: actionable docs with JIT indexing.

  1. Validate command correctness and duplication boundaries.

Output: clean, copy-paste-safe instruction files.

  1. Re-check after major repo changes.

Output: synchronized documentation.

Structure Decision

  • Simple project: one AGENTS.md when stack and patterns are uniform.
  • Complex monorepo: root AGENTS.md + scoped subdirectory AGENTS.md files.
  • Consider adding subdirectory files iteratively — start minimal, expand as complexity grows.

Minimal Template

# Project Agent Guide

## Commands
- Build: `bun run build`
- Test: `bun run test`
- Lint: `bun run lint`

## Conventions
- [describe key patterns here]

## Key Paths
- Source: `src/`
- Tests: colocated `*.test.ts`

Quick Commands

# Discovery baseline
rg --files
# Detect core config/tooling
rg -n "workspaces|nx|turbo|pnpm|yarn|packageManager|tsconfig|pytest|playwright" .
# Locate existing AGENTS files
find . -name AGENTS.md -o -name AI-DOCS.md

Anti-Patterns

NEVER assume a technology stack without discovery

WHY: incorrect assumptions produce unusable instructions. BAD: generate React/Jest guidance without evidence. GOOD: run discovery commands and map docs to detected stack.

NEVER dump encyclopedic content into root AGENTS.md

WHY: oversized docs increase token cost and reduce usability. BAD: embed full framework manuals. GOOD: keep root concise and link to scoped files/references.

NEVER duplicate the same instructions across root and sub-files

WHY: duplication creates drift and maintenance overhead. BAD: copy/paste identical conventions in every file. GOOD: keep universal rules at root and package-specific rules locally.

NEVER provide unverified commands

WHY: broken commands erode trust and block contributors. BAD: include hypothetical commands. GOOD: include only validated copy-paste commands.

Verification

bunx markdownlint-cli2 "**/AGENTS.md"
bun run lint

References

| Topic | Reference | | --- | --- | | Repository discovery commands | [references/discovery-commands.md](references/discovery-commands.md) | | What to avoid | [references/anti-patterns.md](references/anti-patterns.md) | | API package template | [references/api-template.md](references/api-template.md) | | Design-system template | [references/design-system-template.md](references/design-system-template.md) | | Database package template | [references/database-template.md](references/database-template.md) | | Testing package template | [references/testing-template.md](references/testing-template.md) | | Troubleshooting | [references/troubleshooting.md](references/troubleshooting.md) |

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.