examples/README.md
A community-contributed gallery of reusable Astron Agent workflows. Every example is a real, importable workflow you can drop into Astron Agent, run, and adapt.
Examples vs. Cases — this directory is not the enterprise case studies. Cases are curated, verified customer success stories maintained by the team. Examples here are open community contributions: anyone can submit a workflow via pull request.
One self-contained directory per example, named by a short kebab-case id:
examples/
├── README.md # this file — spec + contribution guide
├── TEMPLATE/ # copy this to start a new example
│ ├── README.md # metadata (frontmatter) + description
│ └── workflow.yml # the exported Astron DSL
└── <example-id>/
├── README.md # required — metadata + how to use
├── workflow.yml # required — exported workflow DSL (.yml)
└── preview.png # optional — screenshot of the canvas or result
workflow.yml — export it from Astron Agent (workflow → Export). The DSL already carries the
workflow's flowMeta (name, description) and flowData (nodes/edges).README.md — a metadata header (YAML frontmatter) plus a human description. The frontmatter
fields align with the gallery schema so the docs site can render each example as a card.preview.png — optional but recommended; a screenshot makes the gallery card far more useful.---
id: ai-resume-assistant # unique, kebab-case, matches the directory name
title: AI Resume Assistant # display name
description: One-sentence summary of what the workflow does.
category: productivity # productivity | creative | learning | entertainment | health | finance | other
features: # 3–5 short bullet points
- Parses a resume into structured fields
- Scores it against a target job description
- Suggests concrete rewrites
author: your-github-handle # GitHub username of the contributor
sourceUrl: "" # optional — blog post / video / discussion that explains it
dslVersion: v1 # the DSL version the workflow was exported with
event: "" # optional — e.g. "Astron Training Camp · Cohort #1"
---
The body below the frontmatter should cover: what it does, the nodes/skills it uses, any external dependencies (models, plugins, knowledge bases), and how to import & run it.
cp -r examples/TEMPLATE examples/<your-example-id>workflow.yml with your exported DSL, and (optionally) add preview.png.README.md frontmatter + write the description.main:
git checkout -b examples/<your-example-id>
git add examples/<your-example-id>
git commit -s -m "examples: add <your-example-id>" # -s adds the DCO sign-off (required)
git push origin examples/<your-example-id>
An example is merged when it:
YOUR_API_KEY) before
committing. PRs containing live credentials will be rejected.id that matches its directory name.The docs site will expose an /examples page that reads each example's frontmatter and renders a
filterable card gallery (grouped by category), mirroring the existing
Awesome-Astron-Workflow showcase. Keeping the
frontmatter schema aligned lets the two sources converge later. Until then, browse examples directly
in this directory.
<a id="中文"></a>
社区共建的 可复用 Astron Agent 工作流 示例库。每个示例都是可直接导入、运行、二次开发的真实工作流。
示例 vs 案例:本目录不是企业案例。案例是团队维护、经核实的企业成功故事;这里的示例是开放的社区贡献,任何人都能通过 PR 提交工作流。
一示例一目录,用短横线小写 id 命名;每个目录包含:
workflow.yml(必需)— 从 Astron Agent 导出的工作流 DSL(工作流 → 导出)。README.md(必需)— YAML frontmatter 元数据(字段见上方英文表)+ 文字说明。preview.png(可选,推荐)— 画布或结果截图,让 gallery 卡片更直观。cp -r examples/TEMPLATE examples/<示例-id>workflow.yml(可选加 preview.png)README.md 的 frontmatter 与说明-s 加 DCO 签名)YOUR_API_KEY)。含真实凭据的 PR 会被拒绝。