agentleFS
agentset-aiagentset-ai/agentset/docs/CLAUDE.md

agentset

CLAUDE.md2.1k starsChanged 10 months agoMITView on GitHub

Before writing, identify which content type you're creating: Each piece of content should target one specific user persona:

Trending

Quiet since September.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 2 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 1 mentionSep 2026: 2 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the agentset-ai/agentset repository that our weekly crawl found: only 8 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about agentset-ai/agentset

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

See all 8

Talked about on GitHub and Hacker News (8 times).

On GitHub · 6

1 more on GitHub

The file

Show its rules and text

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

27 rules. About 0 are common, 27 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈27

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Document just enough for user success - not too much, not too little

    line 13
  2. Distinctive:

    Search for existing content before adding anything new.

    line 16
  3. Distinctive:

    Check existing patterns for consistency

    line 17
  4. Distinctive:

    Start by making the smallest reasonable changes

    line 18
  5. Distinctive:

    Clarity over cleverness: Use simple, direct language.

    line 29
  6. Distinctive:

    Use active voice: Write "Create a configuration file" instead of "A configuration file should be created."

    line 30
  7. Distinctive:

    Make content skimmable: Use headings to orient structure.

    line 32
  8. Distinctive:

    Test all code examples before publishing

    line 34
  9. Distinctive:

    Inconsistent terminology: Don't call something an "API key" in one place and "API token" in another.

    line 42
  10. Distinctive:

    "Duh" documentation: Don't state the obvious (e.g., "Click Save to save").

    line 44
  11. Distinctive:

    Before writing, identify which content type you're creating:

    line 49
  12. Distinctive:

    Use clear, incremental steps

    line 56
  13. Distinctive:

    Write from the user's perspective, not the product's

    line 65
  14. Distinctive:

    Use analytics (page views, search queries, bounce rates) to guide priorities

    line 98
  15. Distinctive:

    Use screenshots, GIFs, and videos selectively—they require ongoing maintenance.

    line 102
  16. Distinctive:

    Always add alt text for images and subtitles/transcripts for videos

    line 111
  17. Distinctive:

    Avoid overloaded categories (too many top-level sections overwhelm users)

    line 118
  18. Distinctive:

    Don't bury essential content—prioritize frequently accessed information

    line 119
  19. Distinctive:

    Use intuitive section names that match how users naturally think

    line 120
  20. Distinctive:

    Test with new team members before they're familiar with the product

    line 122
  21. Distinctive:

    Headings: Use clear H1, H2, H3 structure with relevant keywords

    line 125
  22. Distinctive:

    Internal linking: Use descriptive anchor text ("Learn more about rate limiting" not "Click here")

    line 127
  23. Distinctive:

    Use linters to enforce standards on every pull request

    line 134
  24. Distinctive:

    Start with a structured audit (support interviews, user feedback)

    line 143
  25. Distinctive:

    Use absolute URLs for internal links

    line 150
  26. Distinctive:

    Check for broken links before publishing:

    line 174
  27. Distinctive:

    Avoid using cardgroups unless they come at the end of the page.

    line 182

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.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
CLAUDE.md

Agentset documentation (powered by Mintlify)

Project context

  • Format: MDX files with YAML frontmatter
  • Config: docs.json for navigation, theme, settings
  • Components: Mintlify components

Product context

  • Agentset is RAG-as-a-service for developers building AI apps
  • Target audience: developers who want to add retrieval-augmented generation to their applications without building the infrastructure themselves

Content strategy

  • Document just enough for user success - not too much, not too little
  • Prioritize accuracy and usability
  • Make content evergreen when possible
  • Search for existing content before adding anything new. Avoid duplication unless it is done for a strategic reason
  • Check existing patterns for consistency
  • Start by making the smallest reasonable changes

docs.json

  • Refer to the docs.json schema when building the docs.json file and site navigation

