agentleFS
sunnysxgsunnysxg/claude_skills/playground/SKILL.md

playground

Skill0 starsChanged 3 months agoMITView on GitHub

在 playground/ 下新建实验项目:快速验证数据问题、测试想法、跑一次性脚本。 用户输入 /playground 并附带实验描述时使用。

14 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Playground 实验项目

用户通过 /playground <描述> 触发。描述是要验证的问题或要实验的想法。

执行步骤

  1. 建文件夹
    • 路径:playground/{YYYYMMDD}_{有意义的短名}/
    • 日期取当天(YYYYMMDD,8 位)
    • 名称必须能看出具体做什么,不要用泛泛的词("测试"、"对比"、"分析")
    • ❌ 不好:20260612_dsl对比、20260612_因子分析
    • ✓ 好:20260612_tsrank_dslparser_vs_calculator、20260613_factor_coldstart回填
  2. 写代码
    • 语言:Python 3,直接用 pandas / numpy / matplotlib 等已装好的库
    • 文件名:用中文名,描述具体内容
      • ❌ 不好:main.py、test.py、compare.py
      • ✓ 好:单股票计算.py、两种实现对比.py、完整对比报告.ipynb
    • 代码要能直接跑出结果,不是半成品
    • 不加注释、不写 README、不建 init.py
    • 如果需要读数据,在代码里写清楚路径,优先用相对路径或让用户确认
  3. 运行验证
    • 创建完成后立即执行
    • 如果报错,修复后重试
    • 把运行结果展示给用户
  4. 归档
    • 根目录保留当天 + 昨天(按目录名 YYYYMMDD 前缀);更早的由 cron 每日 00:00 自动移入 playground/archived/
    • 手动:python playground/归档旧实验.py(--dry-run 预览,--as-of YYYYMMDD 模拟某日)
    • cron:0 0 * * * .../playground/归档cron.sh >> .../playground/.archive_cron.log 2>&1

注意

  • 这是一次性实验,不需要工程规范
  • 优先让代码跑通、结果直观
  • 如果描述模糊,做最合理的假设直接动手,不要反复追问
  • 文件名一定要有意义,让人一眼看出是做什么的

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.