본문으로 건너뛰기
Skillpedia
SEO75k · #3023

sitemap-valid

하는 일

이 스킬은 XML 사이트맵의 네임스페이스, URL 형식, 크기 제한, 특수 문자 등 구조를 확인하고 문제를 고칩니다. 사이트맵을 손으로 만들거나 코드로 생성하는 개발자와 운영자를 위한 스킬입니다.

사용하는 경우

  • ✓사이트맵 파일이 유효한지 확인해 달라고 에이전트에게 요청할 때.
  • ✓사이트맵을 제출할 때 Search Console이 오류를 보고할 때.
  • ✓사이트맵이 커져서 여러 파일로 나눠야 할 때.

스킬 링크

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/sitemap-valid/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/sitemap-valid/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Google Search Console이 제 사이트맵에 오류가 있다고 합니다. 파일이 유효한지 확인하고 고쳐 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 파일이 표준 사이트맵 형식을 따르는지 확인합니다. 네임스페이스, 절대 주소, 크기 제한을 점검하고, 앰퍼샌드(&) 같은 특수 문자를 인코딩하며, 너무 큰 파일은 인덱스와 함께 여러 사이트맵으로 나눕니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Keep XML sitemaps valid

An invalid or malformed sitemap is silently ignored by search engines, leaving newly published or orphaned pages undiscovered by crawlers.

Quick Reference

  • The root element must be <urlset> with the correct xmlns namespace
  • Each <url> must contain exactly one <loc> element with a fully qualified, percent-encoded URL
  • Maximum 50,000 URLs and 50 MB per sitemap file; use a sitemap index for larger sites
  • Encode XML special characters: & → &amp;, < → &lt;, > → &gt;, " → &quot;, ' → &apos;

Check

Fetch the sitemap and validate it against the sitemaps.org schema. Check that the xmlns attribute is http://www.sitemaps.org/schemas/sitemap/0.9, all <loc> values are absolute URLs, no file exceeds 50,000 URLs or 50 MB, and special characters are properly XML-encoded.

Fix

Re-generate the sitemap using a validated sitemap library. Encode all special characters in URLs (& → &amp;). Split oversized sitemaps into multiple files and reference them from a sitemap index. Resubmit to Google Search Console.

Explain

Explain the sitemaps.org XML schema requirements, what causes validation errors in Google Search Console, and how encoding errors in <loc> URLs prevent crawlers from fetching those pages.

Code Review

Review metadata generation, rendered HTML, structured data, and response headers related to Keep XML sitemaps valid. Flag exact routes or templates where search-facing output violates the rule, and describe how to verify the final page output.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/seo/sitemap-valid

자주 묻는 질문

크기 제한은 어떻게 되나요?

스킬에 따르면 사이트맵 파일 하나에는 최대 50,000개의 URL과 50MB까지 담을 수 있으며, 더 큰 사이트는 사이트맵 인덱스를 사용해야 합니다.

앰퍼샌드는 왜 중요한가요?

스킬에 따르면 URL의 특수 문자는 반드시 인코딩해야 합니다. 인코딩하지 않으면 파일이 깨지고 크롤러가 주소를 읽지 못할 수 있습니다.

사이트맵은 어떻게 고쳐야 하나요?

스킬은 검증된 사이트맵 라이브러리로 다시 생성한 뒤 Search Console에 다시 제출할 것을 제안합니다.

상세 정보

작성자의 원본 설명

Use when applies to any site with a manually or programmatically generated XML sitemap. Use when debugging sitemap submission errors in Google Search Console.

repo: thedaviddias/Front-End-Checklist

인기도

GitHub 스타
75k
순위
#3023
라이선스
MIT
업데이트
2026. 10. 31.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