agentleFS

CLAUDE.md examples from real projects

How real projects brief Claude Code: the commands, conventions and warnings they put in CLAUDE.md.

Worked for most · soon
MicrosoftCLAUDE.md

winml-cli

microsoft/winml-cli/CLAUDE.md

Never hardcode model architecture names, node/operator names, input/output tensor names, layer naming patterns, or any model-specific logic. All solutions must be universal and architecture-agnostic. All testing uses pytest with code-generated results. Never create standalone test scripts, use LLM-generated expectations, or generate test data manually. Run the necessary pytest scope after every implementation or test revision (for example, affected test files/modules/cases). Run full suite uv run pytest tests/ only when explicitly requested, before merge/release, or when impact is broad/unclear. Never assume…

416mo agoReviewMountCreate a free account to mount
MicrosoftCLAUDE.md

winml-cli / tests

microsoft/winml-cli/tests/CLAUDE.md

Inherits all rules from /CLAUDE.md. Additional test-specific rules below. Reference: /docs/pytest-best-practices.md - Place unit tests under tests/unit/<module>/ mirroring src/winml/modelkit/<module>/ - Place integration tests under tests/integration/, e2e under tests/e2e/ - Place cross-cutting CLI-surface tests (startup, import budget, arg parsing, command discovery, version/help output) under tests/cli/ — these don't mirror any single src/ module, so they don't fit under tests/unit/<module>/ - Put shared fixtures in the narrowest conftest.py that covers all consumers - Place tests that mirror a src/winml/modelkit/<module>/ directly under tests/…

416mo agoReviewMountCreate a free account to mount
MicrosoftCLAUDE.md

preflate-rs

microsoft/preflate-rs/CLAUDE.md

Important: This file (and all sub-project CLAUDE.md files) are checked into the repository. Only include information that is valid for any developer or machine: project conventions, architecture, commands, constraints. Do not add machine-specific paths, personal tool preferences, local environment settings, or anything that would not apply to every contributor. The CI runs on windows-latest and builds for multiple targets: wasm32-wasip1, aarch64-unknown-linux-musl, x86_64-pc-windows-msvc, x86_64-unknown-linux-gnu. The release build uses Spectre mitigations (/Qspectre /sdl) and produces preflate_rs_0_7.dll and preflate_util.exe. preflate-rs analyzes DEFLATE-compressed streams,…

389mo agoReviewMountCreate a free account to mount
MicrosoftCLAUDE.md

preflate-rs / container

microsoft/preflate-rs/container/CLAUDE.md

Scans binary files (ZIP, PNG, JPEG) for DEFLATE streams, orchestrates the preflate + Zstd pipeline, and reassembles the output. Only format version 2 exists (v1 was removed). PreflateContainerConfig holds knobs: min_chunk_size, max_chunk_size, total_plain_text_limit, chunk_plain_text_limit, validate_compression, max_chain_length. All framing bytes (type, varint) are written directly to the output stream — they are never inside the Zstd encoder. Each block type byte encodes two fields: Mask constants (defined in container_processor.rs): - A single persistent zstd::stream::write::Encoder is created once and shared across all…

389mo agoReviewMountCreate a free account to mount
MicrosoftCLAUDE.md

preflate-rs / dll

microsoft/preflate-rs/dll/CLAUDE.md

C-compatible DLL for .NET interop. Exposes a streaming compress/decompress API as extern "C" functions. The version number is baked into the crate name (preflate_rs_0_7) for binary compatibility. flags encoding: - bits 0–4: Zstd compression level - bit 5: test_baseline - bit 6: verify Return value of compress_buffer: 0 = more output available, 1 = done, <0 = error. Magic numbers are validated on every call to catch dangling/wrong pointer bugs. - Uses #[unsafe(no_mangle)] on exported functions — the only place…

389mo agoReviewMountCreate a free account to mount
MicrosoftCLAUDE.md

preflate-rs / fuzz

microsoft/preflate-rs/fuzz/CLAUDE.md

libfuzzer harnesses for fuzzing the core and container APIs. Not published; requires the fuzzing cargo feature. Feeds arbitrary bytes to preflate_whole_deflate_stream() as a raw DEFLATE stream, then attempts recreate_whole_deflate_stream() on the result. Verifies no crash or panic. Feeds arbitrary bytes (minimum 1 byte) to preflate_whole_into_container(), then recreate_whole_from_container(), and asserts the output matches the original input.

389mo agoReviewMountCreate a free account to mount
MicrosoftCLAUDE.md

preflate-rs / preflate

microsoft/preflate-rs/preflate/CLAUDE.md

