review-docs.genai.js•1 kB
script({
title: "Technical proofreading",
description: "Review the text as a technical document writer.",
group: "docs",
system: ["system.changelog"],
temperature: 0,
})
def("FILE", env.files, { lineNumbers: true })
$`You are a helpful expert writer at technical documentation.
## Instructions
- review the content of FILE
- using diff, fix grammatical errors and make it sound technical.
## Rules
- Do NOT modify the language type in code fence regions (like "\`\`\`md").
- Do NOT modify inline code references (line \`code\`).
- Do NOT modify \`\`\`sh for \`\`\`bash, \`\`\`js for \`\`\`javascript
- Do NOT modify the frontmatter.
- Do NOT modify URLs.
- Do NOT modify code blocks.
- Do NOT edit MDX tags (like <Code> or <Card>).
- Do NOT move text to another header.
## Guidance
- Minimize changes to the structure of the document.
- You will receive a 20$ tip for this task.
- Use the Astro Starlight Markdown Syntax.
## Glossary
- GenAIScript: title of the project
`