Copilot-Managed-Runtime / TaskManager
AGENTS.md4 starsChanged 8 days agoMITView on GitHub
Guidance for coding agents working in this repository. Task Manager: a React 19 + Vite + TypeScript sample app hosted on Copilot Managed Runtime (Windows 95 styling, shadcn/ui, Tailwind v4, TanStack Query). Work items come from Azure DevOps; the app's own data goes through the storage interface. See README.md for features and configuration. - src/pages/home.tsx — thin shell only. Put tab UI in src/features/<tab>/. - src/lib/ — domain logic (Azure DevOps queries and writes, trackers, tags, retro, notes, feedback). -…
- Reads credentials
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,843 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository38 other files it gives its agents.
- github-actions/AGENTS.mdAGENTS.md
- plugins/copilot-managed-runtime/AGENTS.mdAGENTS.md
- samples/CodeFlow/AGENTS.mdAGENTS.md
- samples/LearningHub/AGENTS.mdAGENTS.md
- add-azuredevopsSkill
- add-backendSkill
- add-data-sourceSkill
- add-dataverseSkill
- add-excelSkill
- add-mcscopilotSkill
- add-office365Skill
- add-office365-usersSkill
- add-onedriveSkill
- add-sharepointSkill
- add-teamsSkill
- add-workiqSkill
- create-appSkill
- delete-appSkill
- deploySkill
- devSkill
- list-appsSkill
- list-connectorsSkill
- playSkill
- share-linkSkill
- shareSkill
- stateSkill
- add-data-sourceSkill
- setup-codeflowSkill
- add-data-sourceSkill
- setup-codeflowSkill
- add-data-sourceSkill
- setup-learninghubSkill
- add-data-sourceSkill
- setup-learninghubSkill
- add-data-sourceSkill
- setup-taskmanagerSkill
- add-data-sourceSkill
- setup-taskmanagerSkill
The file
We split this AGENTS.md into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
All app-owned data goes through src/storage (collections or provider.kv(...)).
- Very specific: line 25
Use withConflictRetry + ifVersion for read-modify-write updates.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md 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
AGENTS.md
Guidance for coding agents working in this repository.
What this is
Task Manager: a React 19 + Vite + TypeScript sample app hosted on Copilot Managed Runtime (Windows 95 styling, shadcn/ui, Tailwind v4, TanStack Query). Work items come from Azure DevOps; the app's own data goes through the storage interface. See README.md for features and configuration.
Structure
src/pages/home.tsx— thin shell only. Put tab UI insrc/features/<tab>/.src/lib/— domain logic (Azure DevOps queries and writes, trackers, tags, retro, notes, feedback).src/connectors/— adapters over the generated connector clients. Only these files may importgenerated/(ESLint enforces it). Everything else callsconnectors()fromsrc/connectors.src/storage/—core/is shared code synced from elsewhere: never edit it.collections.tsdefines this app's collections (zod),index.tsthe provider registry.src/config.ts— the only place that readsimport.meta.env.
Rules
- All app-owned data goes through
src/storage(collections orprovider.kv(...)). Never uselocalStorage,sessionStorageorindexedDBdirectly (ESLint enforces it). - Use
withConflictRetry+ifVersionfor read-modify-write updates. - The only role concept is
admins.json(root), read bysrc/lib/admins.ts(useIsAdmin) to hide the admin tabs listed inADMIN_TABS(src/hooks/use-app-tab.ts). It is a UI convenience, not security: Azure DevOps and the storage backend authorize writes. Don't add other role checks. - Route every external or user-entered link through
safeUrl(); render HTML only viaSafeRichText. - Log with
src/lib/logger.ts(no-op in production); never log payloads or identities. generated/and.ms/are produced bynpx ms app add data-sourcein the user's copy and committed to their own app repository, never to this sample.
Skills
.github/skills/setup-taskmanager/— first-time setup (app creation, connectors,.env.local)..github/skills/add-data-source/— move app data to SharePoint, Dataverse or another backend.
Commands
npm test # unit tests (no setup needed)
npm run lint # includes storage/connector boundary rules
npm run typecheck # requires generated/ (after setup)
npm run check-setup # verifies ms.config.json and generated connector services
npm run dev # dev server (runs check-setup first)Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
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.

