[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79XT16BHW40WQJZQHR4ES5Y":3,"skill-same:01M79XT16BHW40WQJZQHR4ES5Y":47},{"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":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M79XT16BHW40WQJZQHR4ES5Y","nx-generate",null,"Generate code using nx generators. ALWAYS use this BEFORE calling nx_docs or exploring - this skill handles discovery internally.","wahidyankf\u002Fbeaver-nest","wahidyankf","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F10843406?v=4","01M79XPZPDMM2D076E49HRJT8A","Wahidyan Kresna Fridayoka","01M79XPZQGDA87TNY0HYDREYDP",2,"MIT","https:\u002F\u002Fgithub.com\u002Fwahidyankf\u002Fbeaver-nest\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fnx-generate\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: nx-generate\ndescription: >-\n  Generate code using nx generators. ALWAYS use this BEFORE calling nx_docs or exploring - this skill handles\n  discovery internally.\nwhen_to_use: >-\n  INVOKE IMMEDIATELY when the user mentions scaffolding, setup, structure, creating apps\u002Flibs, or setting up project\n  structure. Trigger words - scaffold, setup, create a new app, create a new lib, generate, add a new project.\n---\n\n# Run Nx Generator\n\nNx generators are powerful tools that scaffold projects, make automated code migrations or automate repetitive tasks in a monorepo. They ensure consistency across the codebase and reduce boilerplate work.\n\nThis skill applies when the user wants to:\n\n- Create new projects like libraries or applications\n- Scaffold features or boilerplate code\n- Run workspace-specific or custom generators\n- Do anything else that an nx generator exists for\n\n## Key Principles\n\n1. **Always use `--no-interactive`** - Prevents prompts that would hang execution\n2. **Read the generator source code** - The schema alone is not enough; understand what the generator actually does\n3. **Match existing repo patterns** - Study similar artifacts in the repo and follow their conventions\n4. **Verify with lint\u002Ftest\u002Fbuild\u002Ftypecheck etc.** - Generated code must pass verification. The listed targets are just an example, use what's appropriate for this workspace.\n\n## Steps\n\n### 1. Discover Available Generators\n\nUse the Nx CLI to discover available generators:\n\n- List all generators for a plugin: `npx nx list @nx\u002Freact`\n- View available plugins: `npx nx list`\n\nThis includes plugin generators (e.g., `@nx\u002Freact:library`) and local workspace generators.\n\n### 2. Match Generator to User Request\n\nIdentify which generator(s) could fulfill the user's needs. Consider what artifact type they want, which framework is relevant, and any specific generator names mentioned.\n\n**IMPORTANT**: When both a local workspace generator and an external plugin generator could satisfy the request, **always prefer the local workspace generator**. Local generators are customized for the specific repo's patterns.\n\nIf no suitable generator exists, you can stop using this skill. However, the burden of proof is high—carefully consider all available generators before deciding none apply.\n\n### 3. Get Generator Options\n\nUse the `--help` flag to understand available options:\n\n```bash\nnpx nx g @nx\u002Freact:library --help\n```\n\nPay attention to required options, defaults that might need overriding, and options relevant to the user's request.\n\n### Library Buildability\n\n**Default to non-buildable libraries** unless there's a specific reason for buildable.\n\n| Type                        | When to use                                                       | Generator flags                     |\n| --------------------------- | ----------------------------------------------------------------- | ----------------------------------- |\n| **Non-buildable** (default) | Internal monorepo libs consumed by apps                           | No `--bundler` flag                 |\n| **Buildable**               | Publishing to npm, cross-repo sharing, stable libs for cache hits | `--bundler=vite` or `--bundler=swc` |\n\nNon-buildable libs:\n\n- Export `.ts`\u002F`.tsx` source directly\n- Consumer's bundler compiles them\n- Faster dev experience, less config\n\nBuildable libs:\n\n- Have their own build target\n- Useful for stable libs that rarely change (cache hits)\n- Required for npm publishing\n\n**If unclear, ask the user:** \"Should this library be buildable (own build step, better caching) or non-buildable (source consumed directly, simpler setup)?\"\n\n### 4. Read Generator Source Code\n\n**This step is critical.** The schema alone does not tell you everything. Reading the source code helps you:\n\n- Know exactly what files will be created\u002Fmodified and where\n- Understand side effects (updating configs, installing deps, etc.)\n- Identify behaviours and options not obvious from the schema\n- Understand how options interact with each other\n\nTo find generator source code:\n\n- For plugin generators: Use `node -e \"console.log(require.resolve('@nx\u002F\u003Cplugin>\u002Fgenerators.json'));\"` to find the generators.json, then locate the source from there\n- If that fails, read directly from `node_modules\u002F\u003Cplugin>\u002Fgenerators.json`\n- For local generators: Typically in `tools\u002Fgenerators\u002F` or a local plugin directory. Search the repo for the generator name.\n\nAfter reading the source, reconsider: Is this the right generator? If not, go back to step 2.\n\n> **⚠️ `--directory` flag behaviour can be misleading.**\n> It should specify the full path of the generated library or component, not the parent path that it will be generated in.\n>\n> ```bash\n> # ✅ Correct - directory is the full path for the library\n> nx g @nx\u002Freact:library --directory=libs\u002Fmy-lib\n> # generates libs\u002Fmy-lib\u002Fpackage.json and more\n>\n> # ❌ Wrong - this will create files at libs and libs\u002Fsrc\u002F...\n> nx g @nx\u002Freact:library --name=my-lib --directory=libs\n> # generates libs\u002Fpackage.json and more\n> ```\n\n### 5. Examine Existing Patterns\n\nBefore generating, examine the target area of the codebase:\n\n- Look at similar existing artifacts (other libraries, applications, etc.)\n- Identify naming conventions, file structures, and configuration patterns\n- Note which test runners, build tools, and linters are used\n- Configure the generator to match these patterns\n\n### 6. Dry-Run to Verify File Placement\n\n**Always run with `--dry-run` first** to verify files will be created in the correct location:\n\n```bash\nnpx nx g @nx\u002Freact:library --name=my-lib --dry-run --no-interactive\n```\n\nReview the output carefully. If files would be created in the wrong location, adjust your options based on what you learned from the generator source code.\n\nNote: Some generators don't support dry-run (e.g., if they install npm packages). If dry-run fails for this reason, proceed to running the generator for real.\n\n### 7. Run the Generator\n\nExecute the generator:\n\n```bash\nnx generate \u003Cgenerator-name> \u003Coptions> --no-interactive\n```\n\n> **Tip:** New packages often need workspace dependencies wired up (e.g., importing shared types, being consumed by apps). The `link-workspace-packages` skill can help add these correctly.\n\n### 8. Modify Generated Code (If Needed)\n\nGenerators provide a starting point. Modify the output as needed to:\n\n- Add or modify functionality as requested\n- Adjust imports, exports, or configurations\n- Integrate with existing code patterns\n\n**Important:** If you replace or delete generated test files (e.g., `*.spec.ts`), either write meaningful replacement tests or remove the `test` target from the project configuration. Empty test suites will cause `nx test` to fail.\n\n### 9. Format and Verify\n\nFormat all generated\u002Fmodified files:\n\n```bash\nnx format --fix\n```\n\nThis example is for built-in nx formatting with prettier. There might be other formatting tools for this workspace, use these when appropriate.\n\nThen verify the generated code works. Keep in mind that the changes you make with a generator or subsequent modifications might impact various projects so it's usually not enough to only run targets for the artifact you just created.\n\n```bash\n# these targets are just an example!\nnx run-many -t build,lint,test,typecheck\n```\n\nThese targets are common examples used across many workspaces. You should do research into other targets available for this workspace and its projects. CI configuration is usually a good guide for what the critical targets are that have to pass.\n\nIf verification fails with manageable issues (a few lint errors, minor type issues), fix them. If issues are extensive, attempt obvious fixes first, then escalate to the user with details about what was generated, what's failing, and what you've attempted.\n","# Run Nx Generator\n\nNx generators are powerful tools that scaffold projects, make automated code migrations or automate repetitive tasks in a monorepo. They ensure consistency across the codebase and reduce boilerplate work.\n\nThis skill applies when the user wants to:\n\n- Create new projects like libraries or applications\n- Scaffold features or boilerplate code\n- Run workspace-specific or custom generators\n- Do anything else that an nx generator exists for\n\n## Key Principles\n\n1. **Always use `--no-interactive`** - Prevents prompts that would hang execution\n2. **Read the generator source code** - The schema alone is not enough; understand what the generator actually does\n3. **Match existing repo patterns** - Study similar artifacts in the repo and follow their conventions\n4. **Verify with lint\u002Ftest\u002Fbuild\u002Ftypecheck etc.** - Generated code must pass verification. The listed targets are just an example, use what's appropriate for this workspace.\n\n## Steps\n\n### 1. Discover Available Generators\n\nUse the Nx CLI to discover available generators:\n\n- List all generators for a plugin: `npx nx list @nx\u002Freact`\n- View available plugins: `npx nx list`\n\nThis includes plugin generators (e.g., `@nx\u002Freact:library`) and local workspace generators.\n\n### 2. Match Generator to User Request\n\nIdentify which generator(s) could fulfill the user's needs. Consider what artifact type they want, which framework is relevant, and any specific generator names mentioned.\n\n**IMPORTANT**: When both a local workspace generator and an external plugin generator could satisfy the request, **always prefer the local workspace generator**. Local generators are customized for the specific repo's patterns.\n\nIf no suitable generator exists, you can stop using this skill. However, the burden of proof is high—carefully consider all available generators before deciding none apply.\n\n### 3. Get Generator Options\n\nUse the `--help` flag to understand available options:\n\n```bash\nnpx nx g @nx\u002Freact:library --help\n```\n\nPay attention to required options, defaults that might need overriding, and options relevant to the user's request.\n\n### Library Buildability\n\n**Default to non-buildable libraries** unless there's a specific reason for buildable.\n\n| Type                        | When to use                                                       | Generator flags                     |\n| --------------------------- | ----------------------------------------------------------------- | ----------------------------------- |\n| **Non-buildable** (default) | Internal monorepo libs consumed by apps                           | No `--bundler` flag                 |\n| **Buildable**               | Publishing to npm, cross-repo sharing, stable libs for cache hits | `--bundler=vite` or `--bundler=swc` |\n\nNon-buildable libs:\n\n- Export `.ts`\u002F`.tsx` source directly\n- Consumer's bundler compiles them\n- Faster dev experience, less config\n\nBuildable libs:\n\n- Have their own build target\n- Useful for stable libs that rarely change (cache hits)\n- Required for npm publishing\n\n**If unclear, ask the user:** \"Should this library be buildable (own build step, better caching) or non-buildable (source consumed directly, simpler setup)?\"\n\n### 4. Read Generator Source Code\n\n**This step is critical.** The schema alone does not tell you everything. Reading the source code helps you:\n\n- Know exactly what files will be created\u002Fmodified and where\n- Understand side effects (updating configs, installing deps, etc.)\n- Identify behaviours and options not obvious from the schema\n- Understand how options interact with each other\n\nTo find generator source code:\n\n- For plugin generators: Use `node -e \"console.log(require.resolve('@nx\u002F\u003Cplugin>\u002Fgenerators.json'));\"` to find the generators.json, then locate the source from there\n- If that fails, read directly from `node_modules\u002F\u003Cplugin>\u002Fgenerators.json`\n- For local generators: Typically in `tools\u002Fgenerators\u002F` or a local plugin directory. Search the repo for the generator name.\n\nAfter reading the source, reconsider: Is this the right generator? If not, go back to step 2.\n\n> **⚠️ `--directory` flag behaviour can be misleading.**\n> It should specify the full path of the generated library or component, not the parent path that it will be generated in.\n>\n> ```bash\n> # ✅ Correct - directory is the full path for the library\n> nx g @nx\u002Freact:library --directory=libs\u002Fmy-lib\n> # generates libs\u002Fmy-lib\u002Fpackage.json and more\n>\n> # ❌ Wrong - this will create files at libs and libs\u002Fsrc\u002F...\n> nx g @nx\u002Freact:library --name=my-lib --directory=libs\n> # generates libs\u002Fpackage.json and more\n> ```\n\n### 5. Examine Existing Patterns\n\nBefore generating, examine the target area of the codebase:\n\n- Look at similar existing artifacts (other libraries, applications, etc.)\n- Identify naming conventions, file structures, and configuration patterns\n- Note which test runners, build tools, and linters are used\n- Configure the generator to match these patterns\n\n### 6. Dry-Run to Verify File Placement\n\n**Always run with `--dry-run` first** to verify files will be created in the correct location:\n\n```bash\nnpx nx g @nx\u002Freact:library --name=my-lib --dry-run --no-interactive\n```\n\nReview the output carefully. If files would be created in the wrong location, adjust your options based on what you learned from the generator source code.\n\nNote: Some generators don't support dry-run (e.g., if they install npm packages). If dry-run fails for this reason, proceed to running the generator for real.\n\n### 7. Run the Generator\n\nExecute the generator:\n\n```bash\nnx generate \u003Cgenerator-name> \u003Coptions> --no-interactive\n```\n\n> **Tip:** New packages often need workspace dependencies wired up (e.g., importing shared types, being consumed by apps). The `link-workspace-packages` skill can help add these correctly.\n\n### 8. Modify Generated Code (If Needed)\n\nGenerators provide a starting point. Modify the output as needed to:\n\n- Add or modify functionality as requested\n- Adjust imports, exports, or configurations\n- Integrate with existing code patterns\n\n**Important:** If you replace or delete generated test files (e.g., `*.spec.ts`), either write meaningful replacement tests or remove the `test` target from the project configuration. Empty test suites will cause `nx test` to fail.\n\n### 9. Format and Verify\n\nFormat all generated\u002Fmodified files:\n\n```bash\nnx format --fix\n```\n\nThis example is for built-in nx formatting with prettier. There might be other formatting tools for this workspace, use these when appropriate.\n\nThen verify the generated code works. Keep in mind that the changes you make with a generator or subsequent modifications might impact various projects so it's usually not enough to only run targets for the artifact you just created.\n\n```bash\n# these targets are just an example!\nnx run-many -t build,lint,test,typecheck\n```\n\nThese targets are common examples used across many workspaces. You should do research into other targets available for this workspace and its projects. CI configuration is usually a good guide for what the critical targets are that have to pass.\n\nIf verification fails with manageable issues (a few lint errors, minor type issues), fix them. If issues are extensive, attempt obvious fixes first, then escalate to the user with details about what was generated, what's failing, and what you've attempted.\n",{"name":5,"description":7,"when_to_use":24},"INVOKE IMMEDIATELY when the user mentions scaffolding, setup, structure, creating apps\u002Flibs, or setting up project structure. Trigger words - scaffold, setup, create a new app, create a new lib, generate, add a new project.","main","e6a21f0c020e81a73b28f6923bd898af898f17e4",".agents\u002Fskills\u002Fnx-generate",0,"https:\u002F\u002Fgithub.com\u002Fwahidyankf\u002Fbeaver-nest","https:\u002F\u002Fgithub.com\u002Fwahidyankf","Software Engineer","2026-11-15 04:32:43",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add wahidyankf\u002Fbeaver-nest --skill nx-generate",{"tool":39,"command":40},"bunx","bunx skills add wahidyankf\u002Fbeaver-nest --skill nx-generate",{"tool":42,"command":43},"pnpm","pnpm dlx skills add wahidyankf\u002Fbeaver-nest --skill nx-generate","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fwahidyankf\u002Fbeaver-nest\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fnx-generate\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M79Y04GAQQJXY8N9BD749WDJ","writing-browser-e2e-tests","Guides writing browser end-to-end tests that find elements as users do, wait on what the action produced, keep page knowledge in page objects, organize one feature per file, and run scenario-backed suites from generated specs.","https:\u002F\u002Fgithub.com\u002Fwahidyankf\u002Fbeaver-nest\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwriting-browser-e2e-tests\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M79Y0001QFQM6ZZQMG91MMN6","usability-heuristic-evaluation","Guides judging a running interface as a first-time user would, without its specifications: citing a named principle for every finding, walking each task step, reading labels and addresses for scent, and rating severity.","https:\u002F\u002Fgithub.com\u002Fwahidyankf\u002Fbeaver-nest\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fusability-heuristic-evaluation\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M79XZX1AF54RXJRYZZ5KRA3Z","tooling-nx","Guides Nx workspace work under the Nx standard: selecting projects by the graph, adding a target only where a capability exists, tracing a stale cached pass to its missing input, and answering a module-boundary finding.","https:\u002F\u002Fgithub.com\u002Fwahidyankf\u002Fbeaver-nest\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftooling-nx\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M79XZT0D49C6D7DHBE0960H6","programming-typescript","Guides the procedure for writing or changing TypeScript: loading the TypeScript standard first, driving each increment test-first, finding which rule a decision falls under, and confirming the gates before handing off.","https:\u002F\u002Fgithub.com\u002Fwahidyankf\u002Fbeaver-nest\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fprogramming-typescript\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M79XZPYGRRJ4CK2EGA3P5RYP","programming-shell","Guides shell work under the shell standards: checking the declared dialect first, deciding whether logic belongs in shell at all, tracing where exit-on-error does not reach, and testing the script as its callers run it.","https:\u002F\u002Fgithub.com\u002Fwahidyankf\u002Fbeaver-nest\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fprogramming-shell\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M79XZKN2R9RR0MX66DEM5W2Z","programming-javascript","Guides JavaScript work under the JavaScript standard: confirming the file is type-checked, typing through JSDoc, validating input the checker cannot see, and noticing floating promises and swallowed errors before handing off.","https:\u002F\u002Fgithub.com\u002Fwahidyankf\u002Fbeaver-nest\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fprogramming-javascript\u002FSKILL.md",[],[]]