Pointframe
AGENTS.md15 starsChanged 24 days agoMITView on GitHub
Start every session with /kb-init and finish it with /kb-done (Codex: pwsh scripts/kb.ps1 init; coordinators add -Role coordinator). Pointframe is a Windows-only WPF screen-capture, annotation, and recording application on .NET 10. It uses CommunityToolkit.Mvvm, Microsoft.Extensions.DependencyInjection, Serilog, ffmpeg, EF Core, and Nerdbank.GitVersioning.
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,700 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.
The file
We split this AGENTS.md into the rules it gives an agent
11 rules. About 0 are common, 3 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 1
Start every session with /kb-init and finish it with /kb-done (Codex: pwsh scripts/kb.ps1 init.
- Very specific: line 25
Before changing UI flow or window-lifecycle code—overlay, dialogs, hotkeys, capture, tray, recording, DPI, or multi-monitor behavior—read …
- Very specific: line 26
After changes under Pointframe/ or Pointframe.Data/, state in the final response whether the knowledge base needs an add, update, or …
- Very specific: line 32
Use MVVM: ViewModels inherit ObservableObject.
- Very specific: line 33
Every public service has an I<Name> interface, is constructor-injected, and is registered through DI.
- Distinctive: line 34
Keep application state and commands in ViewModels.
- Very specific: line 35
Read IUserSettingsService.Current at the point of use instead of caching settings.
- Very specific: line 38
Use Allman braces, braces for control bodies, file-scoped namespaces, nullable reference types, _camelCase private fields, and PascalCase …
- Distinctive: line 42
Add focused xUnit tests for changed behavior.
- Very specific: line 43
Run dotnet format Pointframe/Pointframe.csproj after every C# edit and --verify-no-changes before handoff.
- Distinctive: line 44
Run the narrowest applicable tests, then broaden validation when shared contracts, DI registration, or user-visible workflows change.
≈ “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
Start every session with /kb-init and finish it with /kb-done (Codex: pwsh scripts/kb.ps1 init; coordinators add -Role coordinator).
AGENTS.md
Project
Pointframe is a Windows-only WPF screen-capture, annotation, and recording application on .NET 10. It uses CommunityToolkit.Mvvm, Microsoft.Extensions.DependencyInjection, Serilog, ffmpeg, EF Core, and Nerdbank.GitVersioning.
Commands
dotnet build Pointframe/Pointframe.csproj
dotnet run --project Pointframe/Pointframe.csproj
dotnet test Pointframe.Tests/Pointframe.Tests.csproj
dotnet test Pointframe.Tests/Pointframe.Tests.csproj --filter "FullyQualifiedName~<TestClass>"
dotnet format Pointframe/Pointframe.csproj
dotnet format Pointframe/Pointframe.csproj --verify-no-changes
pwsh scripts/verify.ps1Required reading and workflow
pwsh scripts/kb.ps1 initprints the workflow rules for your role (docs/knowledge-base/workflow.md); read the sections it names.initalso printsdocs/knowledge-base/knowledge-base.md, the architecture and cross-subsystem rules; add a file, feature, or topic (pwsh scripts/kb.ps1 init <target>) for its sections and lessons.- Before changing UI flow or window-lifecycle code—overlay, dialogs, hotkeys, capture, tray, recording, DPI, or multi-monitor behavior—read
lessons.mdfirst. - After changes under
Pointframe/orPointframe.Data/, state in the final response whether the knowledge base needs an add, update, or nothing. Update it when durable architecture, behavior, invariants, or paths changed. Finish with/kb-done; you may callkb-read,kb-write, andkb-checkyourself. - Executors never commit or push. The coordinating agent commits, opens PRs, and merges per the owner's charter; see
docs/knowledge-base/workflow.md.
Architecture and conventions
App.xaml.csowns startup and shutdown. Register services and windows inAppServiceRegistration.csthroughAddPointframeAppServices; constructOverlayWindowthrough its factory.- Use MVVM: ViewModels inherit
ObservableObject; use[ObservableProperty]and[RelayCommand]; do not manually raisePropertyChanged. - Every public service has an
I<Name>interface, is constructor-injected, and is registered through DI. Use singletons for long-lived state and OS handles; transients for per-operation objects, ViewModels, and windows. - Keep application state and commands in ViewModels. Keep OS, I/O, network, and process access behind services; code-behind is for view-specific layout, HWND interop, DPI, and focus.
- Read
IUserSettingsService.Currentat the point of use instead of caching settings. A new setting requires the model/default,SettingsViewModel.Save(), and its UI binding. - Preserve the committed-only annotation undo invariant: draft shapes must not be tracked before
AnnotationViewModel.CommitGroup(). - WPF uses DIPs while screen/GDI APIs use physical pixels; follow the existing per-monitor DPI and recording-geometry implementations.
- Use Allman braces, braces for control bodies, file-scoped namespaces, nullable reference types,
_camelCaseprivate fields, andPascalCasepublic symbols. Do not add XML documentation comments.
Testing and validation
- Add focused xUnit tests for changed behavior. Test ViewModels and services directly with Moq; unit tests do not start WPF.
- Run
dotnet format Pointframe/Pointframe.csprojafter every C# edit and--verify-no-changesbefore handoff. - Run the narrowest applicable tests, then broaden validation when shared contracts, DI registration, or user-visible workflows change.
- A task is done only when
pwsh scripts/verify.ps1passes (VERIFY PASSED, exit 0) on the final working tree. It runs build, format, unit tests, the knowledge base check, and the workflow script check, and writesartifacts/verify/verdict.jsonwith failure details. Iterate until it passes;-Filterand-Skipare for iterating only. If it still fails after several honest attempts, or passing would need weakening a test, stop and report.
Documentation
docs/knowledge-base/knowledge-base.mdcontains the architecture rules and the feature and decision indexes;composition.md(composition and invariants),how-tos.md,maintenance.md,file-map.md,references.md,tooling.md, andworkflow.mdsit next to it.lessons.mdcontains concise bug post-mortems and reusable implementation traps.plan/contains local-only plans and roadmap material.- The product's
pointframe verifyfeature is F-39 indocs/knowledge-base/features/verify.md; its code is inPointframe.Cli/Verification/and its tests are inPointframe.Agent.Tests/Cli/.pwsh scripts/verify.ps1is this repository's done-gate and is a different thing. For manual trials ofpointframe verify, use an installed or copied CLI, neverPointframe.Cli/bin.
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.