Core DEFLATE analysis and reconstruction. Analyzes a DEFLATE bitstream, extracts the uncompressed plaintext plus a compact set of reconstruction parameters, and later recreates the bit-exact original bitstream. PreflateConfig controls max_chain_length, plain_text_limit, and verify_compression. Reconstruction runs the same pipeline in reverse.

389mo agoReviewMountCreate a free account to mount
MicrosoftCLAUDE.md

preflate-rs / tests

microsoft/preflate-rs/tests/CLAUDE.md

End-to-end round-trip tests against real sample files in samples/. - Core round-trip: decompress a .deflate file with preflate_whole_deflate_stream, recompress with recreate_whole_deflate_stream, assert bitwise identical output. - Container round-trip: compress a ZIP / PNG / DOCX / PDF through PreflateContainerProcessor, decompress with RecreateContainerProcessor, assert the output matches the original file byte-for-byte. The samples/ directory contains real-world compressed files used as test fixtures: deflate streams, zlib streams, PNGs, ZIPs, PDFs, DOCX, JPEG, WebP, and binary blobs from various compressors (zlib, zlib-ng, libdeflate,…

389mo agoReviewMountCreate a free account to mount
MicrosoftCLAUDE.md

preflate-rs / util

microsoft/preflate-rs/util/CLAUDE.md

CLI tool for manually testing preflate compression on files and directories. <PATH> may be a single file or a directory (scanned recursively). Single file: src/main.rs (~193 lines). Helper assert_eq_array<T>() provides detailed positional diff output for debugging mismatches during verification.

389mo agoReviewMountCreate a free account to mount
MicrosoftCLAUDE.md

recipe-tool

microsoft/recipe-tool/CLAUDE.md

This section outlines the core implementation philosophy and guidelines for software development projects. It serves as a central reference for decision-making and development approach throughout the project. Embodies a Zen-like minimalism that values simplicity and clarity above all. This approach reflects: This development philosophy values clear documentation, readable code, and belief that good architecture emerges from simplicity rather than being imposed through complexity.

3517mo agoReviewMountCreate a free account to mount
MicrosoftCLAUDE.md

open-kosmos

microsoft/open-kosmos/CLAUDE.md

Tech Stack: Electron 35 + React 18 + TypeScript 5, Webpack 5, TailwindCSS 4, lucide-react icons, Vercel AI SDK 5.x (streaming), @modelcontextprotocol/sdk, better-sqlite3 (local persistence), Monaco Editor, Playwright (browser automation). Architecture: Electron multi-process model — main process (Node.js: auth, chat engine, MCP runtime, data persistence, voice) + renderer process (React SPA: chat UI, agent editor, settings) + preload scripts (type-safe IPC bridge). The app is built as OpenKosmos-only. A list of useful package.json scripts: After entering a module directory, check…

345mo agoReviewMountCreate a free account to mount
MicrosoftCLAUDE.md

Agent365-dotnet

microsoft/Agent365-dotnet/CLAUDE.md

Exceptions: - Auto-generated files (.g.cs, .designer.cs, files with <auto-generated> markers) - Files in bin/, obj/ directories - Third-party or vendored code The following three constants must stay in sync. If a PR changes any one of them, the reviewer (human or Copilot) must ask the author to confirm the other two are still correct: Snapshot tests in src/Tests/Microsoft.Agents.A365.Observability.Runtime.Tests/Tracing/Exporters/ExportConfigConsistencyTests.cs will fail if any value drifts, but the developer must also verify the values are correct for the target environment — the…

2910mo agoReviewMountCreate a free account to mount
MicrosoftCLAUDE.md

powercat

microsoft/powercat/CLAUDE.md

Always read DESIGN.md before making any visual or UI decisions. All font choices, colors, spacing, and aesthetic direction are defined there. Do not deviate without explicit user approval. In QA mode, flag any code that does not match DESIGN.md.

284y agoReviewMountCreate a free account to mount
MicrosoftCLAUDE.md

ShadowFrog

microsoft/ShadowFrog/claude.md

ShadowFrog is a suite of AI coding agent skills that build and maintain shadow knowledge bases for any codebase. It consists of 7 skills (shadow-frog, shadow-frog-init, shadow-frog-update, shadow-frog-dream, shadow-frog-nap, shadow-frog-meditate, shadow-frog-viewer) and associated hooks. Nap's proposals remain separate from .shadow/ discoveries. This is a distributable skills package — users install it into their own projects via install.sh or install.ps1.

282mo agoReviewMountCreate a free account to mount
MicrosoftCLAUDE.md

Agent365-nodejs

microsoft/Agent365-nodejs/CLAUDE.md

The Microsoft Agent 365 SDK extends the Microsoft 365 Agents SDK with enterprise-grade capabilities for building sophisticated AI agents. This Node.js/TypeScript monorepo provides comprehensive tooling across four core areas: This is a pnpm workspace monorepo with 9 packages in packages/: Dependency Flow: Each package follows this convention: Build System: - Each package builds to both CJS and ESM formats - npm run build runs build:cjs && build:esm - TypeScript uses separate tsconfig files for each module format

2410mo agoReviewMountCreate a free account to mount
MicrosoftCLAUDE.md

FSQ

microsoft/FSQ/CLAUDE.md

This repository uses Spec-Driven Development for project development. Root SPEC.md and relevant module SPEC.md files are the grounding truth for project code and project logic. They do not define the SDD workflow. This file and .github/skills/ control agent write authorization and SDD phase transitions. Project SPEC.md files must not duplicate or override those workflow rules. Ordinary discussion, explanation, review, and planning are read-only. Do not automatically load or invoke repository workflow skills. Before creating, modifying, renaming, or deleting project development…

233mo agoReviewMountCreate a free account to mount
MicrosoftCLAUDE.md

mcscatblog

microsoft/mcscatblog/CLAUDE.md

This is the Microsoft Copilot Studio CAT team's technical blog, hosted at https://microsoft.github.io/mcscatblog/. It uses Jekyll with the Chirpy theme for static site generation on GitHub Pages. Posts go in _posts/ with filename format: YYYY-MM-DD-post-slug.md Add new authors to _data/authors.yml with: - name: Display name - email: Optional - avatar: GitHub avatar URL (e.g., https://github.com/username.png) - url: Optional link to profile/website Store post images in assets/posts/<post-slug>/. Reference in posts as /assets/posts/<post-slug>/image.png. See Chirpy documentation for advanced formatting: https://chirpy.cotes.page/posts/write-a-new-post/ Review instructions…

204mo agoReviewMountCreate a free account to mount
MicrosoftCLAUDE.md

PowerPlatform-EnterprisePolicies

microsoft/PowerPlatform-EnterprisePolicies/CLAUDE.md

PowerShell module and scripts for managing Power Platform Enterprise Policies as Azure resources. Supports: - Customer Managed Key (CMK) policies for encryption - Subnet Injection policies for virtual network delegation - Diagnostic tools for VNET functionality troubleshooting Supports multiple Azure environments: AzureCloud, AzureUSGovernment (DoD, USGovHigh), AzureChinaCloud. Testing requirement: Tests must pass on both PowerShell (Core) and Windows PowerShell. The test command only runs in the current environment, so you must invoke it separately in each: CRITICAL: Always verify that Build…

1610mo agoReviewMountCreate a free account to mount
MicrosoftCLAUDE.md

agent-resources

microsoft/agent-resources/CLAUDE.md

When the user's request matches an available skill, ALWAYS invoke it using the Skill tool as your FIRST action. Do NOT answer directly, do NOT use other tools first. The skill has specialized workflows that produce better results than ad-hoc answers. Key routing rules: - Product ideas, "is this worth building", brainstorming → invoke office-hours - Bugs, errors, "why is this broken", 500 errors → invoke investigate - Ship, deploy, push, create PR → invoke ship - QA, test the…

146mo agoReviewMountCreate a free account to mount
MicrosoftCLAUDE.md

ppteval / claude-workspace

microsoft/ppteval/claude-workspace/CLAUDE.md

You are running inside a single-task workspace for the PowerPoint Computer Use benchmark. Each invocation handles exactly one task. The harness has prepared this directory with everything you need. 1. Read TASK.md and OUTPUT_INSTRUCTIONS.md first. They define the goal and the exact path you must write your output to. Follow the output path literally — the grader looks for that path and nothing else. 2. Treat inputs/ as read-only. Copy the file before modifying it. 3. Write your result to…

145mo agoReviewMountCreate a free account to mount
CLAUDE.md vs AGENTS.md

About CLAUDE.md

What is CLAUDE.md?

A file Claude Code reads at the start of every session. It holds the commands, conventions and warnings the agent needs for this project.

Where does it go?

At the repository root. Claude Code also reads CLAUDE.md files in subdirectories when it works there.

What should it contain?

Build and test commands, the project's layout, conventions that aren't obvious from the code, and mistakes to avoid. Short files tend to work better than long ones.

CLAUDE.md or AGENTS.md?

Claude Code reads CLAUDE.md; most other agents read AGENTS.md. Many projects keep one and point the other at it.