Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

url-structure网址结构

Agent Skill

url-structure 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

12,705

周安装

519

GitHub Stars

409

下载量

4,110
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:url-structure(网址结构)
来源仓库:https://github.com/kostja94/marketing-skills
仓库路径:skills/url-structure
安装命令:
npx skills add https://github.com/kostja94/marketing-skills --skill url-structure
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/kostja94/marketing-skills --skill url-structure

简介

url-structure 用于查找和筛选与网址结构相关的信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果或分析网站架构模式。

  • 适用于前端开发、SEO 优化或内容管理系统的路径设计场景,可根据关键词或任务线索检索常见结构、工具推荐或最佳实践。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 核验具体用法和输入参数格式。
  • 使用前应确认权限范围、维护状态,并注意是否会触发联网或外部 API 调用,避免产生意外费用或安全风险。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

SEO On-Page: URL Structure

Guides URL structure optimization for SEO: readability, hierarchy, and best practices.

When invoking: On first use, if helpful, open with 1–2 sentences on what this skill covers and why it matters, then provide the main output. On subsequent use or when the user asks to skip, go directly to the main output.

Scope (On-Page SEO)

  • URL hierarchy: Path structure, categories, depth
  • URL format: Static vs dynamic; omit file extensions
  • URL slug: See url-slug-generator for slug creation (3–5 words, under 60 chars)
  • Duplicate variants: See canonical-tag for HTTPS, www, trailing slash

Initial Assessment

Check for project context first: If .claude/project-context.md or .cursor/project-context.md exists, read it for site structure.

Identify:

  1. Site structure: Categories, subcategories, content types
  2. Current URLs: Existing patterns and issues
  3. Multi-language: URL structure for zh/en (e.g., /zh/, /en/ or subdomains)

Best Practices

URL Guidelines

PrincipleGuideline
ReadableUse words, not IDs; /blog/seo-guide not /p/12345
ShortShorter is generally better; avoid unnecessary depth
KeywordInclude target keyword when natural
LowercaseUse lowercase; avoid mixed case
HyphensUse hyphens to separate words: seo-guide
AvoidSpecial chars, query params for core content, session IDs

Hierarchy

PatternExampleUse
Flat/page-nameSimple sites
Category/blog/post-name, /tools/tool-nameContent sites
Nested/category/subcategory/pageDeep hierarchies (keep shallow)

Multi-language

PatternExample
Path prefix/zh/page, /en/page
Subdomainzh.example.com, en.example.com
ccTLDexample.cn, example.com

Static vs Dynamic vs Pseudo-Static URLs

TypeExampleUse
Static/blog/seo-guideDirect file; best SEO; content stable
Dynamic/product?id=123Program-generated; avoid for indexable content
Pseudo-static/blog/seo-guide (rewritten from .php)Combines both; common in CMS
RulePrefer static or pseudo-static; if dynamic, keep params ≤2; use canonical-tag and robots-txt (Clean-param)

File Extensions

  • Omit .html, .php, .aspx — keeps URLs technology-agnostic, shorter, easier to refactor
  • Example: /seo-guide not /seo-guide.html

URL Parameter Handling

ScenarioApproach
UTM / trackingCanonical to base URL; params in query string only
Search resultsCanonical to search page; avoid indexing result URLs
Filters / sortCanonical to base; or robots-txt Clean-param
Session IDsUse cookies; never in indexable URLs

Use Cases

ScenarioFocus
New sitePlan hierarchy upfront; avoid later restructuring
Migration301 mapping; canonical; see canonical-tag
Large siteDynamic URLs, params, multi-language — canonical + robots
SEO auditCheck structure, params, canonical consistency

Common Issues

IssueFix
Long URLsShorten; remove redundant words
Dynamic paramsUse canonical; clean params in robots (Yandex Clean-param)
Mixed caseRedirect to lowercase
Changed URLs301 redirect old to new

Output Format

Related Skills

  • website-structure: Plan structure and URL paths; apply url-structure rules after structure is defined
  • canonical-tag: HTTPS, www, trailing slash — handles duplicate URL variants
  • url-slug-generator: Slug creation for content pages; length, keywords, format
  • category-page-generator: E-commerce category URL hierarchy, faceted URLs
  • products-page-generator: Product URL hierarchy
  • services-page-generator: Service URL hierarchy
  • robots-txt: Clean-param for query params
  • internal-links: URL structure affects link patterns

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.77%
按下载量换算1,511

Claude

31.15%
按下载量换算1,280

Cursor

20.45%
按下载量换算840

Gemini CLI

9.36%
按下载量换算385

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills