MCPcopy Create free account
hub / github.com/boringstack-xyz/boringstack / DocsGuide

Function DocsGuide

apps/docs/src/components/landing/DocsGuide.tsx:4–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2import { SectionHeading } from "./LandingPrimitives";
3
4const steps = [
5 {
6 number: "01",
7 file: "/agents.md",
8 title: "Give your agent the map.",
9 detail:
10 "Setup instructions, health checks, and the rules it must preserve. One fetch to get its bearings.",
11 href: "/agents.md",
12 link: "Read the agent contract",
13 },
14 {
15 number: "02",
16 file: "/install.sh",
17 title: "Let the stack assemble.",
18 detail:
19 "Preflight, scaffold, rename, boot, and health check. Five phases from a fresh project to a running stack.",
20 href: "/quickstart/",
21 link: "Follow the quickstart",
22 },
23 {
24 number: "03",
25 file: "bun run factory workspace new <issue>",
26 title: "Build an issue through the factory.",
27 detail:
28 "Your own worktree and stack. The verify gate decides when it is done; its risk decides who merges.",
29 href: "/factory/",
30 link: "Read the factory guide",
31 },
32];
33
34export function DocsGuide() {
35 return (
36 <section className="bs-section" aria-labelledby="bs-docs-title">
37 <SectionHeading
38 id="bs-docs-title"
39 eyebrow="04 / FIRST CONTACT"
40 title="One instruction. Then your first feature."
41 body="The setup is documented for your agent and readable by you. Start with the map; pull in the details as you build."
42 />
43 <div className="bs-setup-steps">
44 {steps.map((step) => (
45 <a key={step.number} href={step.href}>
46 <div className="bs-step-top">
47 <span>{step.number}</span>
48 <span>{step.file}</span>
49 </div>
50 <h3>{step.title}</h3>
51 <p>{step.detail}</p>
52 <span className="bs-text-link">
53 {step.link} <span aria-hidden="true">↗</span>
54 </span>
55 </a>
56 ))}
57 </div>
58 <details className="bs-install-details">
59 <summary>
60 Prefer to run the installer yourself?{" "}
61 <span aria-hidden="true">+</span>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected