一键导入
setup-project-page
Set up docs/pages/ directory and files to generate a project landing page with project-page-starter. Use when adding a landing page to a project.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Set up docs/pages/ directory and files to generate a project landing page with project-page-starter. Use when adding a landing page to a project.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | setup-project-page |
| description | Set up docs/pages/ directory and files to generate a project landing page with project-page-starter. Use when adding a landing page to a project. |
This skill scaffolds a landing page using the project-page-starter generator. It creates a complete docs/pages/ directory structure, configuration, theme, HTML sections, README markers, and optionally a GitHub Actions workflow. The generator repository at https://github.com/jakobwesthoff/project-page-starter is the single source of truth for templates, CSS, and the build pipeline.
Inspect the project to extract:
name field, or directory namedescription in manifestuser/repo from git remote (git remote get-url origin) or manifest repository fieldauthor, authors), git config, or README#7c3aed if nothing fitsPresent the extracted information and ask the user to confirm or adjust:
docs/pages/
docs/pages/sections/
docs/pages/assets/
docs/pages/config.yamlSee references/config.md for schema, fields, and examples.
docs/pages/theme.cssSee references/theme-and-readme.md for CSS variable overrides.
Create each file in docs/pages/sections/. See references/sections.md for complete templates and CSS class reference.
Standard sections in order:
sections/hero.html — project name, tagline, CTA buttonssections/highlights.html — 3-card feature gridsections/demo.html — (optional) macOS window frame with videosections/quick-start.html — tabbed install instructionssections/footer.html — tagline, credit, optional imprint linkSee references/theme-and-readme.md for marker format and placement strategy.
See references/workflow.md for the complete workflow file.
When analyzing a project, look for these signals:
package.json, Cargo.toml, pyproject.toml, go.modrgba(), var()) for --color-primary or --color-primary-hover — they MUST be plain hex values (e.g. #7c3aed). The auto-generated favicon parses these as hex and will break otherwise.<html>, <head>, <body>, or <!DOCTYPE> to section files — they are HTML fragments injected into the generator's page template.source: readme in config.yaml to pull documentation from the README.config.yaml sections array, and vice versa.class="section" on hero, highlights, quickstart, demo, or footer elements — each has its own layout class that provides the correct spacing.