Skip to content

Add Pelis Agent Factory documentation to create-agentic-workflow templates#10495

Merged
pelikhan merged 10 commits into
mainfrom
copilot/update-agent-workflow-template
Jan 18, 2026
Merged

Add Pelis Agent Factory documentation to create-agentic-workflow templates#10495
pelikhan merged 10 commits into
mainfrom
copilot/update-agent-workflow-template

Conversation

Copilot AI commented Jan 17, 2026

Copy link
Copy Markdown
Contributor
  • Add "Learning from Reference Materials" section to create-agentic-workflow.md template
  • Configure starlight-llms-txt with customSet for blog entries in docs/astro.config.mjs
  • Update templates to reference generated llms.txt URL
  • Remove deprecated create-agentic-workflow.agent.md template file
  • Remove alternative browsing section from templates
  • Update paths to specifically target meet-the-workflows files
  • Rename customSets label to "create-agentic-workflows"
  • Mark pkg/cli/templates/create-agentic-workflow.md as compiler-generated in .gitattributes
  • Fix path to blog/*meet-the-workflows*
  • Remove Step 1.2 (Explore Agentics Repository) section
  • Optimize "Learning from Reference Materials" section for agentic consumption (shorter, cleaner)

Summary of Changes

Astro Configuration

  • Added customSets configuration to starlight-llms-txt plugin in docs/astro.config.mjs
  • Label: "create-agentic-workflows"
  • Configured to generate llms-create-agentic-workflows.txt from meet-the-workflows blog entries (blog/*meet-the-workflows*)
  • The generated file will be available at: https://githubnext.github.io/gh-aw/llms-create-agentic-workflows.txt

Template Updates

  • Added concise "Learning from Reference Materials" section to fetch the llms.txt file
  • Removed deprecated create-agentic-workflow.agent.md template file
  • Marked pkg/cli/templates/create-agentic-workflow.md as compiler-generated in .gitattributes

Files modified:

  • docs/astro.config.mjs - Added customSets for blog llms.txt generation
  • pkg/cli/templates/create-agentic-workflow.md
  • .github/aw/create-agentic-workflow.md
  • .gitattributes - Added entry for create-agentic-workflow.md
  • Deleted pkg/cli/templates/create-agentic-workflow.agent.md (deprecated)
Original prompt

Update the release of gh-aw's create-agentic-workflow agent markdown template to include knowledge from pelis agent factory blog series.

You can include the following in the template instruction:

Step 1.1: Crawl the Pelis Agent Factory Documentation Site
IMPORTANT: You must thoroughly crawl and read the Pelis Agent Factory documentation site to understand the common patterns and best practices for agentic workflows.

Start from the main blog post and explore ALL linked pages:

Start at: https://githubnext.github.io/gh-aw/blog/2026-01-12-welcome-to-pelis-agent-factory/
Use web-fetch to retrieve each page
Follow ALL internal links to other pages on the site
Read the documentation sections, guides, and examples
Pay special attention to:
Workflow patterns and templates
Best practices for agentic automation
Common use cases and implementations
Integration patterns with GitHub
Safe outputs and permissions models
Caching and state management
Step 1.2: Explore the Agentics Repository
Clone knowledge from the agentics repository to understand reference implementations:

Repository: https://github.com/githubnext/agentics
Use the GitHub tools to explore the repository structure
Read key workflow files and configurations
Understand the patterns used in that repository
Note any interesting automation patterns that could apply here


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

…teps to create-agentic-workflow templates

Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
@pelikhan

Copy link
Copy Markdown
Collaborator

@copilot configure Astro llmstxt package to compile a llmstxt file for the blog entries and link to the generated url

Copilot AI changed the title [WIP] Update gh-aw agent markdown template with pelis blog insights Add Pelis Agent Factory documentation crawl and agentics repo exploration to create-agentic-workflow templates Jan 17, 2026
Copilot AI requested a review from Mossaka January 17, 2026 21:47
…d update templates to use it

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

Copilot AI commented Jan 17, 2026

Copy link
Copy Markdown
Contributor Author

@copilot configure Astro llmstxt package to compile a llmstxt file for the blog entries and link to the generated url

Configured starlight-llms-txt with a custom set for the blog entries in docs/astro.config.mjs. The plugin will generate llms-pelis-agent-factory-blog-series.txt from all blog content (blog/**).

Updated the templates to reference the generated URL: https://githubnext.github.io/gh-aw/llms-pelis-agent-factory-blog-series.txt

Commit: c691f10

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • delucis.github.io
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI changed the title Add Pelis Agent Factory documentation crawl and agentics repo exploration to create-agentic-workflow templates Add Pelis Agent Factory documentation and agentics repo exploration to create-agentic-workflow templates Jan 17, 2026
Copilot AI requested a review from pelikhan January 17, 2026 21:56
@pelikhan

Copy link
Copy Markdown
Collaborator

@copilot pkg/cli/templates/create-agentic-workflow.agent.md should not exist. it looks deprecated

Comment thread .github/aw/create-agentic-workflow.md Outdated
- Safe outputs and permissions models
- Caching and state management

**Alternative: Browse the blog directly:**

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot remove alternative section

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the alternative browsing section from both template files.

Commit: 2a6db0b

Comment thread docs/astro.config.mjs Outdated
customSets: [
{
label: "Peli's Agent Factory Blog Series",
paths: ['blog/**'],

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot the file names have "meet-the-workflows" in the filename

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the paths to blog/**/meet-the-workflows* to specifically target the meet-the-workflows files.

