[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BV5EDAA1NE7Z7K7VC5PZZR":3,"skill-same:01M7BV5EDAA1NE7Z7K7VC5PZZR":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":31,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M7BV5EDAA1NE7Z7K7VC5PZZR","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.","nguyenhungtran18\u002Fskill-and-tool-tracker","nguyenhungtran18","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F297063550?v=4","01M7BV0BFPRRFP84F2ME0FYZ9D","01M7BV0BG83FA5P22NJV0GR0A5",1,"MIT","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fdart-run-static-analysis\u002FSKILL.md",[],[],"2026-11-15 14:19:17",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":23,"description":7},{"model":24,"last_modified":25},"models\u002Fgemini-3.1-pro-preview","Fri, 24 Apr 2026 15:09:34 GMT","main","900ea3c9eb045fd5b0317dc1103777ecf3ea4aeb","skills\u002Fdart-run-static-analysis",0,"https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker","https:\u002F\u002Fnguyenhungtran18.github.io\u002Fskill-and-tool-tracker\u002F","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18","2026-08-31 18:36:09",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add nguyenhungtran18\u002Fskill-and-tool-tracker --skill dart-run-static-analysis",{"tool":40,"command":41},"bunx","bunx skills add nguyenhungtran18\u002Fskill-and-tool-tracker --skill dart-run-static-analysis",{"tool":43,"command":44},"pnpm","pnpm dlx skills add nguyenhungtran18\u002Fskill-and-tool-tracker --skill dart-run-static-analysis","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fdart-run-static-analysis\u002FSKILL.md",true,[],[49,56,63,70,77,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":18},"01M7BVP4P83TK60JZ4P8RP9VP7","xcode-project-setup","Safely modifies Xcode projects (.pbxproj) to add Swift Packages and link files. Use this skill whenever an iOS project needs dependencies installed (e.g. Firebase, Alamofire).","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fxcode_project_setup\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":18},"01M7BVP01K4CSJJ8G90FT8S2D5","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-skills\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":18},"01M7BVNY22GXD871GYTSH599F1","writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":18},"01M7BVNQWF24RNKA8A4KM2HJ3T","workflow-skill-creator","Distills a completed user workflow or interaction into a reusable agent skill. Use when the user asks to turn their workflow, interaction, or multi-step process into a skill, or when they say \"make this a skill\", \"create a skill from what we just did\", \"package this workflow\" or similar. Do not use for creating skills from scratch without an existing workflow (use a generic skill-creator for that).","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow_skill_creator\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M7BVNNY67XPCQAQHY3FBKDGC","verify-and-stop","Prove existing work meets acceptance conditions without expanding scope. Use for validation-only tasks, completion checks, focused gate runs, and last-mile proof.","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fverify-and-stop\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M7BVNKB4Z7SZT85B73ZZ90Y6","verification-before-completion","Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always","https:\u002F\u002Fgithub.com\u002Fnguyenhungtran18\u002Fskill-and-tool-tracker\u002Fblob\u002Fmain\u002Fskills\u002Fverification-before-completion\u002FSKILL.md",[],[]]