| name | clone-project |
| description | Git 项目克隆与初始化 - 克隆仓库、初始化工作区、安装依赖、配置开发环境 |
| version | 0.2.0 |
| status | active |
| category | devsecops |
| tags | ["git","clone","setup"] |
clone-project
Overview
Git 项目克隆与初始化 - 克隆仓库、初始化工作区、安装依赖、配置开发环境
Category
devsecops
When to Use
Trigger this skill when the user requests operations related to clone project.
Workflow
Pre-flight
- Verify prerequisites are met (dependencies, credentials, environment)
- Check configuration via
clone-project-setup or equivalent if available
- Validate user input parameters
Execution
- Parse and validate the user's request
- Execute the core operation using appropriate tools:
- exec: Run CLI commands, scripts, or API calls
- web_fetch: Call REST APIs when applicable
- browser: Handle web-based flows when needed
- Handle errors gracefully with clear messages
Post-execution
- Format results for readability
- Report success/failure with actionable next steps
- Log operations if tracking is enabled
Key Constraints
- Always validate inputs before execution
- Handle authentication/authorization errors explicitly
- Respect rate limits and API quotas
- Provide Chinese-language output by default (可切换英文)
- Never expose secrets or tokens in output
Examples
Example 1: Basic Operation
User: 用 clone-project 执行基本操作
Assistant: [调用 exec 执行相应命令,返回格式化结果]
Example 2: Error Handling
User: 用 clone-project 操作一个不存在的资源
Assistant: [返回明确的错误信息,建议下一步操作]
Dependencies
- OpenClaw runtime >= 1.0
- Category-specific external tools (see individual commands)
Related Skills
- Check
skills-audit for available skill registry
- Check category peers under
devsecops