AgentSkillsCN

init-config

初始化开发配置:CI/CD、代码静态分析、测试、Docker。在搭建项目工具链时使用。

SKILL.md
--- frontmatter
name: init-config
description: "Initialize development configurations: CI/CD, linting, testing, Docker. Use for setting up project tooling."

Initialize Config

Set up development infrastructure and tooling configurations.

Available Config Types

TypeDescription
ciCI/CD pipeline (GitHub Actions, GitLab CI)
lintLinting/formatting (ESLint, Prettier, Biome)
testTesting setup (Vitest, Jest, Pytest)
dockerContainerization (Dockerfile, docker-compose)
hooksGit hooks (Husky, lint-staged)
allFull configuration suite

Quick Reference

User RequestAction
"Set up CI"Create GitHub Actions workflow
"Add linting"Configure ESLint + Prettier
"Initialize testing"Set up test framework
"Add Docker support"Create Dockerfile + compose
"Set up everything"Full config initialization

Agent

Use subagent_type: config-initializer with a detailed prompt including:

  • Which config type(s) to initialize
  • Platform preferences (GitHub vs GitLab, etc.)
  • Framework-specific requirements
  • Any existing configs to preserve