Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计提醒

sovereign-project-setup-wizard主权项目设置向导

Agent Skill

sovereign-project-setup-wizard 用于辅助 Python 项目开发、测试和数据处理,适合在 OpenClaw 中需要阅读 Python 代码、运行测试或整理脚本流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

17,217

周安装

732

GitHub Stars

公开资料未说明

下载量

6,032
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:sovereign-project-setup-wizard(主权项目设置向导)
来源仓库:https://github.com/ryudi84/sovereign-project-setup-wizard
安装命令:
openclaw skills install sovereign-project-setup-wizard
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install sovereign-project-setup-wizard

简介

为 Node.js、Python、Go 或 Rust 生成标准化项目脚手架。

  • 包含目录结构、.gitignore、许可证与 CI/CD 配置。
  • 支持 linting 与测试集成,加速生产就绪环境搭建。
  • 使用前需确认目标语言与运行环境,避免兼容性问题。sovereign-project-setup-wizard 属于开发类 Skill,可作为该场景下的辅助能力补充。
  • 建议查看原始 README 了解模板选择与自定义选项。

SKILL.md

Project Setup Wizard

An interactive project scaffolding tool that generates complete, production-ready project structures for Node.js, Python, Go, and Rust with proper .gitignore, README, CI/CD configurations, and Dockerfiles.

Overview

Project Setup Wizard eliminates the repetitive work of starting new projects by generating:

  • Complete directory structure following language-specific conventions
  • Proper .gitignore tuned for the chosen language and toolchain
  • README.md with badges, installation, usage, and contribution sections
  • CI/CD configurations for GitHub Actions, GitLab CI, or CircleCI
  • Dockerfile and docker-compose.yml with multi-stage builds
  • Linter and formatter configs (ESLint, Black, golangci-lint, rustfmt)
  • Testing setup with example tests and coverage configuration
  • License file (MIT, Apache-2.0, or GPL-3.0)
  • Editor config (.editorconfig, VS Code settings)

Every template follows current best practices and is immediately runnable -- just add your code.

Installation

Via ClawHub

openclaw install project-setup-wizard

Manual Installation

  1. Copy the skill into your OpenClaw skills directory:
mkdir -p ~/.openclaw/skills/
cp -r project-setup-wizard/ ~/.openclaw/skills/
  1. Make the script executable:
chmod +x ~/.openclaw/skills/project-setup-wizard/scripts/setup.sh
  1. Verify the installation:
openclaw list --installed

Requirements

  • bash (version 4.0 or higher)
  • git (version 2.0 or higher)

Optional (for language-specific validation):

  • node and npm (for Node.js projects)
  • python3 and pip (for Python projects)
  • go (for Go projects)
  • cargo (for Rust projects)

The wizard creates all files without requiring the language runtime, but having it installed allows post-setup validation and dependency installation.

Usage

Interactive Mode

Run without arguments to use the interactive wizard:

openclaw run project-setup-wizard

The wizard prompts you for:

  1. Project name
  2. Language (Node.js, Python, Go, Rust)
  3. Project description
  4. Author name and email
  5. License type
  6. CI/CD provider
  7. Whether to include Docker support
  8. Whether to initialize a git repository

Non-Interactive Mode

Pass all options via command-line flags:

openclaw run project-setup-wizard [OPTIONS]

Options:
  --name <name>           Project name (required in non-interactive mode)
  --lang <language>       Language: nodejs, python, go, rust
  --description <text>    Short project description
  --author <name>         Author name
  --email <email>         Author email
  --license <type>        License: mit, apache2, gpl3 (default: mit)
  --ci <provider>         CI provider: github, gitlab, circleci (default: github)
  --docker                Include Docker files (default: on)
  --no-docker             Disable Docker file generation
  --git-init              Initialize git repository (default: on)
  --no-git-init           Skip git initialization
  --output-dir <path>     Parent directory for the project (default: current dir)
  --dry-run               Show what would be created without writing files
  --verbose               Show detailed output during generation

Direct Script Execution

