agentleFS
ciniencecinience/alicloud-skills/AGENTS.md

alicloud-skills

AGENTS.md397 starsChanged 9 months agoMITView on GitHub

The file

We split this AGENTS.md into the rules it gives an agent

7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run a utility script directly when iterating:

    line 31
  2. Very specific:

    Keep frontmatter in every SKILL.md with at least name and description.

    line 38
  3. Very specific:

    Add/update tests under tests/<domain>/<skill>-test/SKILL.md.

    line 43
  4. Very specific:

    Keep tests minimal and reproducible: one read-only or low-risk API path, clear pass/fail criteria, and saved evidence under …

    line 44
  5. Distinctive:

    When relevant, include exact prerequisites (env vars, region, SDK install command).

    line 45
  6. Very specific:

    Follow Conventional Commit style seen in history: feat: ..., chore: ..., refactor(scope): ..., docs: ....

    line 48
  7. Distinctive:

    Keep commits scoped to one concern (skill content, scripts, or docs/index regeneration).

    line 49

≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md 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
AGENTS.md

Repository Guidelines

Project Structure & Module Organization

  • skills/ is the canonical source of skills, grouped by domain (for example skills/ai/, skills/compute/, skills/security/).
  • Each skill usually contains SKILL.md, optional scripts/, optional references/, and agents/openai.yaml.
  • tests/ mirrors skill domains and stores smoke-test skill specs (mostly tests/**/SKILL.md).
  • apps/ contains application code:
    • apps/cmd/alicloud-skills (Go CLI entrypoint)
    • apps/internal/agent (shared Go runtime logic)
    • apps/desktop (Wails desktop backend)
    • apps/web (Next.js frontend)
    • apps/go.mod, apps/go.sum (Go module for all Go code under apps/)
  • scripts/ contains repository maintenance tools (index generation, product metadata merge, README section generation).
  • examples/ contains prompt patterns and scenario docs.
  • output/ is for generated artifacts only; do not commit files from this directory.

Build, Test, and Development Commands

  • Install skills locally:
    • npx skills add cinience/alicloud-skills --all -y --force
  • Regenerate README skill index section:
    • scripts/update_skill_index.sh
    • Equivalent explicit form: python3 scripts/generate_skill_index.py
  • Build/test apps from repo root:
    • make test
    • make build-cli
    • make build-desktop
    • make run (optional args: make run RUN_ARGS='run --help')
  • Direct Go commands:
    • go -C apps test ./...
    • go -C apps build ./cmd/alicloud-skills
  • Run a utility script directly when iterating:
    • python3 scripts/analyze_products_vs_skills.py

Coding Style & Naming Conventions

  • Python: 4-space indentation, type hints where practical, small focused functions (follow existing scripts/*.py patterns).
  • JavaScript examples use CommonJS in this repo (see skills/**/scripts/*.js).
  • Skill folders use kebab-case, prefixed by product scope (example: aliyun-qwen-image).
  • Keep frontmatter in every SKILL.md with at least name and description.
  • Language policy: keep skills/**/SKILL.md content in English only. If multilingual support is needed, place localized content in README.zh-CN.md / README.zh-TW.md instead of skill source files.

Testing Guidelines

  • This repository uses smoke-test skills instead of a single pytest suite.
  • Add/update tests under tests/<domain>/<skill>-test/SKILL.md.
  • Keep tests minimal and reproducible: one read-only or low-risk API path, clear pass/fail criteria, and saved evidence under output/<test-skill>/.
  • When relevant, include exact prerequisites (env vars, region, SDK install command).

Commit & Pull Request Guidelines

  • Follow Conventional Commit style seen in history: feat: ..., chore: ..., refactor(scope): ..., docs: ....
  • Keep commits scoped to one concern (skill content, scripts, or docs/index regeneration).
  • PRs should include:
    • What changed and why.
    • Affected paths (for example skills/ai/..., apps/..., scripts/..., README*.md).
    • Validation evidence (commands run, output location, screenshots/log snippets if useful).
    • Confirmation that generated README sections were refreshed when skill inventory changed.

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.