check
免费Verify all outputs exist after creating a new component and fix any issues
中文简介正在准备中。当前显示原文说明。
Generate or update documentation for Terrae components
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Generate or update documentation for Terrae components.
Use src/app/docs/lines-animated/page.tsx as the reference for component documentation structure and patterns.
Determine Documentation Type Ask the user what they need:
For Component Documentation
Location: src/app/docs/{component-name}/page.tsx
Examples Location: src/app/docs/_components/examples/{example-name}.tsx
Structure:
Example Component Patterns
Use h-full w-full for the container div (NOT fixed heights like h-[400px])
The ComponentPreview wrapper handles sizing
Always get accessToken from environment variable
Example structure:
export const ExampleName = () => {
const accessToken = process.env.NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN || ""
return (
<div className="h-full w-full">
<Map accessToken={accessToken} center={CENTER} zoom={10}>
{/* Component here */}
</Map>
</div>
)
}
For Weeklog Entries
Location: src/app/docs/weeklog/page.tsx
Add new entries at the top with:
Documentation Patterns
Review Process
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Verify all outputs exist after creating a new component and fix any issues
中文简介正在准备中。当前显示原文说明。
Create standardized git commits following Terrae's conventions
中文简介正在准备中。当前显示原文说明。
Systematically fix issues found by /review or reported by the user
中文简介正在准备中。当前显示原文说明。
Read a GitHub issue, summarize it, and create a branch for it
中文简介正在准备中。当前显示原文说明。
Run linting and type checking across the Terrae codebase
中文简介正在准备中。当前显示原文说明。
End-to-end workflow for building a new Terrae component from scratch
中文简介正在准备中。当前显示原文说明。