AgentSkillsCN

detect_commands

推断并验证仓库的安装/测试/ lint/构建命令。

SKILL.md
--- frontmatter
name: detect_commands
description: Infer and verify install/test/lint/build commands for the repo.
metadata:
  short-description: Detect common commands

Purpose

Identify runnable commands and record them with confidence.

Steps

  1. Search for Makefile, package manifests, CI configs.
  2. Propose install/test/lint/format/build commands.
  3. Record in COMMANDS.md and COMMANDS.json.
  4. Verify when safe, and update confidence.

Guardrails

  • Mark unverified commands with low confidence.
  • Do not execute destructive commands.