跳到正文
cccskills
免费在 GitHub 公开

environment-discovery

Systematic exploration of unknown environments before starting work

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md1.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Environment Discovery

When dropped into an unfamiliar environment, ALWAYS explore before acting.

Step 1: Understand the workspace

ls -la /app/          # or the working directory
find . -type f | head -50
  • What files exist? What are their sizes?
  • Are there READMEs, Makefiles, config files?
  • What languages/frameworks are involved?

Step 2: Inspect data files

Before writing any code that reads data, understand the format:

  • file <filename> — detect file type (binary, text, encoding)
  • head -20 <file> — first lines of text files
  • xxd <file> | head -20 — hex dump for binary files
  • wc -l <file> — line count for text files
  • stat <file> — exact file size in bytes
  • python3 -c "import struct; ..." — parse binary headers

Step 3: Check available tools

which python3 gcc g++ make cmake node npm cargo rustc java go
pip list 2>/dev/null | head -20
  • What compilers/interpreters are installed?
  • What libraries are available?
  • What package managers can you use?

Step 4: Read existing code

If there are existing source files:

  • Read them FULLY before modifying
  • Understand the build system (Makefile, CMakeLists.txt, pyproject.toml)
  • Check for existing tests

Key Principles

  • NEVER assume file formats — always inspect first
  • NEVER assume tools are installed — always check
  • A 500MB file is NOT a "small file" — plan for it
  • Binary files need byte-level inspection, not cat
  • Spend 30 seconds exploring to save 5 minutes debugging

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Building, compiling, and resolving dependency issues across languages

中文简介正在准备中。当前显示原文说明。

vstorm-co/pydantic-deepagents11032026年10月19日 更新

Systematic code review for bugs, security, style, and performance

中文简介正在准备中。当前显示原文说明。

vstorm-co/pydantic-deepagents11032026年10月19日 更新

Review Python code for quality, security, and best practices

中文简介正在准备中。当前显示原文说明。

vstorm-co/pydantic-deepagents11032026年10月19日 更新

Comprehensive data analysis skill for CSV files using Python and pandas

中文简介正在准备中。当前显示原文说明。

vstorm-co/pydantic-deepagents11032026年10月19日 更新

Working with diverse data formats: binary, text, structured, and custom

中文简介正在准备中。当前显示原文说明。

vstorm-co/pydantic-deepagents11032026年10月19日 更新

Best practices for creating research diagrams with Excalidraw MCP tools

中文简介正在准备中。当前显示原文说明。

vstorm-co/pydantic-deepagents11032026年10月19日 更新

查看 vstorm-co 的全部技能

报告此技能的问题