()
| 5 | import LinkIcon from "@/components/icons/LinkIcon"; |
| 6 | |
| 7 | export default function WhySection() { |
| 8 | return ( |
| 9 | <Section |
| 10 | id="why" |
| 11 | title="Why AGENTS.md?" |
| 12 | className="pt-24 pb-12" |
| 13 | center |
| 14 | maxWidthClass="max-w-3xl" |
| 15 | > |
| 16 | <div className="space-y-4"> |
| 17 | <p className="mb-4"> |
| 18 | README.md files are for humans: quick starts, project descriptions, |
| 19 | and contribution guidelines. |
| 20 | </p> |
| 21 | <p className="mb-4"> |
| 22 | AGENTS.md complements this by containing the extra, sometimes detailed |
| 23 | context coding agents need: build steps, tests, and conventions that |
| 24 | might clutter a README or aren’t relevant to human contributors. |
| 25 | </p> |
| 26 | <p className="mb-4">We intentionally kept it separate to:</p> |
| 27 | <div className="flex flex-col gap-4"> |
| 28 | <div className="flex items-center gap-3"> |
| 29 | <ClipboardIcon /> |
| 30 | <p> |
| 31 | <span className="font-semibold block"> |
| 32 | Give agents a clear, predictable place for instructions. |
| 33 | </span> |
| 34 | </p> |
| 35 | </div> |
| 36 | |
| 37 | <div className="flex items-center gap-3"> |
| 38 | <UserIcon /> |
| 39 | <p> |
| 40 | <span className="font-semibold block"> |
| 41 | Keep READMEs concise and focused on human contributors. |
| 42 | </span> |
| 43 | </p> |
| 44 | </div> |
| 45 | |
| 46 | <div className="flex items-center gap-3"> |
| 47 | <LinkIcon /> |
| 48 | <p> |
| 49 | <span className="font-semibold block"> |
| 50 | Provide precise, agent-focused guidance that complements |
| 51 | existing README and docs. |
| 52 | </span> |
| 53 | </p> |
| 54 | </div> |
| 55 | </div> |
| 56 | <p> |
| 57 | Rather than introducing another proprietary file, we chose a name and |
| 58 | format that could work for anyone. If you’re building or using |
| 59 | coding agents and find this helpful, feel free to adopt it. |
| 60 | </p> |
| 61 | </div> |
| 62 | </Section> |
| 63 | ); |
| 64 | } |
nothing calls this directly
no outgoing calls
no test coverage detected