Commit: 2a6db0b

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

Copilot AI commented Jan 17, 2026

Copy link
Copy Markdown
Contributor Author

@copilot pkg/cli/templates/create-agentic-workflow.agent.md should not exist. it looks deprecated

Removed the deprecated pkg/cli/templates/create-agentic-workflow.agent.md file.

Commit: 27d39d9

… meet-the-workflows files

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Comment thread docs/astro.config.mjs Outdated
],
customSets: [
{
label: "Peli's Agent Factory Blog Series",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot rename label "create-agentic-workflows"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renamed the label to "create-agentic-workflows" and updated the template URLs to use llms-create-agentic-workflows.txt.

Commit: c771334

Comment thread pkg/cli/templates/create-agentic-workflow.md
…te URLs

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Comment thread docs/astro.config.mjs Outdated
customSets: [
{
label: "create-agentic-workflows",
paths: ['blog/**/meet-the-workflows*'],

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot double check that this path is correct

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The blog files are directly in blog/ without subdirectories, so I updated the path from blog/**/meet-the-workflows* to blog/*meet-the-workflows*.

Commit: f314b3f

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI requested a review from pelikhan January 17, 2026 23:10
Comment thread .github/aw/create-agentic-workflow.md Outdated
- Safe outputs and permissions models
- Caching and state management

### Step 1.2: Explore the Agentics Repository

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this step. @copilot

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed Step 1.2 (Explore Agentics Repository) from both template files and renamed "Step 1.1" to just "Read the Pelis Agent Factory Documentation".

Commit: 036361b

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title Add Pelis Agent Factory documentation and agentics repo exploration to create-agentic-workflow templates Add Pelis Agent Factory documentation to create-agentic-workflow templates Jan 17, 2026
Copilot AI requested a review from pelikhan January 17, 2026 23:35
- `gh aw compile --strict` → compile with strict mode validation (recommended for production)
- `gh aw compile --purge` → remove stale lock files

## Learning from Reference Materials

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

review updates and optimize them for agentic consumption. Shorter cleaner. @copilot

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optimized the section to be shorter and cleaner:

## Learning from Reference Materials

Before creating workflows, read the Peli's Agent Factory documentation:
- Fetch: https://githubnext.github.io/gh-aw/llms-create-agentic-workflows.txt

This llms.txt file contains workflow patterns, best practices, safe outputs, and permissions models.

Commit: 1ddd26e

…ption

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI requested a review from pelikhan January 17, 2026 23:49
@pelikhan pelikhan marked this pull request as ready for review January 18, 2026 00:16
@pelikhan pelikhan merged commit bfbea6b into main Jan 18, 2026
36 checks passed
@pelikhan pelikhan deleted the copilot/update-agent-workflow-template branch January 18, 2026 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants