own-planner
Copilot instructions2 starsChanged 2 months agoMITView on GitHub
AGENTS.md is the canonical source for shared repository guidance. Keep this Copilot-specific view aligned when repository-wide conventions change. Read the closest nested AGENTS.md before changing Infrastructure, MCP tools, the web server, the web client, or documentation; it contains the component's implementation and validation rules. OwnPlanner is a layered .NET 10 solution with multiple entry points: For more details on the system's design, please refer to the following documents: - docs/architecture-layers.md: Details the 4-layer clean architecture. - docs/ai-integration.md: Explains the chat…
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- OwnPlanner.Infrastructure/AGENTS.mdAGENTS.md
- OwnPlanner.Mcp.Tools/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- docs/CLAUDE.mdCLAUDE.md
- develop-ownplanner-featureSkill
The file
Show its rules and text
We split this copilot-instructions.md into the rules it gives an agent
18 rules. About 0 are common, 15 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈15
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 29
Follow existing repository style, naming, and folder conventions.
- Distinctive: line 30
Keep changes minimal and scoped to the requested task.
- Very specific: line 31
Never commit directly to master.
- Distinctive: line 34
Keep unrelated staged or working-tree changes out of task commits.
- Distinctive: line 35
Do not introduce placeholder comments, TODO-only implementations, or incomplete code.
- Distinctive: line 36
Avoid breaking public contracts unless explicitly requested.
- Distinctive: line 37
Prefer existing abstractions, helpers, and services over introducing new patterns.
- Distinctive: line 39
Keep parameter ordering consistent across similar APIs.
- Distinctive: line 40
When adding a new interface or modifying an existing one, add or update XML documentation comments for the interface and its members to …
- Distinctive: line 44
Always create EF Core migrations using the dotnet ef CLI tool, never manually.
- Very specific: line 47
If the startup project cannot be inferred, append --startup-project <StartupProjectPath> as needed.
- Very specific: line 53
Treat HTTP routes/DTOs and MCP tool names/schemas/results as external contracts.
- Distinctive: line 55
Never log or return password hashes, reset tokens, personal-access-token material, API keys, or another user's data.
- Distinctive: line 61
Prefer adding or updating tests only when they are directly relevant to the requested change.
- Distinctive: line 62
Keep unit tests close to the affected layer:
- Distinctive: line 66
After code changes, verify the affected project or solution still builds when practical.
- Distinctive: line 72
Keep public APIs stable unless the task explicitly requires a contract change.
- Distinctive: line 73
When editing existing files, match their formatting and local conventions.
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions 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
OwnPlanner Copilot Instructions
AGENTS.md is the canonical source for shared repository guidance. Keep this Copilot-specific view
aligned when repository-wide conventions change. Read the closest nested AGENTS.md before
changing Infrastructure, MCP tools, the web server, the web client, or documentation; it contains
the component's implementation and validation rules.
Repository overview
OwnPlanner is a layered .NET 10 solution with multiple entry points:
OwnPlanner.Domain: entities and business rulesOwnPlanner.Application: use-cases, services, DTOs, orchestrationOwnPlanner.Infrastructure: persistence, SQLite, adapters, external integrationsOwnPlanner.Web/OwnPlanner.Web.Server: ASP.NET Core web server and APIOwnPlanner.Web/ownplanner.web.client: React + TypeScript + Vite frontendOwnPlanner.Console: CLI entry pointOwnPlanner.Mcp.StdioApp: MCP stdio host for tool execution
Architecture documentation
For more details on the system's design, please refer to the following documents:
docs/architecture-layers.md: Details the 4-layer clean architecture.docs/ai-integration.md: Explains the chat workflow and MCP tool execution.docs/database-schema.md: Details the SQLite separation scheme.
General rules
- Follow existing repository style, naming, and folder conventions.
- Keep changes minimal and scoped to the requested task.
- Never commit directly to
master; create a dedicated task branch first. Unless the user specifies another name, usefeature/<short-description>for enhancements andfix/<short-description>for bug fixes. - Keep unrelated staged or working-tree changes out of task commits.
- Do not introduce placeholder comments, TODO-only implementations, or incomplete code.
- Avoid breaking public contracts unless explicitly requested.
- Prefer existing abstractions, helpers, and services over introducing new patterns.
- Preserve nullability annotations and existing async APIs.
- Keep parameter ordering consistent across similar APIs.
- When adding a new interface or modifying an existing one, add or update XML documentation comments for the interface and its members to explain intent, contracts, and usage expectations.
Database Migrations
- Always create EF Core migrations using the dotnet ef CLI tool, never manually. When adding a migration, explicitly specify the DbContext:
- For
AppDbContext:dotnet ef migrations add <MigrationName> --project OwnPlanner.Infrastructure --context AppDbContext - For
AuthDbContext:dotnet ef migrations add <MigrationName> --project OwnPlanner.Infrastructure --context AuthDbContext - If the startup project cannot be inferred, append
--startup-project <StartupProjectPath>as needed.
- For
Code review rules
- Preserve tenant isolation: resolve planning data from the authenticated session through a
user-bound
AppDbContext, never from a client-supplied user ID, database path, or tool argument. - Treat HTTP routes/DTOs and MCP tool names/schemas/results as external contracts. Prefer additive compatibility; intentional breaking changes need migration guidance and affected-transport tests.
- Never log or return password hashes, reset tokens, personal-access-token material, API keys, or another user's data. Use ownership-scoped queries, explicit response/export allowlists, redaction, and cleanup of temporary export files.
Testing and validation
- Prefer adding or updating tests only when they are directly relevant to the requested change.
- Keep unit tests close to the affected layer:
- domain behavior in
OwnPlanner.Domain.Tests - application behavior in
OwnPlanner.Application.Tests - infrastructure behavior in
OwnPlanner.Infrastructure.Tests
- domain behavior in
- After code changes, verify the affected project or solution still builds when practical.
Change preferences
- Favor small, readable changes over broad refactors.
- Keep logging structured.
- Keep public APIs stable unless the task explicitly requires a contract change.
- When editing existing files, match their formatting and local conventions.
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.

