360 Secure SkillHub
360 安全技能中心

Container Desktop

该 Skill 提供 container-desktop 命令行工具,用于初始化项目、运行 lint/类型检查/测试、构建、查看部署指南、生成模板和文档、检查状态及清理构建产物;命令与配置会写入数据目录日志和配置文件。

bytesagain3
bytesagain3
热度 56.69
最近更新 2026-05-17 14:27:44
分类:开发依赖:代码执行 / 读写文件应用场景:代码生成 / DevOps / 自动化脚本 / 工作流 ...

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add container-desktop
Metadata
version
2.0.0
name
Podman Desktop
description
Podman Desktop is the best free and open source tool to work with Containers and Kubernetes for deve podman desktop, typescript, container, containers.
author
BytesAgain
homepage
https://bytesagain.com
source
https://github.com/bytesagain/ai-skills

Container Desktop

Developer workflow automation tool for initializing, building, testing, and deploying projects from the command line.

Commands

Command Description
init Initialize a new project in the current directory
check Run lint, type check, and tests
build Build the project
test Run the full test suite
deploy Show deploy pipeline guide (build → test → stage → prod)
config View or edit configuration
status Check overall project health
template Generate a code template for a given type
docs Generate project documentation
clean Remove build artifacts
help Show help and list all commands
version Print current version

Usage

container-desktop <command> [args]

All actions are logged to $DATA_DIR/history.log for auditing.

Data Storage

  • Default directory: ~/.local/share/container-desktop/
  • Override: Set the CONTAINER_DESKTOP_DIR environment variable to change the data directory.
  • Files:
    • history.log — timestamped log of every command executed
    • config.json — project-level configuration (created by config)
    • data.log — general data log

Requirements

  • Bash 4+ (uses set -euo pipefail)
  • No external dependencies or API keys required
  • Works on Linux, macOS, and WSL

When to Use

  1. Starting a new project — Run container-desktop init to scaffold and initialize your workspace before writing any code.
  2. Pre-commit quality checks — Use container-desktop check to run lint, type checking, and tests in a single command before pushing code.
  3. Building for deployment — Execute container-desktop build as part of your CI/CD pipeline or local build workflow.
  4. Running tests — Use container-desktop test to run your full test suite during development or in automated pipelines.
  5. Cleaning up after builds — Run container-desktop clean to remove generated artifacts and free disk space between builds.

Examples

# Initialize a project in the current directory
container-desktop init

# Run all quality checks (lint + type check + tests)
container-desktop check

# Build the project
container-desktop build

# Run the test suite
container-desktop test

# View the deployment pipeline guide
container-desktop deploy
# Check project health status
container-desktop status

# Generate a code template
container-desktop template component

# Generate project documentation
container-desktop docs

# Clean build artifacts
container-desktop clean

# Show version
container-desktop version

Output

All command output goes to stdout. Redirect to a file if needed:

container-desktop status > report.txt

Configuration

Set CONTAINER_DESKTOP_DIR to customize where data is stored:

export CONTAINER_DESKTOP_DIR=/path/to/custom/dir

Powered by BytesAgain | bytesagain.com | hello@bytesagain.com