Skip to content

feat(code-apps): add list-flows and add-flow plugin skills#78

Open
eschavez wants to merge 1 commit intomainfrom
eschavez/add-flow-support
Open

feat(code-apps): add list-flows and add-flow plugin skills#78
eschavez wants to merge 1 commit intomainfrom
eschavez/add-flow-support

Conversation

@eschavez
Copy link
Copy Markdown

@eschavez eschavez commented Apr 2, 2026

Summary

Adds two new skills to the code-apps plugin to support Power Automate flow capabilities introduced in the Code Apps CLI.

New Skills

list-flows

  • Runs npx power-apps list-flows [--search <keyword>]
  • Lists solution-aware flows available to add to a code app
  • Returns workflowId (Power Automate resource GUID) needed for add-flow

add-flow

  • Runs npx power-apps add-flow --flow-id <guid>
  • Fetches flow metadata + swagger, filters invoker dependencies, writes connection refs, generates <FlowName>Service.ts
  • Documents idempotency behavior and usage examples for the generated service

Updated Files

  • AGENTS.md — both skills added to architecture tree and skills table
  • agents/code-app-architect.md — flow row added to connector routing table
  • skills/add-datasource/SKILL.md — flow routing entry added

Related

Internal Code Apps PR: https://microsoft.ghe.com/bic/PowerPlatform-Managed-Host/pull/172

Copilot AI review requested due to automatic review settings April 2, 2026 19:00
@eschavez eschavez requested a review from a team as a code owner April 2, 2026 19:00
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds Power Automate flow support to the Code Apps plugin by introducing two new skills (/list-flows, /add-flow) and wiring them into existing routing/architecture documentation so agents can discover flow IDs and generate typed flow services via the Code Apps CLI.

Changes:

  • Added new skills: /list-flows (discover solution-aware flows + IDs) and /add-flow (add flow + generate TypeScript service).
  • Updated datasource routing docs to include Power Automate flows as a first-class option.
  • Updated plugin architecture/skills inventory documentation to reference the new skills.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
plugins/code-apps/skills/list-flows/SKILL.md New skill documenting how to list solution-aware flows and obtain workflowId for later use.
plugins/code-apps/skills/add-flow/SKILL.md New skill documenting how to add a flow and review generated artifacts/service usage.
plugins/code-apps/skills/add-datasource/SKILL.md Routes “Power Automate cloud flow” requests to /add-flow.
plugins/code-apps/agents/code-app-architect.md Updates connector/skill routing table to include flows via /add-flow.
plugins/code-apps/AGENTS.md Adds both skills to the architecture tree and skills table.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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