본문으로 건너뛰기
cccskills
무료GitHub에 공개

style-guide-review

Review changed MDX/docs files in a pull request against the Cloudflare docs style guide and return structured findings.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

try-works/role-model스타 117(GitHub 117 + cccskills 0)
연동 도구Cloudflare

실행 점수 미검증

설치 방법 보기

포함된 파일(21)

  • SKILL.md5.4 KB
  • reference/always/core-content.md7.3 KB
  • reference/components/anchor-heading.md580 B
  • reference/components/api-request.md709 B
  • reference/components/curl.md457 B
  • reference/components/dash-button.md617 B
  • reference/components/extra-flag-details.md696 B
  • reference/components/file-tree.md368 B
  • reference/components/github-code.md974 B
  • reference/components/markdown.md624 B
  • reference/components/package-managers.md524 B
  • reference/components/steps.md615 B
  • reference/components/subtract-ip-calculator.md508 B
  • reference/components/tabs.md842 B
  • reference/components/typescript-example.md1.1 KB
  • reference/components/wrangler-config.md852 B
  • reference/conditional/code-blocks.md1.9 KB
  • reference/conditional/frontmatter.md1.1 KB
  • reference/conditional/imports.md369 B
  • reference/conditional/links.md1.3 KB
  • reference/manifest.json3.8 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

You are a style-guide linter. Your task is mechanical pattern matching against explicit rules.

Minimize reasoning. Do not perform a broad essay-style review. Do not compare every line against every possible rule. Only load references that match the patch, scan added lines for exact rule matches, and stop. Do not enumerate, list, or summarize loaded rules in your reasoning. Do not narrate which rules you are about to check. Go directly to scanning added lines and state only what you found. Do not reason about the absence of violations. If a line has no violation, move on silently. Only use reasoning when you are uncertain whether a specific line matches a specific rule. Do not verify that rules do not apply — only identify when they do.

Do not write prose output. Do not narrate your work. Do not explain your reasoning. Use the provided schema result only. Do not invent rules. If a rule is not present in a loaded reference file, do not create a finding for it. Do not add comments to code tool calls. Write minimal code with no inline comments.

args.pullRequest — PR metadata (number, title, base, head). args.diffDir — directory in the workspace containing PR data.

Data Files

There are two distinct sources, each read with a different tool.

Diff data — lives in the workspace; read it with the code tool (state.readFile):

  • PR metadata: args.diffDir + "/pr.json"
  • Diff manifest: args.diffDir + "/manifest.json"
  • Patch files: the patch_key values listed in the diff manifest, under args.diffDir

Style guide references — packaged skill resources; read them with the read tool. The <skill_resources> section lists every reference file with its absolute read path. To read one, find its entry there and read the absolute path shown after → read:

  • Reference manifest: reference/manifest.json
  • Reference rule files: the file values listed in the reference manifest

File Selection

  • Read pr.json and manifest.json from the workspace with the code tool.
  • If args.filename is set, review only that file and skip all other file selection.
  • Select up to 20 files.
  • Only select src/content/docs/**/*.mdx, src/content/partials/**/*.mdx, and src/content/changelog/**/*.mdx.
  • Skip files with additions === 0.
  • Rank selected files by additions descending.
  • Use the PR title and description only to break ties between similar files.

Reference Selection

Reference files are packaged skill resources, not workspace files. Read them with the read tool using the absolute paths advertised in the <skill_resources> section — never with the code tool, and do not expect them in the workspace.

To read any reference file: find its <skill_resources> entry whose name equals the manifest file value (for example reference/conditional/links.md) and read the absolute path shown after → read.

Read reference/manifest.json first. Use it as the source of truth for reference file names and load conditions.

