writing-plans
$
npx mdskill add microsoft/FluidFramework/writing-plans<required> CRITICAL. Add the following steps to your Todo list using TodoWrite:
SKILL.md
.github/skills/writing-plansView on GitHub ↗
--- name: writing-plans description: Use when design is complete and you need detailed implementation tasks for engineers with zero codebase context - creates comprehensive implementation plans with exact file paths, complete code examples, and verification steps assuming engineer has minimal domain knowledge --- <required> CRITICAL. Add the following steps to your Todo list using TodoWrite: - Read the 'Guidelines'. - Create a comprehensive plan that a senior engineer can follow. <system-reminder>Any absolute paths in your plan MUST take into account any worktrees that may have been created</system-reminder> - Think about backwards compability. Add any notes to the plan. - Think about edge cases. Add them to the plan. - Think about questions or areas that require clarity. Add them to the plan. - Emphasize how you will test your plan. - Present plan to user. </required> # Guidelines ## Overview Create a comprehensive implementation plans assuming the engineer has zero context for our codebase and questionable taste. Document everything they need to know: which files to touch for each task, code, testing, docs they might need to check, how to test it. Give them the whole plan as bite-sized tasks. DRY. YAGNI. TDD. Assume they are a talented developer. However, assume that they know almost nothing about our toolset or problem domain. Assume they don't know good test design very well. Do not add code, but include enough detail that the necessary code is obvious. Do not write a file to disk unless explicitly asked. ## Plan Document Header **Every plan MUST start with this header:** ```markdown # [Feature Name] Implementation Plan **Goal:** [One sentence describing what this builds] **Architecture:** [2-3 sentences about approach] **Tech Stack:** [Key technologies/libraries] --- ``` ## Test Section Every plan MUST have a test section. This should be written first, and should document how you plan to test the *behavior*. ```markdown **Testing Plan** I will add an integration test that ensures foo behaves like blah. The integration test will mock A/B/C. The test will then call function/cli/etc. I will add a unit test that ensures baz behaves like qux... ``` You should end EVERY testing plan section by writing: ```markdown NOTE: I will write *all* tests before I add any implementation behavior. ``` <system-reminder>Your tests should NOT contain tests for datastructures or types. Your tests should NOT simply test mocks. Always test actual behavior.</system-reminder> <required> For each test, follow this checklist: - Ensure that the test does not just test mocks. If it does, remove the test and try again. - Ensure the test does not test implementation detail. If it does, rewrite the test so that it tests boundary behavior. - Ensure the test does not test data structure format or types. If it does, remove the test and try again. - Ensure the test does not test for removed behavior. For example, if some behavior has been deprecated, do not write a test that simply confirms the behavior no longer works. - Evaluate if the test treats the interior of the test boundary as a blackbox. You should not know anything about interior variables, function calls, or control flow. </required> ## Plan Document Footer **Every plan MUST end with this footer:** ```markdown **Testing Details** [Brief description of what tests are being added and how they specifically test BEHAVIOR and NOT just implementation] **Implementation Details** [maximum 10 bullets about key details] **Question** [any questions or concerns that may be relevant that need answers] --- ```
More from microsoft/FluidFramework
- api-changesUse when customer-facing API changes were made — i.e., API report .md files differ from main. Guides through release tag assignment, API Council review requirements, breaking change classification, deprecation process, and changeset guidance. Triggered automatically by ci-readiness-check when api-report diffs are detected.
- brainstormingIMMEDIATELY USE THIS SKILL when creating or develop anything and before writing code or implementation plans - refines rough ideas into fully-formed designs through structured Socratic questioning, alternative exploration, and incremental validation
- building-ui-uxUse when implementing user interfaces or user experiences - guides through exploration of design variations, frontend setup, iteration, and proper integration
- ci-readiness-checkUse when the user explicitly asks for a CI check or to push their branch — e.g. "ci readiness", "check ci", "pre-push check", "ready for CI", "ci check", "ready to push", "push my changes", "push the branch", "let's push". Catches common CI failures before pushing — formatting, stale API reports, missing changesets, policy violations.
- creating-debug-tests-and-iteratingUse this skill when faced with a difficult debugging task where you need to replicate some bug or behavior in order to see what is going wrong.
- creating-skillsUse when you need to create a new custom skill for a profile - guides through gathering requirements, creating directory structure, writing SKILL.md, and optionally adding bundled scripts
- ff-oce-dashboardGenerate the OCE shift status dashboard. Triggers on: 'generate shift dashboard', 'show dashboard', 'shift status', 'status dashboard', 'what's going on', or any request for a NON-SPECIFIC overview of current OCE status (incidents, pipelines, errors).
- ff-oce-kustoUse this skill for any Kusto query or telemetry investigation specifically related to Fluid Framework or its partners. Triggers include: writing or running a Kusto query against the Office Fluid database, investigating Fluid Framework telemetry or error rates, querying Office_Fluid_FluidRuntime_* tables, looking up a Fluid session by Session_Id or docId, investigating a Fluid-related error in Loop or Whiteboard telemetry, monitoring an FF bump or partner ring deployment, checking Fluid render reliability or Scriptor errors, or when the user mentions Fluid-specific tables (Office_Fluid_FluidRuntime_*, OwhLoads, HostTracker, Scriptor) or Fluid-specific error types (dataCorruptionError, dataProcessingError, DeltaConnectionFailureToConnect, ICE, ACE). Do NOT trigger for general Kusto questions that are not related to Fluid Framework.
- finishing-a-development-branchUse this when you have completed some feature implementation and have written passing tests, and you are ready to create a PR.
- fluid-prUse when creating a pull request in the Fluid Framework repo. Composes a PR title and body following Fluid Framework conventions, proposes them to the user, then pushes the branch and creates the PR on GitHub. Triggers on "create a PR", "make a PR", "open a PR", "submit a PR", or "push and create a PR".