[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EKWZE48ZXVR6EEBQDC2VJW":3,"skill-same:01M7EKWZE48ZXVR6EEBQDC2VJW":52},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":32,"commitSha":33,"skillDirectory":34,"forksCount":14,"repositoryHtmlUrl":35,"repositoryHomepageUrl":35,"ownerHtmlUrl":36,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":37,"install":38,"resources":51},"01M7EKWZE48ZXVR6EEBQDC2VJW","template-smart-defaults",null,"> Applies cross-parameter default rules when creating .NET projects with dotnet new, filling gaps consistently without overriding values the user set explicitly. USE FOR: choosing which target framework to pair with native AOT, deciding whether to keep HTTPS w","Mr-Nobody-Anonymous\u002FAll-skills","Mr-Nobody-Anonymous","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F184253119?v=4","01M7AEXFJHKTYQW5R0ZCQQTWFV","anonymous","01M7C00M3GQR4QKP9GZA42GFAK",0,"MIT","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fcloud\u002Ftemplate-smart-defaults\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: template-smart-defaults\ndescription: \"> Applies cross-parameter default rules when creating .NET projects with dotnet new, filling gaps consistently without overriding values the user set explicitly. USE FOR: choosing which target framework to pair with native AOT, deciding whether to keep HTTPS w\"\ncategory: cloud\nversion: 1.0.0\ndisable-model-invocation: false\nrisk: low\nsource:\n  repository: \"microsoft\u002Fskills\"\n  commit: \"8f3b1a2c\"\n  path: \"plugins\u002Fdotnet-template-engine\u002Fskills\u002Ftemplate-smart-defaults\u002FSKILL.md\"\n  license: \"MIT\"\n  imported_at: \"2026-09-20\"\n---\n# Template Smart Defaults\n\nThis skill helps an agent fill in cross-parameter defaults when creating a `dotnet new`\nproject. The rules below are guidance heuristics that keep related parameters consistent —\nthey only fill gaps and never override a value the user set explicitly.\n\n## When to Use\n\n- The user asks to create a project but leaves related parameters unspecified\n- A parameter the user chose implies a sensible value for another parameter\n- You need to explain why a particular default was selected\n\n## When Not to Use\n\n- User wants to actually create the project — route to `template-instantiation`\n- User wants to find or compare templates — route to `template-discovery` or `template-comparison`\n- User wants to author or validate a custom template — route to `template-authoring` or `template-validation`\n\n## Inputs\n\n| Input | Required | Description |\n|-------|----------|-------------|\n| Template short name | Yes | The template the project will be created from (e.g., `webapi`) |\n| Parameters already chosen | Yes | The parameter values the user has explicitly set |\n| Available choices | Recommended | Parameter names\u002Fchoices from `dotnet new \u003Ctemplate> --help` |\n\n## Workflow\n\n1. Gather the parameters the user has explicitly set.\n2. Apply each rule below **only where the corresponding parameter is unset** — never override a value the user set explicitly.\n3. Confirm the chosen parameter names and choices against `dotnet new \u003Ctemplate> --help`\n   whenever the user asks for an exact command. This inspection does not create files and is\n   worthwhile even for advice-only requests. Skip it only for a conceptual explanation that\n   does not claim exact option names.\n4. **Emit the two required outputs** (see below) — this is what makes the skill decisive rather than inert.\n\nFor advice-only prompts that say \"don't create files\", make the displayed command safe to run\nby appending `--dry-run`. If a scenario needs a named example and the user omitted the name,\nchoose a short descriptive sample name and mark it `Source = rule`. Do not add a name when the\nuser asked for a command containing only explicitly requested choices or when the template can\ndemonstrate those choices safely without one.\n\n### Required output\n\nAlways produce **both**, in this order:\n\n**A. A \"Defaults applied\" log** — one row per parameter, covering **both** the explicit values you preserved (`Source = user`) and the gaps you filled by rule (`Source = rule`), so the user can see and override every choice:\n\n| Parameter | Value | Source | Why |\n|-----------|-------|--------|-----|\n| `--framework` | `net10.0` | rule | Native AOT (from `--aot`) needs the latest AOT-capable TFM |\n| `--auth` | `Individual` | user | Explicitly requested — left unchanged |\n| `--name` | `AotWorker` | rule | Added a descriptive sample name for this named example |\n\nUse `Source = user` for explicit values (never overridden) and `Source = rule` for gap-fills.\n\n**B. The exact single `dotnet new` command line** you would run — include **only** the flags you are actually passing. Do not list flags you decided *not* to pass (e.g. don't mention `--no-https` when you are keeping HTTPS; don't mention a minimal-API flag when using controllers). Silence on an omitted flag is the correct, decisive signal.\n\nAlways emit a flag the user explicitly requested when the observed template help exposes it,\neven when its value matches the template default; this keeps intent visible and reproducible\n(for example, `--auth None`). Omit only **inferred** defaults that you are not actually\npassing. Boolean switches such as `--no-https` are passed without `true`.\n\n> **AOT at create time vs publish time.** `--aot` is a `dotnet new` flag only on the templates that expose it — always confirm with `dotnet new \u003Ctemplate> --help` rather than assuming a given template does or doesn't offer it. There is no `--publish-aot` template flag — publish-time native AOT is enabled with the MSBuild property `PublishAot=true` (via `dotnet publish` or in the `.csproj`), not through `dotnet new`. Apply the framework rule only when the template actually offers `--aot`.\n\n### Rules\n\n| Rule | Default applied | Rationale |\n|------|-----------------|-----------|\n| `--aot` is set (on any template whose `--help` exposes it) and `--framework` is unset | Set `--framework` to the latest AOT-compatible framework the template offers | Native AOT requires a recent, AOT-capable target framework; using the latest avoids build failures. (A framework already pinned by the workspace or `global.json` counts as set — keep it unless it's incompatible with AOT.) |\n| `--auth` is anything other than `None` | Do NOT pass `--no-https` | Authentication flows (cookies, tokens, redirects) require HTTPS; disabling it breaks auth. |\n| `--use-controllers` is set | Do NOT also pass a minimal-API flag | Controllers and minimal APIs are mutually exclusive program models; passing both is contradictory. |\n| User set a value explicitly | Leave it unchanged | Smart defaults only fill gaps; explicit user intent always wins. |\n| Advice-only command must not create files | Add `--dry-run` | The command itself must honor the no-write constraint, not only the agent's behavior. |\n\nWhen controllers are explicitly requested, the command must contain the controller option\nshown by `--help`; explaining controllers without passing the option is incomplete.\n\n## Validation\n\n- [ ] A \"Defaults applied\" log was produced with a Source (user\u002Frule) and rationale per row\n- [ ] The exact single `dotnet new` command line was emitted, listing only flags actually passed\n- [ ] No parameter the user set explicitly was overridden\n- [ ] Only unset parameters were filled\n- [ ] Exact parameter names\u002Fchoices were confirmed against `dotnet new \u003Ctemplate> --help`, including for advice-only exact commands\n- [ ] A no-file advice command includes `--dry-run`\n- [ ] Boolean switches are emitted without a trailing `true`\n\n## Common Pitfalls\n\n| Pitfall | Solution |\n|---------|----------|\n| Treating heuristics as enforcement | These are guidance rules, not validation. Always confirm against `dotnet new \u003Ctemplate> --help` choices, since parameter names vary by template. |\n| Overriding an explicit user value | Apply a rule only when the target parameter is unset. |\n| Assuming a flag name | The exact flag differs per template — always verify with `--help` (e.g. `--aot` is present only where `--help` lists it; controllers use `--use-controllers`). |\n| Picking a framework the template doesn't support | Use the latest framework that appears in the template's `--framework` choices, not an arbitrary newest version. |\n| Showing a plain creation command after \"don't create files\" | Append `--dry-run` so the displayed command is safe to execute. |\n\n## More Info\n\n- [dotnet new](https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fcore\u002Ftools\u002Fdotnet-new) — CLI reference\n- [Native AOT deployment](https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fcore\u002Fdeploying\u002Fnative-aot\u002F) — AOT framework requirements\n","# Template Smart Defaults\n\nThis skill helps an agent fill in cross-parameter defaults when creating a `dotnet new`\nproject. The rules below are guidance heuristics that keep related parameters consistent —\nthey only fill gaps and never override a value the user set explicitly.\n\n## When to Use\n\n- The user asks to create a project but leaves related parameters unspecified\n- A parameter the user chose implies a sensible value for another parameter\n- You need to explain why a particular default was selected\n\n## When Not to Use\n\n- User wants to actually create the project — route to `template-instantiation`\n- User wants to find or compare templates — route to `template-discovery` or `template-comparison`\n- User wants to author or validate a custom template — route to `template-authoring` or `template-validation`\n\n## Inputs\n\n| Input | Required | Description |\n|-------|----------|-------------|\n| Template short name | Yes | The template the project will be created from (e.g., `webapi`) |\n| Parameters already chosen | Yes | The parameter values the user has explicitly set |\n| Available choices | Recommended | Parameter names\u002Fchoices from `dotnet new \u003Ctemplate> --help` |\n\n## Workflow\n\n1. Gather the parameters the user has explicitly set.\n2. Apply each rule below **only where the corresponding parameter is unset** — never override a value the user set explicitly.\n3. Confirm the chosen parameter names and choices against `dotnet new \u003Ctemplate> --help`\n   whenever the user asks for an exact command. This inspection does not create files and is\n   worthwhile even for advice-only requests. Skip it only for a conceptual explanation that\n   does not claim exact option names.\n4. **Emit the two required outputs** (see below) — this is what makes the skill decisive rather than inert.\n\nFor advice-only prompts that say \"don't create files\", make the displayed command safe to run\nby appending `--dry-run`. If a scenario needs a named example and the user omitted the name,\nchoose a short descriptive sample name and mark it `Source = rule`. Do not add a name when the\nuser asked for a command containing only explicitly requested choices or when the template can\ndemonstrate those choices safely without one.\n\n### Required output\n\nAlways produce **both**, in this order:\n\n**A. A \"Defaults applied\" log** — one row per parameter, covering **both** the explicit values you preserved (`Source = user`) and the gaps you filled by rule (`Source = rule`), so the user can see and override every choice:\n\n| Parameter | Value | Source | Why |\n|-----------|-------|--------|-----|\n| `--framework` | `net10.0` | rule | Native AOT (from `--aot`) needs the latest AOT-capable TFM |\n| `--auth` | `Individual` | user | Explicitly requested — left unchanged |\n| `--name` | `AotWorker` | rule | Added a descriptive sample name for this named example |\n\nUse `Source = user` for explicit values (never overridden) and `Source = rule` for gap-fills.\n\n**B. The exact single `dotnet new` command line** you would run — include **only** the flags you are actually passing. Do not list flags you decided *not* to pass (e.g. don't mention `--no-https` when you are keeping HTTPS; don't mention a minimal-API flag when using controllers). Silence on an omitted flag is the correct, decisive signal.\n\nAlways emit a flag the user explicitly requested when the observed template help exposes it,\neven when its value matches the template default; this keeps intent visible and reproducible\n(for example, `--auth None`). Omit only **inferred** defaults that you are not actually\npassing. Boolean switches such as `--no-https` are passed without `true`.\n\n> **AOT at create time vs publish time.** `--aot` is a `dotnet new` flag only on the templates that expose it — always confirm with `dotnet new \u003Ctemplate> --help` rather than assuming a given template does or doesn't offer it. There is no `--publish-aot` template flag — publish-time native AOT is enabled with the MSBuild property `PublishAot=true` (via `dotnet publish` or in the `.csproj`), not through `dotnet new`. Apply the framework rule only when the template actually offers `--aot`.\n\n### Rules\n\n| Rule | Default applied | Rationale |\n|------|-----------------|-----------|\n| `--aot` is set (on any template whose `--help` exposes it) and `--framework` is unset | Set `--framework` to the latest AOT-compatible framework the template offers | Native AOT requires a recent, AOT-capable target framework; using the latest avoids build failures. (A framework already pinned by the workspace or `global.json` counts as set — keep it unless it's incompatible with AOT.) |\n| `--auth` is anything other than `None` | Do NOT pass `--no-https` | Authentication flows (cookies, tokens, redirects) require HTTPS; disabling it breaks auth. |\n| `--use-controllers` is set | Do NOT also pass a minimal-API flag | Controllers and minimal APIs are mutually exclusive program models; passing both is contradictory. |\n| User set a value explicitly | Leave it unchanged | Smart defaults only fill gaps; explicit user intent always wins. |\n| Advice-only command must not create files | Add `--dry-run` | The command itself must honor the no-write constraint, not only the agent's behavior. |\n\nWhen controllers are explicitly requested, the command must contain the controller option\nshown by `--help`; explaining controllers without passing the option is incomplete.\n\n## Validation\n\n- [ ] A \"Defaults applied\" log was produced with a Source (user\u002Frule) and rationale per row\n- [ ] The exact single `dotnet new` command line was emitted, listing only flags actually passed\n- [ ] No parameter the user set explicitly was overridden\n- [ ] Only unset parameters were filled\n- [ ] Exact parameter names\u002Fchoices were confirmed against `dotnet new \u003Ctemplate> --help`, including for advice-only exact commands\n- [ ] A no-file advice command includes `--dry-run`\n- [ ] Boolean switches are emitted without a trailing `true`\n\n## Common Pitfalls\n\n| Pitfall | Solution |\n|---------|----------|\n| Treating heuristics as enforcement | These are guidance rules, not validation. Always confirm against `dotnet new \u003Ctemplate> --help` choices, since parameter names vary by template. |\n| Overriding an explicit user value | Apply a rule only when the target parameter is unset. |\n| Assuming a flag name | The exact flag differs per template — always verify with `--help` (e.g. `--aot` is present only where `--help` lists it; controllers use `--use-controllers`). |\n| Picking a framework the template doesn't support | Use the latest framework that appears in the template's `--framework` choices, not an arbitrary newest version. |\n| Showing a plain creation command after \"don't create files\" | Append `--dry-run` so the displayed command is safe to execute. |\n\n## More Info\n\n- [dotnet new](https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fcore\u002Ftools\u002Fdotnet-new) — CLI reference\n- [Native AOT deployment](https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fcore\u002Fdeploying\u002Fnative-aot\u002F) — AOT framework requirements\n",{"name":5,"risk":24,"source":25,"version":30,"category":31,"description":7,"disable-model-invocation":20},"low",{"path":26,"commit":27,"license":15,"repository":28,"imported_at":29},"plugins\u002Fdotnet-template-engine\u002Fskills\u002Ftemplate-smart-defaults\u002FSKILL.md","8f3b1a2c","microsoft\u002Fskills","2026-09-20","1.0.0","cloud","main","2d1750717747097b602acf30bd09a7cbd4b4c6ea","awesome_skills\u002Fcloud\u002Ftemplate-smart-defaults","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous","2026-11-09 11:45:36",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill template-smart-defaults",{"tool":44,"command":45},"bunx","bunx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill template-smart-defaults",{"tool":47,"command":48},"pnpm","pnpm dlx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill template-smart-defaults","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fcloud\u002Ftemplate-smart-defaults\u002FSKILL.md",true,[],[53,61,68,75,82,89],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":60},"01M7FFFZPC2025JQQHPHDX154J","dei-assessment","Assess diversity, equity, and inclusion with metrics. TRIGGERS - Use when user needs help with dei-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-assessment\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":60},"01M7FFFWN8H4WA7A6Y398QKB6J","dei-action-plan","Create DEI action plans with goals and initiatives. TRIGGERS - Use when user needs help with dei-action-plan related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-action-plan\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":60},"01M7FFFSHTM0QZRVZ2NRJTJ0PY","culture-fit-assessment","Design culture add assessment processes. TRIGGERS - Use when user needs help with culture-fit-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fculture-fit-assessment\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":60},"01M7FFFMA12RKEQA38KHJSXXPS","cowork-to-code-bridge","Use an already-installed, independently verified cowork-to-code bridge to run narrowly approved actions on the user's own macOS, Linux, or WSL2 machine through a local file queue.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcowork-to-code-bridge\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":60},"01M7FFFH1F6M8YRGW5V487GH1K","counter-offer-response","Draft counter-offer responses for retention. TRIGGERS - Use when user needs help with counter-offer-response related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcounter-offer-response\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":60},"01M7FFFDGEHV8Y7J9N40HZXW52","continuous-feedback-system","Design continuous feedback systems. TRIGGERS - Use when user needs help with continuous-feedback-system related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcontinuous-feedback-system\u002FSKILL.md",[],[]]