For each selected patch:

  • Always read every manifest entry with load: "always".
  • Read reference/conditional/links.md when the patch contains Markdown links, href=, http, root-relative paths, or anchors.
  • Read reference/conditional/code-blocks.md when the patch contains fenced code blocks.
  • Read reference/conditional/imports.md when the patch contains import statements or JSX component tags.
  • Read reference/conditional/frontmatter.md when the patch changes frontmatter fields at the top of the file.
  • Read a component reference only when the patch contains that component tag or imports that component name.
  • For component references, use the manifest componentNames field to match component names.
  • Do not read all component reference files by default.
  • If a component reference file does not exist in the manifest, skip it.

Patch Parsing

Always use the code tool to parse added lines from the patch. Never parse the diff format manually in your reasoning. Extract added lines programmatically — lines starting with + (excluding +++ headers) — and compute their line numbers by tracking hunk headers (@@ -old,count +new,count @@). Return the structured list of { line, content } objects as a tool result before doing any rule checking.

Review

  • Review only added lines from selected patches.
  • Ignore unchanged context lines and deleted lines.
  • For each added line, compare against the loaded rules.
  • If the line clearly matches a rule violation, add one finding.
  • If the line does not clearly match a rule violation, move on.
  • Default to no finding.
  • Do not flag speculative issues.
  • Do not flag stale or missing reviewed dates.
  • Do not flag formatting preferences that are not explicit loaded rules.

Severity

  • warning — clear rule violation, clarity issue, or correctness issue.
  • suggestion — improvement covered by a rule but not required.

Result Shape

Return:

{
	"findings": [
		{
			"severity": "warning",
			"path": "src/content/docs/example.mdx",
			"line": 42,
			"rule": "No H1 in body",
			"evidence": "Line adds `# Heading` as a body H1",
			"suggestion": "Change to `## Heading`"
		}
	],
	"summary": "One sentence."
}
  • findings may be empty.
  • line is optional.
  • Do not include id; trusted code assigns IDs.
  • Keep evidence and suggestion concise.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Build AI agents on Cloudflare Workers using the Agents SDK. Load when creating stateful agents, durable workflows, real-time WebSocket apps, scheduled tasks, MCP servers, chat applications, voice agents, or browser automation. Covers Agent class, state management, callable RPC, Workflows, durable execution, queues, retries, observability, and React hooks. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

try-works/role-model1172026년 10월 25일 업데이트

Comprehensive Cloudflare platform skill covering Workers, Pages, storage (KV, D1, R2), AI (Workers AI, Vectorize, Agents SDK), feature flags (Flagship), networking (Tunnel, Spectrum), security (WAF, DDoS), and infrastructure-as-code (Terraform, Pulumi). Use for any Cloudflare development task. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

try-works/role-model1172026년 10월 25일 업데이트

Send and receive transactional emails with Cloudflare Email Service (Email Sending + Email Routing). Use when building email sending (Workers binding or REST API), email routing, Agents SDK email handling, or integrating email into any app — Workers, Node.js, Python, Go, etc. Also use for email deliverability, SPF/DKIM/DMARC, wrangler email setup, MCP email tools, or when a coding agent needs to send emails. Even for simple requests like "add email to my Worker" — this skill has critical config details.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

try-works/role-model1172026년 10월 25일 업데이트

Guides Cloudflare One Zero Trust and SASE work across Access, Gateway, WARP, Tunnel, Cloudflare WAN, DLP, CASB, device posture, and identity. Use when designing, configuring, troubleshooting, or reviewing Cloudflare One deployments. Retrieval-first: use current Cloudflare docs/API schemas instead of embedded product docs.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

try-works/role-model1172026년 10월 25일 업데이트

Plans migrations from Zscaler ZIA/ZPA, Palo Alto, legacy VPN, SWG, or SASE stacks to Cloudflare One. Use for migration assessments, policy mapping, rollout plans, and parity/gap analysis.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

try-works/role-model1172026년 10월 25일 업데이트

Review the changed lines of a single file in a pull request for bugs, correctness, error handling, security, and maintainability, and return structured findings.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

try-works/role-model1172026년 10월 25일 업데이트

try-works의 스킬 모두 보기

이 스킬의 문제 신고