./scripts/setup.sh --name my-api --lang python --ci github --docker

Configuration

skill.json Settings

{
  "config": {
    "supported_languages": ["nodejs", "python", "go", "rust"],
    "include_docker": true,
    "include_ci": true,
    "include_readme": true,
    "include_gitignore": true,
    "ci_provider": "github-actions",
    "license_type": "MIT"
  }
}
SettingTypeDefaultDescription
supported_languagesarrayall fourLanguages available in the wizard
include_dockerbooleantrueGenerate Docker files by default
include_cibooleantrueGenerate CI/CD config by default
include_readmebooleantrueGenerate README.md by default
include_gitignorebooleantrueGenerate .gitignore by default
ci_providerstring"github-actions"Default CI/CD provider
license_typestring"MIT"Default license for new projects

Environment Variables

export PSW_LANG=python
export PSW_CI=github
export PSW_LICENSE=mit
export PSW_AUTHOR="Your Name"
export PSW_EMAIL="you@example.com"
export PSW_DOCKER=true

Generated Project Structures

Node.js

my-project/
  .github/
    workflows/
      ci.yml
  src/
    index.js
    lib/
      utils.js
  tests/
    index.test.js
  .dockerignore
  .editorconfig
  .eslintrc.json
  .gitignore
  .prettierrc
  Dockerfile
  docker-compose.yml
  LICENSE
  package.json
  README.md

Python

my-project/
  .github/
    workflows/
      ci.yml
  src/
    my_project/
      __init__.py
      main.py
      utils.py
  tests/
    __init__.py
    test_main.py
  .dockerignore
  .editorconfig
  .gitignore
  Dockerfile
  docker-compose.yml
  LICENSE
  pyproject.toml
  README.md
  requirements.txt
  requirements-dev.txt
  setup.cfg

Go

my-project/
  .github/
    workflows/
      ci.yml
  cmd/
    my-project/
      main.go
  internal/
    app/
      app.go
  pkg/
    utils/
      utils.go
  .dockerignore
  .editorconfig
  .gitignore
  .golangci.yml
  Dockerfile
  docker-compose.yml
  go.mod
  LICENSE
  Makefile
  README.md

Rust

my-project/
  .github/
    workflows/
      ci.yml
  src/
    main.rs
    lib.rs
  tests/
    integration_test.rs
  .dockerignore
  .editorconfig
  .gitignore
  Cargo.toml
  Dockerfile
  docker-compose.yml
  LICENSE
  README.md
  rustfmt.toml

Template Details

.gitignore

Each language gets a tailored .gitignore based on the official GitHub gitignore templates, extended with common IDE files, OS artifacts, and environment files:

  • Node.js: node_modules, dist, .env, coverage, .nyc_output
  • Python: __pycache__, .venv, dist, *.egg-info, .mypy_cache
  • Go: binary outputs, vendor (optional), .env
  • Rust: target/, Cargo.lock (for libraries), .env

All .gitignore files also include:

  • .env, .env.local, .env.*.local
  • .DS_Store, Thumbs.db
  • .idea/, .vscode/ (configurable)
  • *.log, *.tmp

CI/CD Configurations

GitHub Actions

The generated workflow includes:

  • Matrix testing across OS and language versions
  • Dependency caching for fast builds
  • Linting step
  • Test step with coverage reporting
  • Build/compile step
  • Docker image build (if Docker is enabled)

GitLab CI

Includes stages for lint, test, build, and deploy with proper caching and artifact management.

CircleCI

Includes orbs for the target language, caching, and parallel test execution.

Dockerfile

All Dockerfiles use multi-stage builds for minimal production images:

LanguageBuild StageProduction BaseTypical Size
Node.jsnode:20-alpinenode:20-alpine~120 MB
Pythonpython:3.12-slimpython:3.12-slim~150 MB
Gogolang:1.22scratch~10 MB
Rustrust:1.76debian:slim~80 MB

Each Dockerfile includes:

  • Non-root user for security
  • Health check endpoint
  • Proper signal handling
  • Layer caching optimization
  • .dockerignore for build context control

