agentleFS
strands-agentsstrands-agents/harness-sdk/site/AGENTS.md

harness-sdk / site

AGENTS.md8.7k starsChanged 59 days agoApache-2.0View on GitHub

This document provides guidance for AI agents working on the Strands Agents documentation site (the site/ directory). For human contributor guidelines, see CONTRIBUTING.md. AGENTS.md contains agent-specific repository information including: - Directory structure with summaries of what is included in each directory - Development workflow instructions for agents to follow when developing features - Coding patterns and testing patterns to follow when writing code - Style guidelines, organizational patterns, and best practices For human contributors: See CONTRIBUTING.md for setup, testing, and…

  • Installs packages
  • Commits and pushes

Trending

More talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 5 mentionsJul 2026: 3 mentionsAug 2026: 8 mentionsSep 2026: 23 mentionsOct 2026: 12 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the strands-agents/harness-sdk repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about strands-agents/harness-sdk

The biggest 5 of 51 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 51

Talked about on GitHub and Bluesky (51 times).

On GitHub · 47

42 more on GitHub

The file

We split this AGENTS.md into the rules it gives an agent

8 rules. About 0 are common, 7 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When working on SDK features or documentation, familiarize yourself with these team processes:

    line 18
  2. Very specific:

    When authoring or reviewing documentation pages, follow the voice guide and the terminology lock.

    line 54
  3. Distinctive:

    IMPORTANT: After making changes that affect the directory structure (adding new directories, moving files, or adding significant new …

    line 108
  4. Distinctive:

    Run a local development server at http://localhost:4321/:

    line 132
  5. Distinctive:

    Run quality checks: before committing (pre-commit hooks will run automatically)

    line 142
  6. Distinctive:

    All checks must pass before commit is allowed.

    line 153
  7. Distinctive:

    When adding or editing code examples in documentation pages, you MUST follow .agents/references/mdx-authoring.md.

    line 165
  8. Distinctive:

    Run all checks: before committing (pre-commit hooks will enforce this)

    line 175

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Agent Development Guide - Documentation Site

This document provides guidance for AI agents working on the Strands Agents documentation site (the site/ directory). For human contributor guidelines, see CONTRIBUTING.md.

Purpose and Scope

This directory contains the documentation site for Strands Agents, providing guides on how to develop with the SDK in both Python and TypeScript.

AGENTS.md contains agent-specific repository information including:

  • Directory structure with summaries of what is included in each directory
  • Development workflow instructions for agents to follow when developing features
  • Coding patterns and testing patterns to follow when writing code
  • Style guidelines, organizational patterns, and best practices

For human contributors: See CONTRIBUTING.md for setup, testing, and contribution guidelines.

Team Process Documents

When working on SDK features or documentation, familiarize yourself with these team processes:

  • Feature Lifecycle Process: How features are added, versioned, deprecated, and graduated from experimental status
  • API Bar Raising: Standards for API design quality
  • Decisions: Key architectural and design decisions
  • Tenets: Core principles guiding SDK development

These documents define the standards and processes that ensure consistency and quality across the Strands SDK.

Documentation Skills and Voice References

Documentation authoring skills and shared reference material live under .agents/. The .claude/skills, .claude/references, .kiro/skills, and .kiro/references paths are symlinks into .agents/, so edits through any path hit the same files.

On Windows, these symlinks require Developer Mode or git config core.symlinks true. If they don't resolve on your machine, work directly in .agents/ — every tool-specific path is just a pointer to the same files.

.agents/
├── skills/
│   ├── docs-writer/      # Draft or rewrite doc pages
│   ├── docs-reviewer/    # Review drafts before PR submission
│   ├── docs-audit/       # Assess published pages for quality
│   └── docs-planner/     # Prioritize the docs backlog
└── references/
    ├── voice-guide.md       # Five-layer voice stack
    ├── terminology.md       # Canonical terms (one concept, one term)
    ├── mdx-authoring.md     # Tabs, snippets, callouts
    └── code-verification.md # Verifying code examples against SDK source
SkillPurposeSample triggers
docs-writerDraft or rewrite doc pages"write a doc", "draft a page", "rewrite the quickstart"
docs-reviewerReview drafts before PR submission"review this draft", "is this ready to ship"
docs-auditAssess published pages for quality"audit this page", "check docs quality"
docs-plannerPrioritize the docs backlog"plan docs work", "what docs need writing"

When authoring or reviewing documentation pages, follow the voice guide and the terminology lock. When verifying code examples in docs, follow the tiered procedure in .agents/references/code-verification.md.

Directory Structure

├── AGENTS.md
├── CODE_OF_CONDUCT.md
├── CONTRIBUTING.md
├── SITE-ARCHITECTURE.md          # Detailed Astro/Starlight customizations
├── src/                          # Astro source files
│   ├── components/               # Custom Astro components
│   │   ├── community/            # Sections of the /community/ hub page (hero, courses, events, blog)
│   │   ├── overrides/            # Starlight component overrides
│   │   └── ...
│   ├── config/                   # Site configuration
│   ├── content/                  # Content collections
│   │   ├── catalog/              # Community catalog entries (one YAML per integration, zod-validated)
│   │   ├── courses/              # Course metadata (one YAML per course, zod-validated)
│   │   ├── events/               # Community event entries (one YAML per event, zod-validated)
│   │   └── docs/                 # Documentation content (Markdown/MDX)
│   │       ├── api/
│   │       │   ├── python/
│   │       │   │   └── _generated/   # Symlink to .build/api-docs/python
│   │       │   └── typescript/
│   │       │       └── _generated/   # Symlink to .build/api-docs/typescript
│   │       ├── assets/
│   │       ├── contribute/
│   │       ├── examples/
│   │       ├── integrations/
│   │       ├── labs/
│   │       ├── learning/         # Course lesson pages
│   │       └── user-guide/
│   ├── data/                     # Bot-maintained data (catalog-stats.json — updated by the
│   │                             #   catalog-stats workflow; do not hand-edit)
│   ├── layouts/                  # Custom layouts
│   ├── pages/                    # Astro pages (incl. integrations.astro — the /integrations page)
│   ├── plugins/                  # Remark/Rehype plugins
│   ├── styles/                   # Global styles
│   └── util/                     # Utility functions
├── astro.config.mjs              # Astro configuration
├── package.json                  # Node.js dependencies and scripts
├── tsconfig.json                 # TypeScript configuration
├── LICENSE
├── NOTICE
├── README.md
├── overrides/                    # Legacy MkDocs overrides (being migrated)
├── scripts/                      # Build and utility scripts (scripts/catalog/ — stats refresh
│                                 #   run by the weekly catalog-stats workflow)
├── test/                         # Test files
└── test-snippets/                # TypeScript snippet test files

Directory Purposes

IMPORTANT: After making changes that affect the directory structure (adding new directories, moving files, or adding significant new files), you MUST update this directory structure section to reflect the current state of the repository.

Development Workflow for Agents

1. Environment Setup

Prerequisites

  • Python 3.10+
  • Node.js 22+, npm

Setup and Installation

npm install

Building and Previewing

Generate the static site:

npm run build

Run a local development server at http://localhost:4321/:

npm run dev

2. Making Changes

  1. Create feature branch: git checkout -b agent-tasks/{ISSUE_NUMBER}
  2. Implement changes following the patterns below
  3. Run quality checks before committing (pre-commit hooks will run automatically)
  4. Commit with conventional commits: feat:, fix:, refactor:, docs:, etc.
  5. Push to remote: git push origin agent-tasks/{ISSUE_NUMBER}

3. Quality Gates

Pre-commit hooks automatically run:

  • Unit tests (via npm test)
  • Format checking (via npm run format:check)
  • Type checking (via npm run typecheck)

All checks must pass before commit is allowed.

Coding Patterns and Best Practices

Code Style Guidelines (for Typescript)

TypeScript formatting and import organization follow the same conventions as the TypeScript SDK; see strands-ts/AGENTS.md. Prettier enforces formatting (no semicolons, single quotes, 120-character lines, 2-space indent, ES5 trailing commas); order imports as external dependencies, then internal modules, then type-only imports.

One site-specific exception: files under src/content/docs/ are limited to 90 characters per line, including template literal contents (not enforced by Prettier). See .agents/references/mdx-authoring.md.

Code Examples in Documentation Pages

When adding or editing code examples in documentation pages, you MUST follow .agents/references/mdx-authoring.md. It is the authoritative reference for <Tabs>/<Tab> usage, --8<-- snippet inclusion, snippet naming and scoping, callouts, frontmatter fields, line length, and validation commands.

For the underlying Astro/Starlight implementation (the snippets plugin, custom components, frontmatter banners), see SITE-ARCHITECTURE.md.

Agent-Specific Notes

When Implementing Features

  1. Read task requirements carefully from the GitHub issue
  2. Use existing patterns as reference
  3. Run all checks before committing (pre-commit hooks will enforce this)

Integration with Other Files

  • CONTRIBUTING.md: Contains testing/setup commands and human contribution guidelines
  • README.md: Public-facing documentation, links to strandsagents.com
  • SITE-ARCHITECTURE.md: Comprehensive documentation of Astro/Starlight customizations, components, and plugins
  • package.json: Defines scripts for building, testing, and linting
  • src/config/navigation.yml: Defines the navigation structure (loaded by src/sidebar.ts for Astro)

Additional Resources

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.