agentleFS
however-yirhowever-yir/claude-skills/skills/wc26-predict-text-only/SKILL.md

wc26-predict-text-only

Skill2 starsChanged 7 months agoMITView on GitHub

Use this skill whenever the user needs a pure md/txt distributable version of the WC26 Predict project that can reconstruct a runnable local prediction app without downloading any upstream repository. This skill is specifically for rebuilding the text-only ELO-capable WC26 project from bundled markdown references. Also use it when the user says "只支持 md/txt", "给朋友发一个纯文本 skill", "安装后重建 WC26 预测项目", "不要依赖上游仓库", or wants the earlier modified project packaged in a text-only skill format.

  • Reads credentials

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 9 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When triggered, reconstruct a local project by creating these files from the bundled references:

    line 20
  2. Distinctive:

    Follow this sequence exactly:

    line 45
  3. Distinctive:

    Create the target folder structure:

    line 47
  4. Very specific:

    Read the bundled reference files in references/.

    line 51
  5. Distinctive:

    Write each referenced file to disk with the exact contents from the code fences.

    line 52
  6. Distinctive:

    Verify with a source check.

    line 54
  7. Distinctive:

    Use these reference files:

    line 59
  8. Distinctive:

    Always copy the file contents exactly from those references.

    line 66
  9. Distinctive:

    Always verify in two passes:

    line 87
  10. Distinctive:

    When you finish, report:

    line 110

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

WC26 Predict Text-Only Skill

This skill rebuilds a runnable WC26 Predict project from bundled markdown references only.

It exists for environments where the distributable package may contain only:

  • .md
  • .txt
  • or folders containing only those file types

The generated project is based on the already modified local WC26 Predict build, but expressed as text templates.

What this skill should do

When triggered, reconstruct a local project by creating these files from the bundled references:

  • elo/app.R
  • elo/simulation.R
  • data/teams.csv
  • data/matches.csv
  • data/venues.csv
  • data/score_dist.csv
  • data/cache/results.tsv

Then help the user install dependencies, run the app, and verify the output.

Important scope

This is the text-only version of the project.

  • It does not download the upstream GitHub repository.
  • It does not require any binary model files to be bundled.
  • It is designed to run the ELO-based workflow and the Chinese/weather/stadium enhancements.
  • The Dixon-Coles UI may still appear in the generated app, but without the DC model file it is expected to be unavailable.

That trade-off is intentional so the project can be distributed in a pure markdown/text format.

Reconstruction workflow

Follow this sequence exactly:

  1. Create the target folder structure:
    • elo/
    • data/
    • data/cache/
  2. Read the bundled reference files in references/.
  3. Write each referenced file to disk with the exact contents from the code fences.
  4. Install required R packages if the machine does not already have them.
  5. Verify with a source check.
  6. Launch the Shiny app if requested.

Reference files

Use these reference files:

  • references/app-r.md
  • references/simulation-r.md
  • references/data-core.md
  • references/data-schedule.md

Always copy the file contents exactly from those references. Do not paraphrase or regenerate them from memory if the reference exists.

Required R packages

Install these if missing:

  • shiny
  • dplyr
  • DT
  • future
  • promises
  • jsonlite

Recommended install command:

Rscript -e "options(repos=c(CRAN='https://mirrors.tuna.tsinghua.edu.cn/CRAN/')); install.packages(c('shiny','dplyr','DT','future','promises','jsonlite'))"

Verification

Always verify in two passes:

  1. Source check
Rscript -e "setwd('/path/to/project/elo'); source('app.R', local = new.env()); cat('source_ok\\n')"
  1. Runtime check
Rscript -e "shiny::runApp('/path/to/project/elo', host='127.0.0.1', port=3840, launch.browser=FALSE)"

Then confirm that the rendered app includes:

  • ⚙️ 参数设置
  • ▶ 开始模拟
  • 🏅 小组积分榜
  • 🌦️ 天气与球场

Output expectations

When you finish, report:

  • where the project was written
  • which reference files were used
  • whether R dependencies were installed
  • whether the app was started
  • the localhost URL if running
  • that weather and stadium data are auxiliary analysis by default
  • that Dixon-Coles is not bundled in this text-only version

Example prompts this skill should handle

Example 1 User: 给我一个只含 md/txt 的 WC26 预测 skill。

Example 2 User: 朋友那边只能装纯文本 skill,你帮我重建一个可运行的 WC26 预测项目。

Example 3 User: 不要下载上游仓库,直接用这个 text-only skill 生成预测项目。

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.