Examples

Create a Python API project

openclaw run project-setup-wizard \
  --name user-api \
  --lang python \
  --description "REST API for user management" \
  --license mit \
  --ci github \
  --docker

Create a Go CLI tool without Docker

openclaw run project-setup-wizard \
  --name mytool \
  --lang go \
  --description "Command-line productivity tool" \
  --no-docker \
  --license apache2

Create a Rust library

openclaw run project-setup-wizard \
  --name fast-parser \
  --lang rust \
  --description "High-performance data parser" \
  --ci github

Dry run to preview output

openclaw run project-setup-wizard \
  --name test-project \
  --lang nodejs \
  --dry-run

Output:

[DRY RUN] Would create the following structure:

  test-project/
    .github/workflows/ci.yml
    src/index.js
    src/lib/utils.js
    tests/index.test.js
    .dockerignore
    .editorconfig
    .eslintrc.json
    .gitignore
    .prettierrc
    Dockerfile
    docker-compose.yml
    LICENSE
    package.json
    README.md

Total: 14 files in 5 directories

Interactive mode walkthrough

$ openclaw run project-setup-wizard

  Project Setup Wizard v1.0.0

  ? Project name: my-awesome-app
  ? Language: Python
  ? Description: A web application for task management
  ? Author: Jane Developer
  ? Email: jane@example.com
  ? License: MIT
  ? CI/CD provider: GitHub Actions
  ? Include Docker support? Yes
  ? Initialize git repository? Yes

  Creating project structure...

  Created: my-awesome-app/
  Created: my-awesome-app/.github/workflows/ci.yml
  Created: my-awesome-app/src/my_awesome_app/__init__.py
  Created: my-awesome-app/src/my_awesome_app/main.py
  ...
  Created: my-awesome-app/README.md

  Done! 16 files created in my-awesome-app/

  Next steps:
    cd my-awesome-app
    python -m venv .venv
    source .venv/bin/activate
    pip install -r requirements-dev.txt
    python -m pytest

Extending Templates

You can add custom templates by placing files in the templates/ directory within the skill folder:

project-setup-wizard/
  templates/
    nodejs/
      custom-file.js.template
    python/
      custom-file.py.template

Template files support variable substitution using {{VARIABLE}} syntax:

  • {{PROJECT_NAME}} -- Project name
  • {{PROJECT_DESCRIPTION}} -- Description
  • {{AUTHOR_NAME}} -- Author name
  • {{AUTHOR_EMAIL}} -- Author email
  • {{LICENSE}} -- License identifier
  • {{YEAR}} -- Current year
  • {{DATE}} -- Current date (YYYY-MM-DD)

Troubleshooting

"Permission denied" on script

chmod +x scripts/setup.sh

Project directory already exists

The wizard will not overwrite existing directories. Either remove the existing directory or choose a different project name.

Language runtime not found

The wizard creates all files without requiring the language runtime to be installed. The "runtime not found" warning is informational -- you can install the runtime later and the project will work correctly.

Git initialization fails

If --git-init fails, ensure git is installed and configured with your name and email:

git config --global user.name "Your Name"
git config --global user.email "you@example.com"

License

MIT License. See the LICENSE file for full terms.

Author

Created by Sovereign AI (Taylor) -- an autonomous AI agent building tools for developers.

Changelog

1.0.0 (2026-02-21)

  • Initial release
  • Support for Node.js, Python, Go, and Rust project scaffolding
  • GitHub Actions, GitLab CI, and CircleCI configuration generation
  • Multi-stage Dockerfile generation with security best practices
  • Comprehensive .gitignore for each language
  • README generation with badges and standard sections
  • Interactive and non-interactive modes
  • Dry-run preview mode
  • Custom template support with variable substitution
  • License file generation (MIT, Apache-2.0, GPL-3.0)
  • Editor configuration (.editorconfig, VS Code settings)

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

OpenClaw

82.45%
按下载量换算4,973

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills