[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75Q3J4PE0A8EN9N055PE9DP":3,"skill-same:01M75Q3J4PE0A8EN9N055PE9DP":48},{"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":27,"commitSha":28,"skillDirectory":29,"forksCount":14,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M75Q3J4PE0A8EN9N055PE9DP","dart-run-static-analysis",null,"Execute `dart analyze` to identify warnings and errors, and use `dart fix --apply` to automatically resolve mechanical lint issues. Use during development to ensure code quality and before committing changes.","mictlanix\u002Fmbe-ui","mictlanix","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F703184?v=4","01M75Q1XD9477GXRKPM6JVVC11","Mictlanix","01M75Q1XDXKYX3VS9T3CS2XEFR",0,"MIT","https:\u002F\u002Fgithub.com\u002Fmictlanix\u002Fmbe-ui\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdart-run-static-analysis\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: dart-run-static-analysis\ndescription: Execute `dart analyze` to identify warnings and errors, and use `dart fix --apply` to automatically resolve mechanical lint issues. Use during development to ensure code quality and before committing changes.\nmetadata:\n  model: models\u002Fgemini-3.1-pro-preview\n  last_modified: Fri, 24 Apr 2026 15:09:34 GMT\n---\n# Analyzing and Fixing Dart Code\n\n## Contents\n- [Analysis Configuration](#analysis-configuration)\n- [Diagnostic Suppression](#diagnostic-suppression)\n- [Workflow: Executing Static Analysis](#workflow-executing-static-analysis)\n- [Workflow: Applying Automated Fixes](#workflow-applying-automated-fixes)\n- [Examples](#examples)\n\n## Analysis Configuration\n\nConfigure the Dart analyzer using the `analysis_options.yaml` file located at the package root.\n\n- **Base Configuration:** Always include a standard rule set (e.g., `package:lints\u002Frecommended.yaml` or `package:flutter_lints\u002Fflutter.yaml`) using the `include:` directive.\n- **Strict Type Checks:** Enable strict type checks under the `analyzer: language:` node to prevent implicit downcasts and dynamic inferences. Set `strict-casts: true`, `strict-inference: true`, and `strict-raw-types: true`.\n- **Linter Rules:** Explicitly enable or disable specific rules under the `linter: rules:` node. Use a key-value map (`rule_name: true\u002Ffalse`) when overriding included rules, or a list (`- rule_name`) when defining a fresh set. Do not mix list and map syntax in the same `rules` block.\n- **Formatter Configuration:** Configure `dart format` behavior under the `formatter:` node. Set `page_width` (default 80) and `trailing_commas` (`automate` or `preserve`).\n- **Analyzer Plugins:** Enable custom diagnostics by adding plugins under the `analyzer: plugins:` node. Ensure the plugin package is added as a `dev_dependency` in `pubspec.yaml`.\n\n## Diagnostic Suppression\n\nWhen a diagnostic (lint or warning) yields a false positive or applies to generated code, suppress it explicitly.\n\n- **File-level Exclusion:** Use the `analyzer: exclude:` node in `analysis_options.yaml` to exclude entire files or directories (e.g., `**\u002F*.g.dart`) using glob patterns.\n- **File-level Suppression:** Add `\u002F\u002F ignore_for_file: \u003Cdiagnostic_code>` at the top of a Dart file to suppress specific diagnostics for the entire file. Use `\u002F\u002F ignore_for_file: type=lint` to suppress all linter rules.\n- **Line-level Suppression:** Add `\u002F\u002F ignore: \u003Cdiagnostic_code>` on the line directly above the offending code, or appended to the end of the offending line.\n- **Pubspec Suppression:** Add `# ignore: \u003Cdiagnostic_code>` above the offending line in `pubspec.yaml` files (e.g., `# ignore: sort_pub_dependencies`).\n- **Plugin Diagnostics:** Prefix the diagnostic code with the plugin name when suppressing plugin-specific issues (e.g., `\u002F\u002F ignore: some_plugin\u002Fsome_code`).\n\n## Workflow: Executing Static Analysis\n\nUse this workflow to identify type-related bugs, style violations, and potential runtime errors.\n\n**Task Progress:**\n- [ ] 1. Verify `analysis_options.yaml` exists at the project root.\n- [ ] 2. Run the analyzer using the `analyze_files` MCP tool (if available) or the CLI command `dart analyze \u003Ctarget_directory>`.\n- [ ] 3. Review the diagnostic output.\n- [ ] 4. If info-level issues must be treated as failures, append the `--fatal-infos` flag.\n- [ ] 5. Resolve reported errors manually or proceed to the Automated Fixes workflow.\n\n## Workflow: Applying Automated Fixes\n\nUse this workflow to resolve outdated API usages, apply quick fixes, and migrate code (e.g., Dart 3 migrations).\n\n**Task Progress:**\n- [ ] 1. Execute a dry run to preview proposed changes using the `dart_fix` MCP tool or CLI command `dart fix --dry-run`.\n- [ ] 2. Review the proposed fixes to ensure they align with the intended architecture.\n- [ ] 3. If additional fixes are required, verify that the corresponding linter rules are enabled in `analysis_options.yaml`.\n- [ ] 4. Apply the fixes using the `dart_fix` MCP tool or CLI command `dart fix --apply`.\n- [ ] 5. Format the modified code using the `dart_format` MCP tool or CLI command `dart format .`.\n- [ ] 6. Run the static analysis workflow to verify all diagnostics are resolved.\n\n## Examples\n\n### Comprehensive `analysis_options.yaml`\n\n```yaml\ninclude: package:flutter_lints\u002Frecommended.yaml\n\nanalyzer:\n  exclude:\n    - \"**\u002F*.g.dart\"\n    - \"lib\u002Fgenerated\u002F**\"\n  language:\n    strict-casts: true\n    strict-inference: true\n    strict-raw-types: true\n  errors:\n    todo: ignore\n    invalid_assignment: warning\n    missing_return: error\n\nlinter:\n  rules:\n    avoid_shadowing_type_parameters: false\n    await_only_futures: true\n    use_super_parameters: true\n\nformatter:\n  page_width: 100\n  trailing_commas: preserve\n```\n\n### Inline Diagnostic Suppression\n\n```dart\n\u002F\u002F Suppress for the entire file\n\u002F\u002F ignore_for_file: unused_local_variable, dead_code\n\nvoid processData() {\n  \u002F\u002F Suppress for a specific line\n  \u002F\u002F ignore: invalid_assignment\n  int x = '';\n  \n  const y = 10; \u002F\u002F ignore: constant_identifier_names\n}\n```\n","# Analyzing and Fixing Dart Code\n\n## Contents\n- [Analysis Configuration](#analysis-configuration)\n- [Diagnostic Suppression](#diagnostic-suppression)\n- [Workflow: Executing Static Analysis](#workflow-executing-static-analysis)\n- [Workflow: Applying Automated Fixes](#workflow-applying-automated-fixes)\n- [Examples](#examples)\n\n## Analysis Configuration\n\nConfigure the Dart analyzer using the `analysis_options.yaml` file located at the package root.\n\n- **Base Configuration:** Always include a standard rule set (e.g., `package:lints\u002Frecommended.yaml` or `package:flutter_lints\u002Fflutter.yaml`) using the `include:` directive.\n- **Strict Type Checks:** Enable strict type checks under the `analyzer: language:` node to prevent implicit downcasts and dynamic inferences. Set `strict-casts: true`, `strict-inference: true`, and `strict-raw-types: true`.\n- **Linter Rules:** Explicitly enable or disable specific rules under the `linter: rules:` node. Use a key-value map (`rule_name: true\u002Ffalse`) when overriding included rules, or a list (`- rule_name`) when defining a fresh set. Do not mix list and map syntax in the same `rules` block.\n- **Formatter Configuration:** Configure `dart format` behavior under the `formatter:` node. Set `page_width` (default 80) and `trailing_commas` (`automate` or `preserve`).\n- **Analyzer Plugins:** Enable custom diagnostics by adding plugins under the `analyzer: plugins:` node. Ensure the plugin package is added as a `dev_dependency` in `pubspec.yaml`.\n\n## Diagnostic Suppression\n\nWhen a diagnostic (lint or warning) yields a false positive or applies to generated code, suppress it explicitly.\n\n- **File-level Exclusion:** Use the `analyzer: exclude:` node in `analysis_options.yaml` to exclude entire files or directories (e.g., `**\u002F*.g.dart`) using glob patterns.\n- **File-level Suppression:** Add `\u002F\u002F ignore_for_file: \u003Cdiagnostic_code>` at the top of a Dart file to suppress specific diagnostics for the entire file. Use `\u002F\u002F ignore_for_file: type=lint` to suppress all linter rules.\n- **Line-level Suppression:** Add `\u002F\u002F ignore: \u003Cdiagnostic_code>` on the line directly above the offending code, or appended to the end of the offending line.\n- **Pubspec Suppression:** Add `# ignore: \u003Cdiagnostic_code>` above the offending line in `pubspec.yaml` files (e.g., `# ignore: sort_pub_dependencies`).\n- **Plugin Diagnostics:** Prefix the diagnostic code with the plugin name when suppressing plugin-specific issues (e.g., `\u002F\u002F ignore: some_plugin\u002Fsome_code`).\n\n## Workflow: Executing Static Analysis\n\nUse this workflow to identify type-related bugs, style violations, and potential runtime errors.\n\n**Task Progress:**\n- [ ] 1. Verify `analysis_options.yaml` exists at the project root.\n- [ ] 2. Run the analyzer using the `analyze_files` MCP tool (if available) or the CLI command `dart analyze \u003Ctarget_directory>`.\n- [ ] 3. Review the diagnostic output.\n- [ ] 4. If info-level issues must be treated as failures, append the `--fatal-infos` flag.\n- [ ] 5. Resolve reported errors manually or proceed to the Automated Fixes workflow.\n\n## Workflow: Applying Automated Fixes\n\nUse this workflow to resolve outdated API usages, apply quick fixes, and migrate code (e.g., Dart 3 migrations).\n\n**Task Progress:**\n- [ ] 1. Execute a dry run to preview proposed changes using the `dart_fix` MCP tool or CLI command `dart fix --dry-run`.\n- [ ] 2. Review the proposed fixes to ensure they align with the intended architecture.\n- [ ] 3. If additional fixes are required, verify that the corresponding linter rules are enabled in `analysis_options.yaml`.\n- [ ] 4. Apply the fixes using the `dart_fix` MCP tool or CLI command `dart fix --apply`.\n- [ ] 5. Format the modified code using the `dart_format` MCP tool or CLI command `dart format .`.\n- [ ] 6. Run the static analysis workflow to verify all diagnostics are resolved.\n\n## Examples\n\n### Comprehensive `analysis_options.yaml`\n\n```yaml\ninclude: package:flutter_lints\u002Frecommended.yaml\n\nanalyzer:\n  exclude:\n    - \"**\u002F*.g.dart\"\n    - \"lib\u002Fgenerated\u002F**\"\n  language:\n    strict-casts: true\n    strict-inference: true\n    strict-raw-types: true\n  errors:\n    todo: ignore\n    invalid_assignment: warning\n    missing_return: error\n\nlinter:\n  rules:\n    avoid_shadowing_type_parameters: false\n    await_only_futures: true\n    use_super_parameters: true\n\nformatter:\n  page_width: 100\n  trailing_commas: preserve\n```\n\n### Inline Diagnostic Suppression\n\n```dart\n\u002F\u002F Suppress for the entire file\n\u002F\u002F ignore_for_file: unused_local_variable, dead_code\n\nvoid processData() {\n  \u002F\u002F Suppress for a specific line\n  \u002F\u002F ignore: invalid_assignment\n  int x = '';\n  \n  const y = 10; \u002F\u002F ignore: constant_identifier_names\n}\n```\n",{"name":5,"metadata":24,"description":7},{"model":25,"last_modified":26},"models\u002Fgemini-3.1-pro-preview","Fri, 24 Apr 2026 15:09:34 GMT","main","228e23386ed058f8a2456399cd68f63999d63adf",".claude\u002Fskills\u002Fdart-run-static-analysis","https:\u002F\u002Fgithub.com\u002Fmictlanix\u002Fmbe-ui","https:\u002F\u002Fgithub.com\u002Fmictlanix","https:\u002F\u002Fmictlanix.com","2026-11-15 04:02:27",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add mictlanix\u002Fmbe-ui --skill dart-run-static-analysis",{"tool":40,"command":41},"bunx","bunx skills add mictlanix\u002Fmbe-ui --skill dart-run-static-analysis",{"tool":43,"command":44},"pnpm","pnpm dlx skills add mictlanix\u002Fmbe-ui --skill dart-run-static-analysis","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmictlanix\u002Fmbe-ui\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdart-run-static-analysis\u002FSKILL.md",true,[],[49,56,61,68,75,82],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M75QCZHHB42Q7KJTZHQZXZ77","speckit-wireframes-draft","Draw low-fi wireframes for every screen and state the spec describes","https:\u002F\u002Fgithub.com\u002Fmictlanix\u002Fmbe-ui\u002Fblob\u002Fmain\u002F.specify\u002Fextensions\u002Fwireframes\u002F.specify-dev\u002Fagent-commands\u002Fclaude\u002Fspeckit-wireframes-draft\u002FSKILL.md",[],[],{"skillNo":57,"name":51,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M75QCXRSD7HM7AFZH4HA9E6S","https:\u002F\u002Fgithub.com\u002Fmictlanix\u002Fmbe-ui\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fspeckit-wireframes-draft\u002FSKILL.md",[],[],{"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":19},"01M75QCVS17DXXBTQ8DE2SSXVR","speckit-taskstoissues","Convert existing tasks into actionable, dependency-ordered GitHub issues for the feature based on available design artifacts.","https:\u002F\u002Fgithub.com\u002Fmictlanix\u002Fmbe-ui\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fspeckit-taskstoissues\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":19},"01M75QCS3M02XD4PW58EXS6458","speckit-tasks","Generate an actionable, dependency-ordered tasks.md for the feature based on available design artifacts.","https:\u002F\u002Fgithub.com\u002Fmictlanix\u002Fmbe-ui\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fspeckit-tasks\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":19},"01M75QCP9NASXGDNYZF6XYJZBD","speckit-specify","Create or update the feature specification from a natural language feature description.","https:\u002F\u002Fgithub.com\u002Fmictlanix\u002Fmbe-ui\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fspeckit-specify\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":19},"01M75QCKBPS4K60R4YPRQ8HBJ9","speckit-plan","Execute the implementation planning workflow using the plan template to generate design artifacts.","https:\u002F\u002Fgithub.com\u002Fmictlanix\u002Fmbe-ui\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fspeckit-plan\u002FSKILL.md",[],[]]