Frontmatter requirements for pages

  • title: Clear, descriptive page title (don't change the page title unless instructed)
  • description: Concise summary for SEO/navigation (150-160 characters)

Writing principles

  • Be concise. Cut unnecessary words. Users want to achieve a goal, not read prose.
  • Clarity over cleverness. Use simple, direct language. Avoid jargon and complex sentence structures.
  • Use active voice. Write "Create a configuration file" instead of "A configuration file should be created."
  • Write in second person. Address the reader as "you" to make content feel personalized.
  • Make content skimmable. Use headings to orient structure. Break up text-heavy paragraphs.
  • Prerequisites at start of procedural content
  • Test all code examples before publishing
  • Match style and formatting of existing pages
  • Include both basic and advanced use cases
  • Language tags on all code blocks
  • Alt text on all images
  • Relative paths for internal links

Common mistakes to avoid

  • Inconsistent terminology. Don't call something an "API key" in one place and "API token" in another.
  • Product-centric language. Orient language around what users are trying to achieve, not internal product terminology.
  • "Duh" documentation. Don't state the obvious (e.g., "Click Save to save"). Add value.
  • Colloquialisms. These hurt clarity, especially for international audiences.

Content types (Diataxis Framework)

Before writing, identify which content type you're creating:

Tutorials (Learning-oriented)

  • Goal: Help users learn through step-by-step instructions
  • Audience: Beginners with no prior knowledge
  • Approach:
    • Set expectations of what users will achieve
    • Use clear, incremental steps
    • Minimize choices users need to make
    • Point out milestones ("You will notice that..." or "If this doesn't show, you probably forgot to...")
    • Focus on actions, not theory

How-To Guides (Problem-oriented)

  • Goal: Help users perform a specific task
  • Audience: Users with some prior knowledge
  • Approach:
    • Write from the user's perspective, not the product's
    • Describe logical sequences without stating the obvious
    • Minimize context beyond what's necessary

Reference (Information-oriented)

  • Goal: Provide details about functionality
  • Audience: Experienced users looking for specifics
  • Approach:
    • Be scannable and concise
    • Prioritize consistency (tables, naming conventions, API specs)
    • Focus on examples that are easy to copy and modify
    • Avoid explanatory content

Explanation (Understanding-oriented)

  • Goal: Deepen understanding of concepts or complex features
  • Audience: Any level seeking conceptual understanding
  • Approach:
    • Provide background context (design decisions, technical constraints)
    • Acknowledge opinions and alternatives
    • Draw connections to other product areas or industry concepts

Know your audience

Each piece of content should target one specific user persona:

  • Technical decision makers — want architecture overviews and high-level details
  • End users — may not be technical, looking to get started or complete tasks
  • Developers integrating the product — need clear, concise instructions

User research

  • Talk directly to users to understand how they describe your product
  • Get embedded in support to see pain points caused by documentation gaps
  • Incorporate feedback mechanisms (thumbs up/down, text fields)
  • Use analytics (page views, search queries, bounce rates) to guide priorities

Using media

Use screenshots, GIFs, and videos selectively—they require ongoing maintenance.

Media TypeWhen to UseUpdate Time
ScreenshotsTasks difficult to explain with words; hidden UI elements~5 min
GIFsPromotional content; short, complex workflows~1 hour
VideosAbstract concepts; long workflows; tutorialsSeveral hours
  • Media should be supplementary—if text is clear enough, skip the visual
  • Always add alt text for images and subtitles/transcripts for videos
  • Balance clarity with maintainability (UI changes make visuals outdated quickly)

Organizing navigation

Navigation serves as a mental model for how users think about your product.

  • Avoid overloaded categories (too many top-level sections overwhelm users)
  • Don't bury essential content—prioritize frequently accessed information
  • Use intuitive section names that match how users naturally think
  • Track real user journeys with analytics or session replays
  • Test with new team members before they're familiar with the product

SEO basics

  • Headings: Use clear H1, H2, H3 structure with relevant keywords
  • Short paragraphs: Break text into digestible sections with bullet points
  • Internal linking: Use descriptive anchor text ("Learn more about rate limiting" not "Click here")

Maintenance

Prevent documentation rot

  • Track stale content (flag docs not updated in X days)
  • Detect product changes that affect documentation
  • Use linters to enforce standards on every pull request

Review strategically

  • Trigger reviews based on relevance (usage, search demand, product changes), not just time
  • Focus extra attention on high-impact pages (top 10 most viewed)
  • Empower users to flag issues via feedback mechanisms or pull requests

Know when to rewrite

  • Plan periodic resets every 1-2 years for major cleanup
  • Start with a structured audit (support interviews, user feedback)
  • Tackle rewrites in focused sprints, prioritizing highest-impact sections

Wrong documentation is worse than no documentation. If content is completely inaccurate and unfixable short-term, remove it.

Do not

  • Skip frontmatter on any MDX file
  • Use absolute URLs for internal links
  • Include untested code examples
  • Make assumptions - always ask for clarification

Mintlify-specific tooling

Prerequisites

  • Node.js version 19 or higher
  • docs.json configuration file (delete legacy mint.json if present)

Local development

Run local preview:

# Navigate to docs directory (where docs.json is located)
mintlify dev

Validating links

Check for broken links before publishing:

mintlify broken-links

CardGroups

Avoid using cardgroups unless they come at the end of the page.

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.