length
하는 일
이 스킬은 사이트의 웹 주소를 검토하고 더 짧고 깔끔한 버전을 제안합니다. 페이지 슬러그를 만드는 사이트 운영자와 작성자를 위한 것입니다.
사용하는 경우
- ✓페이지 주소가 길고 의미 없는 단어로 가득할 때.
- ✓웹 주소에 폴더나 날짜가 여러 단계로 중첩되어 있을 때.
- ✓기사 제목으로 페이지 슬러그를 만들 때.
스킬 링크
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/length/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 블로그의 페이지 주소를 짧게 줄여 주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 각 경로의 길이, 불용어, 깊은 중첩, 오래 유효한 콘텐츠의 날짜를 검토합니다. 핵심 단어를 살리면서 더 짧은 슬러그를 제안합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Keep URLs concise
While Google has no strict URL length limit beyond technical constraints, long URLs with deep nesting, excessive parameters, or redundant words are harder for users to read, copy, and share. Google's John Mueller has confirmed that shorter, cleaner URLs are easier to understand and may perform slightly better in search.
Quick Reference
- Keep URL paths under 100 characters; Google recommends short, descriptive URLs without unnecessary parameters
- Remove stop words (
the,a,of,in) from slugs —/guide-css-gridis better than/a-guide-to-css-grid - Deeply nested paths (
/blog/2024/03/category/subcategory/post-title) are harder to share and signal distance from the root
Check
For each page URL, extract the path component (excluding domain and query string). Flag: (1) Path length over 100 characters. (2) More than 4 path segments (e.g., /a/b/c/d/e has 5 segments). (3) Common stop words in slugs (the, a, an, of, in, at, to, for, with). (4) Dates in URL paths for evergreen content (e.g., /blog/2024/03/css-guide). (5) Session IDs, tracking parameters, or other dynamic values in paths.
Fix
- Shorten slugs by removing stop words:
/how-to-optimise-your-websites-core-web-vitals→/optimise-core-web-vitals/a-comprehensive-guide-to-css-grid-layout→/css-grid-guide
- Flatten URL structure where category hierarchy is not essential:
/blog/2024/march/technology/css-grid→/blog/css-grid
- Remove dates from evergreen content URLs (with 301 redirects from old URLs).
- Remove session IDs and tracking parameters from URLs used as canonical-url URLs.
- Implement changes with 301 redirects from old to new URLs to preserve link equity.
- Update sitemaps and internal links after URL changes.
Explain
Google recommends keeping URLs 'simple, descriptive, and readable'. Long URLs are more prone to being truncated in search snippets, harder to share, and more confusing to users. Deep URL structures (many subdirectories) do not directly harm rankings, but they can increase crawl distance from the root, reducing crawl frequency for deep pages on large sites.
Code Review
Parse the pathname of each URL. Count path segments (split by /). Measure character length of the path. Flag slugs containing common stop words. Report the longest 10 URLs by character count and deepest 10 by segment count. Check whether URL generation utilities strip stop words and limit segment depth.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
자주 묻는 질문
URL 길이에 엄격한 제한이 있나요?
스킬은 엄격한 제한은 없지만 경로를 약 100자 이내로 유지하라고 제안합니다.
슬러그에서 어떤 단어를 빼야 하나요?
스킬은 the, a, of, in 같은 불용어를 빼라고 제안합니다.
URL에 날짜를 넣어야 하나요?
스킬은 오래 유효한 콘텐츠에서 경로의 날짜는 문제가 되므로 피하라고 제안합니다.
상세 정보
작성자의 원본 설명
Use when generating URL slugs from article titles, auditing URL structures for unnecessary depth or length, or reviewing URL patterns in a CMS or router configuration.
인기도
- GitHub 스타
- 75k
- 순위
- #2919
- 라이선스
- MIT
- 업데이트
- 2026. 10. 31.
댓글
- …
이 저장소의 다른 스킬
frontendchecklist
75k명령줄 도구를 사용해 380개가 넘는 규칙으로 프런트엔드 코드와 실시간 페이지를 접근성, 속도, SEO, 보안 측면에서 점검합니다.
frontend-checklist-global
75kFront-End Checklist의 386개 규칙 전체로 프런트엔드 프로젝트를 감사하고, 발견한 문제마다 구체적인 해결 방법을 제시합니다.
404-page
75k없는 페이지 화면에 도움이 되는 링크가 있고 실제 404 상태 코드를 반환하는지 확인해, 길을 잃은 방문자를 돕습니다.
about-page
75k사이트를 운영하는 사람을 설명하는 명확한 소개 페이지가 있는지 검토해, 방문자와 검색 엔진의 신뢰를 높입니다.
비슷한 스킬
competitive-platform-analysis
280k경쟁사를 식별하고 분류하며 걸러내 더 깊은 분석을 하기 전에 경쟁 구도를 이해하도록 돕습니다.
competitive-report-structure
280k경쟁사 정보를 결합해 전체 시장 현황과 추천 사항을 보여 주는 종합 보고서를 만들고, 팀의 방향을 맞추도록 돕습니다.
lead-intelligence
280k중요한 사람을 찾고 연락하도록 에이전트를 돕습니다. 잠재 고객을 분석하고 접근 방법을 제안하며, 이메일과 소셜 미디어를 통한 연락을 관리합니다.