Skip to content

Commit 373ae7a

Browse files
Copilotmnkiefer
andcommitted
Restructure as "Use Shared Agentic Workflows" subsection and fix quotes
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
1 parent 8954b8d commit 373ae7a

File tree

1 file changed

+19
-10
lines changed

1 file changed

+19
-10
lines changed

create.md

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,16 @@ Here ROOT is the location where you found this file. For example,
105105
- "Wrap the Slack MCP server as a reusable component"
106106
- "Design a shared workflow for database queries"
107107

108-
If you need to clarify requirements or discuss options, and you are working in an interactive agent chat system, do so interactively with the user. If running non-interactively, make reasonable assumptions based on the repository context.
108+
### Use Shared Agentic Workflows
109+
110+
**Load when**: User wants to learn about or use reusable workflow components, imports, orchestration, or monitoring patterns
111+
112+
**Use cases**:
109113

110-
## Reusable Components
114+
- "What shared components are available?"
115+
- "How do I use orchestration in my workflow?"
116+
- "Show me monitoring patterns"
117+
- "How do I import shared components?"
111118

112119
GitHub Agentic Workflows supports modular, reusable components that can be imported into your workflows. This enables:
113120

@@ -116,7 +123,7 @@ GitHub Agentic Workflows supports modular, reusable components that can be impor
116123
- **Separation of Concerns**: Maintain tool configs, permissions, and prompts independently
117124
- **Consistent Patterns**: Use battle-tested components for common patterns
118125

119-
### Common Reusable Components
126+
**Common Reusable Components**
120127

121128
**Orchestration** - Coordinate multiple workflows or agents
122129

@@ -130,7 +137,7 @@ safe-outputs:
130137
workflows: [worker-a, worker-b]
131138
max: 10
132139
assign-to-agent:
133-
name: copilot
140+
name: "copilot"
134141
max: 5
135142
```
136143
@@ -145,10 +152,10 @@ imports:
145152
- shared/projects.md
146153
safe-outputs:
147154
update-project:
148-
project: https://github.com/orgs/myorg/projects/123
155+
project: "https://github.com/orgs/myorg/projects/123"
149156
max: 10
150157
create-project-status-update:
151-
project: https://github.com/orgs/myorg/projects/123
158+
project: "https://github.com/orgs/myorg/projects/123"
152159
max: 1
153160
```
154161

@@ -165,7 +172,7 @@ imports:
165172

166173
**Use cases**: Daily/weekly status reports, test results, analysis summaries
167174

168-
### Discovering Available Components
175+
**Discovering Available Components**
169176

170177
Repositories using gh-aw often organize shared components in:
171178

@@ -178,7 +185,7 @@ List available components:
178185
ls .github/workflows/shared/
179186
```
180187

181-
### Using Imports
188+
**Using Imports**
182189

183190
Add imports to your workflow frontmatter:
184191

@@ -194,7 +201,7 @@ imports:
194201

195202
The compiler merges imported configurations with your workflow's config. See [Packaging & Distribution](/gh-aw/guides/packaging-imports/) for complete details on import behavior and merge semantics.
196203

197-
### Available After Installation
204+
**Available After Installation**
198205

199206
When you run `gh aw init` in a repository, several helper files become available:
200207

@@ -211,12 +218,14 @@ When you run `gh aw init` in a repository, several helper files become available
211218

212219
These files are available for AI assistants to use when helping you create, update, or debug workflows. The `create.md` file (this file) references these prompts and routes you to the appropriate one based on your task.
213220

214-
### Learn More
221+
**Learn More**
215222

216223
- **[Orchestration Guide](/gh-aw/guides/orchestration/)** - Orchestrator/worker pattern for coordinating multiple workflows
217224
- **[Projects & Monitoring Guide](/gh-aw/guides/monitoring/)** - Track workflow activities in GitHub Projects boards
218225
- **[Packaging & Distribution Guide](/gh-aw/guides/packaging-imports/)** - Import system, versioning, and shared components
219226

227+
If you need to clarify requirements or discuss options, and you are working in an interactive agent chat system, do so interactively with the user. If running non-interactively, make reasonable assumptions based on the repository context.
228+
220229
## Step 3: Review Changes
221230

222231
Check what files were changed or created:

0 commit comments

Comments
 (0)