Agent Skillsfranklioxygen/agent-workflows › project-initialization

project-initialization

GitHub

用于引导新项目和绿色代码库的初始化。通过执行标准化工作流,完成目录确认、工具选型、脚手架生成及验证。支持最小化、标准和复杂项目场景,确保配置正确并安全交接至功能开发阶段。

skills/project-initialization/SKILL.md franklioxygen/agent-workflows

Trigger Scenarios

创建新项目 初始化仓库 搭建绿色代码库 选择初始工具链 设置包管理 生成基础配置文件

Install

npx skills add franklioxygen/agent-workflows --skill project-initialization -g -y
More Options

Use without installing

npx skills use franklioxygen/agent-workflows@project-initialization

指定 Agent (Claude Code)

npx skills add franklioxygen/agent-workflows --skill project-initialization -a claude-code -g -y

安装 repo 全部 skill

npx skills add franklioxygen/agent-workflows --all -g -y

预览 repo 内 skill

npx skills add franklioxygen/agent-workflows --list

SKILL.md

Frontmatter
{
    "name": "project-initialization",
    "description": "Bootstrap new projects and greenfield repositories using the agent-workflows project initialization workflow. Use when Codex is asked to create a new project, initialize a repository, scaffold a greenfield codebase, choose initial tooling, set up package management, create baseline README\/.gitignore\/configuration, or validate an initial scaffold."
}

Project Initialization

Quick Start

  • Find the nearest agent-workflows library. If it is not near the workspace, ask for AGENT_WORKFLOWS_ROOT or the library path.
  • Read project-initialization-agent-workflow.md.
  • Read ../_shared/references/skill-operating-rules.md.
  • Apply the workflow directly. Do not just restate prompt templates unless the user explicitly asks for templates.
  • Require an explicit target directory before creating files.

Operating Rules

  • Use this skill for new projects, greenfield codebases, initial repository scaffolds, and project tooling setup.
  • Treat the workflow file as the source of truth for preflight, triage, planning, scaffolding, validation, and handoff.
  • Run the workflow's preflight before triage so target-directory state, parent workspace rules, local instructions, available tooling, and unrelated local changes are known.
  • For Minimal projects, scaffold directly with sensible defaults after confirming the target directory.
  • For Standard and Complex projects, follow the plan/review/scaffold/validate/handoff sequence in the workflow.
  • Do not commit or push without explicit permission.
  • Do not overwrite, revert, delete, or reformat unrelated user changes.
  • Stop and ask if the target directory is missing, ambiguous, or unexpectedly pre-populated.

Execution Guidance

  1. Confirm the target directory and inspect its current state.
  2. Load and follow the triage gate from project-initialization-agent-workflow.md.
  3. Select the appropriate path:
    • Minimal: use the Minimal Project Prompt.
    • Standard: gather requirements, create/review the plan, then scaffold and validate.
    • Complex: complete the full workflow with separate review and validation passes.
  4. When scaffolding, keep generated files inside the confirmed target directory.
  5. Validate with the ecosystem's relevant install, lint, type check, build, test, and smoke commands.
  6. Report files created, tooling configured, validation results, deviations, known limitations, and next steps.

References

Handoff

  • If the initialized project is ready for feature work, hand off to the feature development workflow.
  • If validation exposes a narrow defect in the scaffold, fix it inside this workflow.
  • If validation exposes a larger design or technology decision, return to the project plan before changing the scaffold.

Version History

  • 063f52c Current 2026-07-05 20:14

Same Skill Collection

skills/docs-maintenance/SKILL.md
skills/migration-planning/SKILL.md
skills/performance-review/SKILL.md
skills/release-prep/SKILL.md
skills/security-review/SKILL.md
skills/test-strategy/SKILL.md
skills/workflow-automation/SKILL.md
skills/workflow-maintainer/SKILL.md
zh-cn/skills/docs-maintenance/SKILL.md
zh-cn/skills/migration-planning/SKILL.md
zh-cn/skills/performance-review/SKILL.md
zh-cn/skills/project-initialization/SKILL.md
zh-cn/skills/release-prep/SKILL.md
zh-cn/skills/security-review/SKILL.md
zh-cn/skills/test-strategy/SKILL.md
zh-cn/skills/workflow-automation/SKILL.md
zh-cn/skills/workflow-maintainer/SKILL.md

Metadata

Files
0
Version
063f52c
Hash
e712ad19
Indexed
2026-07-05 20:14

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-08 20:19
浙ICP备14020137号-1 $Гость$