add-sharepoint
Skill1.1k starsChanged 10 days agoMITView on GitHub
Adds SharePoint Online connector to a Power Apps code app. Use when reading lists, managing documents, or integrating with SharePoint sites. Can also create new SharePoint lists.
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
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
- Distinctive: line 23
Check Memory Bank → 2. Plan → 3.
- Very specific: line 29
Check for memory-bank.md per shared-instructions.md.
- Distinctive: line 36
Do the lists already exist on their site, or do they need to create new ones?
- Distinctive: line 42
Ask about the data they need and design an appropriate schema
- Distinctive: line 116
If still empty, the user may not have access to that site's lists.
- Very specific: line 129
Run the command for each list or library the user selected.
- Distinctive: line 173
Document library operations use folder/file IDs or server-relative URLs
- Very specific: line 176
Use Grep to find specific methods in src/generated/services/SharePointOnlineService.ts (generated files can be very large -- see …
- Very specific: line 188
Update memory-bank.md with: connector added, site URL, lists/libraries configured (or created), build status.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill 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.
Files
📋 Shared Instructions: shared-instructions.md - Cross-cutting concerns.
References:
- sharepoint-reference.md - Column encoding, choice fields, lookups, API patterns (CRITICAL)
- api-authentication-reference.md - Graph API auth, token, site ID
- list-management-reference.md - Query, create, extend lists and columns
Add SharePoint
Two paths: existing lists (skip to Step 6) or new lists (full workflow).
Workflow
- Check Memory Bank → 2. Plan → 3. Setup Graph API Auth → 4. Review Existing Lists → 5. Create Lists → 6. Get Connection ID → 7. Discover Sites → 8. Discover Tables → 9. Add Connector → 10. Configure → 11. Build → 12. Update Memory Bank
Step 1: Check Memory Bank
Check for memory-bank.md per shared-instructions.md.
Step 2: Plan
Ask the user:
- Which SharePoint list(s) do they need?
- Do the lists already exist on their site, or do they need to create new ones?
If lists already exist: Skip to Step 6.
If creating new lists:
- Ask about the data they need and design an appropriate schema
- Reuse existing lists when possible (don't duplicate)
- Enter plan mode with
EnterPlanMode, present the list designs with columns and types - Get approval with
ExitPlanMode
Step 3: Setup Graph API Auth (if creating lists)
See api-authentication-reference.md for full details.
az account show # Verify Azure CLI logged in
$api = Initialize-SharePointGraphApi -SiteUrl "https://<tenant>.sharepoint.com/sites/<site-name>"
$headers = $api.Headers
$siteId = $api.SiteIdRequires Sites.Manage.All permission.
Step 4: Review Existing Lists (if creating lists)
Always query existing lists first before creating:
$existingLists = Invoke-RestMethod -Uri "https://graph.microsoft.com/v1.0/sites/$siteId/lists?`$select=id,displayName,description,list&`$filter=list/hidden eq false" -Headers $headersSee list-management-reference.md for Find-SimilarLists, Compare-ListSchemas, and Get-ListSchema functions.
Present findings to user with AskUserQuestion:
- Lists that can be reused (already exist with matching columns)
- Lists that need extension (exist but missing columns)
- Lists that must be created (no match found)
Step 5: Create Lists (if creating lists)
Get explicit confirmation before creating. Use safe functions from list-management-reference.md:
New-SharePointListIfNotExistsAdd-SharePointColumnIfNotExistsAdd-SharePointLookupColumn(for cross-list references)
Step 6: Get Connection ID
Find the SharePoint Online connection ID (see connector-reference.md):
Run the /list-connections skill. Find the SharePoint Online connection in the output. If none exists, direct the user to create one using the environment-specific Connections URL — construct it from the active environment ID in context (from power.config.json or a prior step): https://make.powerapps.com/environments/<environment-id>/connections → + New connection → search for the connector → Create.
Step 7: Discover Sites
List available SharePoint sites the user has access to:
pa connector list-datasets --connector sharepointonline -c <connection-id>Present the sites to the user and ask which one(s) they want to connect to. If the user already specified a site URL, confirm it appears in the list.
If pa connector list-datasets fails or returns no results:
- Auth error: Run
pa auth logout(orpower-apps logoutonpower-apps-only projects), then retry — the CLI will re-prompt browser login. - Empty list: Confirm the connection ID is for a SharePoint Online connection and the user has access to at least one site. STOP if the list is empty after confirming.
- Any other non-zero exit: Report the exact error output. STOP.
Step 8: Discover Tables
For each selected site, list the available lists and document libraries:
pa connector list-tables --connector sharepointonline -c <connection-id> -d '<site-url>'If pa connector list-tables fails or returns no results:
- Confirm the site URL from Step 7 is exact (copy from the output — do not retype).
- If still empty, the user may not have access to that site's lists. Ask them to verify permissions in SharePoint.
- Any other non-zero exit: Report the exact error output. STOP.
Present the tables to the user and ask which ones they want to add. Suggest tables that look relevant to their use case (based on memory bank context or the user's stated requirements). If lists were created in Step 5, they should appear here.
Step 9: Add Connector
SharePoint is a tabular datasource -- requires -c (connection ID), -d (site URL), and --table (list name):
pa app add data-source --connector sharepointonline -c <connection-id> -d '<site-url>' --table '<table-name>'Run the command for each list or library the user selected. The -d (dataset) is the SharePoint site URL from Step 7, --table is the list/library name from Step 8.
Step 10: Configure
Read sharepoint-reference.md before writing any SharePoint code -- column encoding, choice fields, and lookups have critical gotchas.
Common operations:
// Get items from a SharePoint list
const items = await SharePointOnlineService.GetItems({
dataset: "https://contoso.sharepoint.com/sites/your-site",
table: "Your List Name"
});
// Create a new list item
await SharePointOnlineService.PostItem({
dataset: "https://contoso.sharepoint.com/sites/your-site",
table: "Your List Name",
item: {
Title: "New Item",
Description: "Item description",
Status: "Active"
}
});
// Get files from a document library
const files = await SharePointOnlineService.ListFolder({
dataset: "https://contoso.sharepoint.com/sites/your-site",
id: "Shared Documents" // Library name or folder ID
});
// Get file content
const content = await SharePointOnlineService.GetFileContent({
dataset: "https://contoso.sharepoint.com/sites/your-site",
id: "file-server-relative-url"
});Key points:
datasetis always the full SharePoint site URLtableis the list display name for list operations- List column names in the API may differ from display names (spaces become
_x0020_, special chars encoded) - Document library operations use folder/file IDs or server-relative URLs
- Choice columns use string values, not integer picklist codes (unlike Dataverse)
Use Grep to find specific methods in src/generated/services/SharePointOnlineService.ts (generated files can be very large -- see connector-reference.md).
Step 11: Build
npm run buildFix TypeScript errors before proceeding. Do NOT deploy yet.
Step 12: Update Memory Bank
Update memory-bank.md with: connector added, site URL, lists/libraries configured (or created), build status.
Trending
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Who's talking about microsoft/power-platform-skills
- geekfujiwara/CodeAppsDevelopmentStandard“[sdk-update] 自動検知: Power Platform SDK / 公式 skills 更新 (2026-09-06)”GitHub · Sep 6, 2026 · 1 reactions
- geekfujiwara/CodeAppsDevelopmentStandard“[sdk-update] 自動検知: Power Platform SDK / 公式 skills 更新 (2026-08-23)”GitHub · Aug 23, 2026 · 1 reactions
- sudosubin/agents.nix“agent-plugins.github.microsoft.power-platform-skills: 0-unstable-2026-10-28 → 0-unstable-2026-10-29”GitHub · Oct 30, 2026
- sudosubin/agents.nix“claude-code-plugins.github.microsoft.power-platform-skills: 0-unstable-2026-10-28 → 0-unstable-2026-10-29”GitHub · Oct 30, 2026
- sudosubin/agents.nix“agent-skills.github.microsoft.power-platform-skills: 0-unstable-2026-10-28 → 0-unstable-2026-10-29”GitHub · Oct 30, 2026
The biggest 5 of 50 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 50
Talked about on GitHub (50 times).
On GitHub · 50
- Sep 6, 2026[sdk-update] 自動検知: Power Platform SDK / 公式 skills 更新 (2026-09-06) — geekfujiwara/CodeAppsDevelopmentStandard1 reaction
- Aug 23, 2026[sdk-update] 自動検知: Power Platform SDK / 公式 skills 更新 (2026-08-23) — geekfujiwara/CodeAppsDevelopmentStandard1 reaction · 2 comments
- Oct 30, 2026agent-plugins.github.microsoft.power-platform-skills: 0-unstable-2026-10-28 → 0-unstable-2026-10-29 — sudosubin/agents.nix0 reactions
- Oct 30, 2026claude-code-plugins.github.microsoft.power-platform-skills: 0-unstable-2026-10-28 → 0-unstable-2026-10-29 — sudosubin/agents.nix0 reactions
- Oct 30, 2026agent-skills.github.microsoft.power-platform-skills: 0-unstable-2026-10-28 → 0-unstable-2026-10-29 — sudosubin/agents.nix0 reactions
45 more on GitHub
- Oct 30, 2026claude-code-marketplaces.github.microsoft.power-platform-skills: 0-unstable-2026-10-28 → 0-unstable-2026-10-29 — sudosubin/agents.nix0 reactions
- Oct 29, 2026copilot-plugins.github.microsoft.power-platform-skills: 0-unstable-2026-10-28 → 0-unstable-2026-10-29 — sudosubin/agents.nix0 reactions
- Oct 29, 2026agent-skills.github.microsoft.power-platform-skills: 0a7bf47 → c159268 — sudosubin/agents.nix0 reactions
- Oct 29, 2026copilot-plugins.github.microsoft.power-platform-skills: 0a7bf47 → c159268 — sudosubin/agents.nix0 reactions
- Oct 28, 2026claude-code-plugins.github.microsoft.power-platform-skills: 0a7bf47 → c159268 — sudosubin/agents.nix0 reactions
- Oct 28, 2026agent-plugins.github.microsoft.power-platform-skills: 0a7bf47 → c159268 — sudosubin/agents.nix0 reactions
- Oct 28, 2026claude-code-marketplaces.github.microsoft.power-platform-skills: 0a7bf47 → c159268 — sudosubin/agents.nix0 reactions
- Oct 28, 2026agent-skills.github.microsoft.power-platform-skills: 0-unstable-2026-10-27 → 0-unstable-2026-10-28 — sudosubin/agents.nix0 reactions
- Oct 28, 2026copilot-plugins.github.microsoft.power-platform-skills: 0-unstable-2026-10-27 → 0-unstable-2026-10-28 — sudosubin/agents.nix0 reactions
- Oct 28, 2026claude-code-plugins.github.microsoft.power-platform-skills: 0-unstable-2026-10-27 → 0-unstable-2026-10-28 — sudosubin/agents.nix0 reactions
- Oct 28, 2026agent-plugins.github.microsoft.power-platform-skills: 0-unstable-2026-10-27 → 0-unstable-2026-10-28 — sudosubin/agents.nix0 reactions
- Oct 28, 2026claude-code-marketplaces.github.microsoft.power-platform-skills: init at 0-unstable-2026-10-28 — sudosubin/agents.nix0 reactions
- Oct 27, 2026agent-skills.github.microsoft.power-platform-skills: 696cac9 → f39b3bb — sudosubin/agents.nix0 reactions
- Oct 27, 2026agent-plugins.github.microsoft.power-platform-skills: 696cac9 → f39b3bb — sudosubin/agents.nix0 reactions
- Oct 27, 2026claude-code-plugins.github.microsoft.power-platform-skills: 696cac9 → f39b3bb — sudosubin/agents.nix0 reactions
- Oct 27, 2026copilot-plugins.github.microsoft.power-platform-skills: 696cac9 → f39b3bb — sudosubin/agents.nix0 reactions
- Oct 27, 2026agent-skills.github.microsoft.power-platform-skills: 0-unstable-2026-10-26 → 0-unstable-2026-10-27 — sudosubin/agents.nix0 reactions
- Oct 27, 2026claude-code-plugins.github.microsoft.power-platform-skills: 0-unstable-2026-10-26 → 0-unstable-2026-10-27 — sudosubin/agents.nix0 reactions
- Oct 27, 2026agent-plugins.github.microsoft.power-platform-skills: 0-unstable-2026-10-26 → 0-unstable-2026-10-27 — sudosubin/agents.nix0 reactions
- Oct 27, 2026copilot-plugins.github.microsoft.power-platform-skills: 0-unstable-2026-10-26 → 0-unstable-2026-10-27 — sudosubin/agents.nix0 reactions
- Oct 26, 2026agent-plugins.github.microsoft.power-platform-skills: ea1e2e7 → a887c53 — sudosubin/agents.nix0 reactions
- Oct 26, 2026agent-skills.github.microsoft.power-platform-skills: ea1e2e7 → a887c53 — sudosubin/agents.nix0 reactions
- Oct 26, 2026claude-code-plugins.github.microsoft.power-platform-skills: ea1e2e7 → a887c53 — sudosubin/agents.nix0 reactions
- Oct 26, 2026copilot-plugins.github.microsoft.power-platform-skills: ea1e2e7 → a887c53 — sudosubin/agents.nix0 reactions
- Oct 26, 2026agent-plugins.github.microsoft.power-platform-skills: 0-unstable-2026-10-24 → 0-unstable-2026-10-26 — sudosubin/agents.nix0 reactions
- Oct 26, 2026claude-code-plugins.github.microsoft.power-platform-skills: 0-unstable-2026-10-24 → 0-unstable-2026-10-26 — sudosubin/agents.nix0 reactions
- Oct 26, 2026agent-skills.github.microsoft.power-platform-skills: 0-unstable-2026-10-24 → 0-unstable-2026-10-26 — sudosubin/agents.nix0 reactions
- Oct 26, 2026copilot-plugins.github.microsoft.power-platform-skills: 0-unstable-2026-10-24 → 0-unstable-2026-10-26 — sudosubin/agents.nix0 reactions
- Oct 25, 2026[sdk-update] 自動検知: Power Platform SDK / 公式 skills 更新 (2026-10-25) — geekfujiwara/CodeAppsDevelopmentStandard0 reactions
- Oct 24, 2026agent-plugins.github.microsoft.power-platform-skills: 0-unstable-2026-10-23 → 0-unstable-2026-10-24 — sudosubin/agents.nix0 reactions
- Oct 24, 2026claude-code-plugins.github.microsoft.power-platform-skills: 0-unstable-2026-10-23 → 0-unstable-2026-10-24 — sudosubin/agents.nix0 reactions
- Oct 24, 2026copilot-plugins.github.microsoft.power-platform-skills: 0-unstable-2026-10-23 → 0-unstable-2026-10-24 — sudosubin/agents.nix0 reactions
- Oct 24, 2026agent-skills.github.microsoft.power-platform-skills: 0-unstable-2026-10-23 → 0-unstable-2026-10-24 — sudosubin/agents.nix0 reactions
- Oct 23, 2026claude-code-plugins.github.microsoft.power-platform-skills: b9786a1 → 9d2486d — sudosubin/agents.nix0 reactions
- Oct 23, 2026agent-plugins.github.microsoft.power-platform-skills: b9786a1 → 9d2486d — sudosubin/agents.nix0 reactions
- Oct 23, 2026agent-skills.github.microsoft.power-platform-skills: b9786a1 → 9d2486d — sudosubin/agents.nix0 reactions
- Oct 23, 2026copilot-plugins.github.microsoft.power-platform-skills: b9786a1 → 9d2486d — sudosubin/agents.nix0 reactions
- Oct 23, 2026claude-code-plugins.github.microsoft.power-platform-skills: 0-unstable-2026-10-22 → 0-unstable-2026-10-23 — sudosubin/agents.nix0 reactions
- Oct 23, 2026agent-plugins.github.microsoft.power-platform-skills: 0-unstable-2026-10-22 → 0-unstable-2026-10-23 — sudosubin/agents.nix0 reactions
- Oct 23, 2026agent-skills.github.microsoft.power-platform-skills: 0-unstable-2026-10-22 → 0-unstable-2026-10-23 — sudosubin/agents.nix0 reactions
- Oct 23, 2026copilot-plugins.github.microsoft.power-platform-skills: 0-unstable-2026-10-22 → 0-unstable-2026-10-23 — sudosubin/agents.nix0 reactions
- Oct 22, 2026agent-skills.github.microsoft.power-platform-skills: 633974a → 6ff5c6f — sudosubin/agents.nix0 reactions
- Oct 22, 2026agent-skills.github.microsoft.power-platform-skills: 0-unstable-2026-10-21 → 0-unstable-2026-10-22 — sudosubin/agents.nix0 reactions
- Oct 21, 2026agent-skills.github.microsoft.power-platform-skills: 0-unstable-2026-10-20 → 0-unstable-2026-10-21 — sudosubin/agents.nix0 reactions
- Oct 20, 2026agent-skills.github.microsoft.power-platform-skills: 0-unstable-2026-10-19 → 0-unstable-2026-10-20 — sudosubin/agents.nix0 reactions
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- microsoft/managed-apps★ 3414% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository145 other files it gives its agents.
- AGENTS.mdAGENTS.md
- plugins/canvas-apps/AGENTS.mdAGENTS.md
- plugins/code-apps/AGENTS.mdAGENTS.md
- plugins/mobile-apps/AGENTS.mdAGENTS.md
- plugins/mobile-apps/template/AGENTS.mdAGENTS.md
- plugins/model-apps/AGENTS.mdAGENTS.md
- plugins/pcf/AGENTS.mdAGENTS.md
- plugins/power-apps-mobile-extension/AGENTS.mdAGENTS.md
- plugins/power-automate/AGENTS.mdAGENTS.md
- plugins/power-pages/AGENTS.mdAGENTS.md
- plugins/process-intelligence/AGENTS.mdAGENTS.md
- plugins/mobile-apps/template/CLAUDE.mdCLAUDE.md
- plugins/mobile-apps/template/.github/copilot-instructions.mdCopilot instructions
- add-data-sourceSkill
- canvas-appSkill
- configure-canvas-mcpSkill
- report-issueSkill
- add-azuredevopsSkill
- add-connectorSkill
- add-datasourceSkill
- add-dataverseSkill
- add-excelSkill
- add-mcscopilotSkill
- add-office365Skill
- add-onedriveSkill
- add-teamsSkill
- add-workiqSkill
- create-code-appSkill
- deploySkill
- list-connectionsSkill
- report-issueSkill
- generate-codeful-mcp-toolSkill
- generate-mcp-app-uiSkill
- report-issueSkill
- add-connectorSkill
- add-datasourceSkill
- add-dataverseSkill
- add-cameraSkill
- add-geolocationSkill
- add-pdf-reportSkill
- add-pdf-viewerSkill
- add-pen-inputSkill
- add-nativeSkill
- add-sample-dataSkill
- add-sharepointSkill
- add-table-to-offline-profileSkill
- assign-offline-profileSkill
- check-updatesSkill
- create-mobile-appSkill
- debug-appSkill
- deploySkill
- design-systemSkill
- edit-appSkill
- edit-offline-profileSkill
- enable-tables-offlineSkill
- list-connectionsSkill
- open-wrap-urlSkill
- preview-offline-scopeSkill
- preview-screensSkill
- report-issueSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

