devskill 2.0.7 → 2.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/meta.ts +4 -0
- package/package.json +1 -1
- package/skills/add-educational-comments/LICENSE.md +21 -0
- package/skills/add-educational-comments/SKILL.md +128 -0
- package/skills/add-educational-comments/SYNC.md +5 -0
- package/skills/agent-governance/LICENSE.md +21 -0
- package/skills/agent-governance/SKILL.md +569 -0
- package/skills/agent-governance/SYNC.md +5 -0
- package/skills/agentic-eval/LICENSE.md +21 -0
- package/skills/agentic-eval/SKILL.md +189 -0
- package/skills/agentic-eval/SYNC.md +5 -0
- package/skills/ai-prompt-engineering-safety-review/LICENSE.md +21 -0
- package/skills/ai-prompt-engineering-safety-review/SKILL.md +230 -0
- package/skills/ai-prompt-engineering-safety-review/SYNC.md +5 -0
- package/skills/appinsights-instrumentation/LICENSE.md +21 -0
- package/skills/appinsights-instrumentation/LICENSE.txt +21 -0
- package/skills/appinsights-instrumentation/SKILL.md +48 -0
- package/skills/appinsights-instrumentation/SYNC.md +5 -0
- package/skills/appinsights-instrumentation/examples/appinsights.bicep +30 -0
- package/skills/appinsights-instrumentation/references/ASPNETCORE.md +29 -0
- package/skills/appinsights-instrumentation/references/AUTO.md +13 -0
- package/skills/appinsights-instrumentation/references/NODEJS.md +28 -0
- package/skills/appinsights-instrumentation/references/PYTHON.md +48 -0
- package/skills/appinsights-instrumentation/scripts/appinsights.ps1 +20 -0
- package/skills/apple-appstore-reviewer/LICENSE.md +21 -0
- package/skills/apple-appstore-reviewer/SKILL.md +305 -0
- package/skills/apple-appstore-reviewer/SYNC.md +5 -0
- package/skills/arch-linux-triage/LICENSE.md +21 -0
- package/skills/arch-linux-triage/SKILL.md +31 -0
- package/skills/arch-linux-triage/SYNC.md +5 -0
- package/skills/architecture-blueprint-generator/LICENSE.md +21 -0
- package/skills/architecture-blueprint-generator/SKILL.md +322 -0
- package/skills/architecture-blueprint-generator/SYNC.md +5 -0
- package/skills/aspire/LICENSE.md +21 -0
- package/skills/aspire/SKILL.md +231 -0
- package/skills/aspire/SYNC.md +5 -0
- package/skills/aspire/references/architecture.md +341 -0
- package/skills/aspire/references/cli-reference.md +307 -0
- package/skills/aspire/references/dashboard.md +226 -0
- package/skills/aspire/references/deployment.md +237 -0
- package/skills/aspire/references/integrations-catalog.md +68 -0
- package/skills/aspire/references/mcp-server.md +195 -0
- package/skills/aspire/references/polyglot-apis.md +296 -0
- package/skills/aspire/references/testing.md +281 -0
- package/skills/aspire/references/troubleshooting.md +194 -0
- package/skills/aspnet-minimal-api-openapi/LICENSE.md +21 -0
- package/skills/aspnet-minimal-api-openapi/SKILL.md +41 -0
- package/skills/aspnet-minimal-api-openapi/SYNC.md +5 -0
- package/skills/automate-this/LICENSE.md +21 -0
- package/skills/automate-this/SKILL.md +244 -0
- package/skills/automate-this/SYNC.md +5 -0
- package/skills/autoresearch/LICENSE.md +21 -0
- package/skills/autoresearch/SKILL.md +275 -0
- package/skills/autoresearch/SYNC.md +5 -0
- package/skills/aws-cdk-python-setup/LICENSE.md +21 -0
- package/skills/aws-cdk-python-setup/SKILL.md +111 -0
- package/skills/aws-cdk-python-setup/SYNC.md +5 -0
- package/skills/az-cost-optimize/LICENSE.md +21 -0
- package/skills/az-cost-optimize/SKILL.md +305 -0
- package/skills/az-cost-optimize/SYNC.md +5 -0
- package/skills/azure-deployment-preflight/LICENSE.md +21 -0
- package/skills/azure-deployment-preflight/SKILL.md +216 -0
- package/skills/azure-deployment-preflight/SYNC.md +5 -0
- package/skills/azure-deployment-preflight/references/ERROR-HANDLING.md +392 -0
- package/skills/azure-deployment-preflight/references/REPORT-TEMPLATE.md +352 -0
- package/skills/azure-deployment-preflight/references/VALIDATION-COMMANDS.md +379 -0
- package/skills/azure-devops-cli/LICENSE.md +21 -0
- package/skills/azure-devops-cli/SKILL.md +94 -0
- package/skills/azure-devops-cli/SYNC.md +5 -0
- package/skills/azure-devops-cli/references/advanced-usage.md +197 -0
- package/skills/azure-devops-cli/references/boards-and-iterations.md +258 -0
- package/skills/azure-devops-cli/references/org-and-security.md +469 -0
- package/skills/azure-devops-cli/references/pipelines-and-builds.md +245 -0
- package/skills/azure-devops-cli/references/repos-and-prs.md +333 -0
- package/skills/azure-devops-cli/references/variables-and-agents.md +212 -0
- package/skills/azure-devops-cli/references/workflows-and-patterns.md +668 -0
- package/skills/azure-pricing/LICENSE.md +21 -0
- package/skills/azure-pricing/SKILL.md +189 -0
- package/skills/azure-pricing/SYNC.md +5 -0
- package/skills/azure-pricing/references/COPILOT-STUDIO-RATES.md +135 -0
- package/skills/azure-pricing/references/COST-ESTIMATOR.md +142 -0
- package/skills/azure-pricing/references/REGIONS.md +84 -0
- package/skills/azure-pricing/references/SERVICE-NAMES.md +106 -0
- package/skills/azure-resource-health-diagnose/LICENSE.md +21 -0
- package/skills/azure-resource-health-diagnose/SKILL.md +290 -0
- package/skills/azure-resource-health-diagnose/SYNC.md +5 -0
- package/skills/azure-resource-visualizer/LICENSE.md +21 -0
- package/skills/azure-resource-visualizer/LICENSE.txt +21 -0
- package/skills/azure-resource-visualizer/SKILL.md +233 -0
- package/skills/azure-resource-visualizer/SYNC.md +5 -0
- package/skills/azure-resource-visualizer/assets/template-architecture.md +41 -0
- package/skills/azure-role-selector/LICENSE.md +21 -0
- package/skills/azure-role-selector/LICENSE.txt +21 -0
- package/skills/azure-role-selector/SKILL.md +6 -0
- package/skills/azure-role-selector/SYNC.md +5 -0
- package/skills/azure-static-web-apps/LICENSE.md +21 -0
- package/skills/azure-static-web-apps/SKILL.md +315 -0
- package/skills/azure-static-web-apps/SYNC.md +5 -0
- package/skills/bigquery-pipeline-audit/LICENSE.md +21 -0
- package/skills/bigquery-pipeline-audit/SKILL.md +129 -0
- package/skills/bigquery-pipeline-audit/SYNC.md +5 -0
- package/skills/boost-prompt/LICENSE.md +21 -0
- package/skills/boost-prompt/SKILL.md +25 -0
- package/skills/boost-prompt/SYNC.md +5 -0
- package/skills/breakdown-epic-arch/LICENSE.md +21 -0
- package/skills/breakdown-epic-arch/SKILL.md +66 -0
- package/skills/breakdown-epic-arch/SYNC.md +5 -0
- package/skills/breakdown-epic-pm/LICENSE.md +21 -0
- package/skills/breakdown-epic-pm/SKILL.md +58 -0
- package/skills/breakdown-epic-pm/SYNC.md +5 -0
- package/skills/breakdown-feature-implementation/LICENSE.md +21 -0
- package/skills/breakdown-feature-implementation/SKILL.md +128 -0
- package/skills/breakdown-feature-implementation/SYNC.md +5 -0
- package/skills/breakdown-feature-prd/LICENSE.md +21 -0
- package/skills/breakdown-feature-prd/SKILL.md +61 -0
- package/skills/breakdown-feature-prd/SYNC.md +5 -0
- package/skills/breakdown-plan/LICENSE.md +21 -0
- package/skills/breakdown-plan/SKILL.md +509 -0
- package/skills/breakdown-plan/SYNC.md +5 -0
- package/skills/breakdown-test/LICENSE.md +21 -0
- package/skills/breakdown-test/SKILL.md +365 -0
- package/skills/breakdown-test/SYNC.md +5 -0
- package/skills/centos-linux-triage/LICENSE.md +21 -0
- package/skills/centos-linux-triage/SKILL.md +31 -0
- package/skills/centos-linux-triage/SYNC.md +5 -0
- package/skills/chrome-devtools/LICENSE.md +21 -0
- package/skills/chrome-devtools/SKILL.md +97 -0
- package/skills/chrome-devtools/SYNC.md +5 -0
- package/skills/cli-mastery/LICENSE.md +21 -0
- package/skills/cli-mastery/SKILL.md +43 -0
- package/skills/cli-mastery/SYNC.md +5 -0
- package/skills/cli-mastery/references/final-exam.md +24 -0
- package/skills/cli-mastery/references/module-1-slash-commands.md +88 -0
- package/skills/cli-mastery/references/module-2-keyboard-shortcuts.md +38 -0
- package/skills/cli-mastery/references/module-3-modes.md +33 -0
- package/skills/cli-mastery/references/module-4-agents.md +42 -0
- package/skills/cli-mastery/references/module-5-skills.md +33 -0
- package/skills/cli-mastery/references/module-6-mcp.md +50 -0
- package/skills/cli-mastery/references/module-7-advanced.md +38 -0
- package/skills/cli-mastery/references/module-8-configuration.md +34 -0
- package/skills/cli-mastery/references/scenarios.md +44 -0
- package/skills/cloud-design-patterns/LICENSE.md +21 -0
- package/skills/cloud-design-patterns/SKILL.md +62 -0
- package/skills/cloud-design-patterns/SYNC.md +5 -0
- package/skills/cloud-design-patterns/references/architecture-design.md +127 -0
- package/skills/cloud-design-patterns/references/azure-service-mappings.md +13 -0
- package/skills/cloud-design-patterns/references/best-practices.md +34 -0
- package/skills/cloud-design-patterns/references/deployment-operational.md +91 -0
- package/skills/cloud-design-patterns/references/event-driven.md +21 -0
- package/skills/cloud-design-patterns/references/messaging-integration.md +127 -0
- package/skills/cloud-design-patterns/references/performance.md +180 -0
- package/skills/cloud-design-patterns/references/reliability-resilience.md +156 -0
- package/skills/cloud-design-patterns/references/security.md +55 -0
- package/skills/code-exemplars-blueprint-generator/LICENSE.md +21 -0
- package/skills/code-exemplars-blueprint-generator/SKILL.md +126 -0
- package/skills/code-exemplars-blueprint-generator/SYNC.md +5 -0
- package/skills/codeql/LICENSE.md +21 -0
- package/skills/codeql/SKILL.md +405 -0
- package/skills/codeql/SYNC.md +5 -0
- package/skills/codeql/references/alert-management.md +170 -0
- package/skills/codeql/references/cli-commands.md +283 -0
- package/skills/codeql/references/compiled-languages.md +284 -0
- package/skills/codeql/references/sarif-output.md +265 -0
- package/skills/codeql/references/troubleshooting.md +259 -0
- package/skills/codeql/references/workflow-configuration.md +398 -0
- package/skills/comment-code-generate-a-tutorial/LICENSE.md +21 -0
- package/skills/comment-code-generate-a-tutorial/SKILL.md +26 -0
- package/skills/comment-code-generate-a-tutorial/SYNC.md +5 -0
- package/skills/containerize-aspnet-framework/LICENSE.md +21 -0
- package/skills/containerize-aspnet-framework/SKILL.md +454 -0
- package/skills/containerize-aspnet-framework/SYNC.md +5 -0
- package/skills/containerize-aspnetcore/LICENSE.md +21 -0
- package/skills/containerize-aspnetcore/SKILL.md +392 -0
- package/skills/containerize-aspnetcore/SYNC.md +5 -0
- package/skills/context-map/LICENSE.md +21 -0
- package/skills/context-map/SKILL.md +52 -0
- package/skills/context-map/SYNC.md +5 -0
- package/skills/conventional-commit/LICENSE.md +21 -0
- package/skills/conventional-commit/SKILL.md +72 -0
- package/skills/conventional-commit/SYNC.md +5 -0
- package/skills/convert-plaintext-to-md/LICENSE.md +21 -0
- package/skills/convert-plaintext-to-md/SKILL.md +362 -0
- package/skills/convert-plaintext-to-md/SYNC.md +5 -0
- package/skills/copilot-cli-quickstart/LICENSE.md +21 -0
- package/skills/copilot-cli-quickstart/SKILL.md +774 -0
- package/skills/copilot-cli-quickstart/SYNC.md +5 -0
- package/skills/copilot-instructions-blueprint-generator/LICENSE.md +21 -0
- package/skills/copilot-instructions-blueprint-generator/SKILL.md +294 -0
- package/skills/copilot-instructions-blueprint-generator/SYNC.md +5 -0
- package/skills/copilot-sdk/LICENSE.md +21 -0
- package/skills/copilot-sdk/SKILL.md +914 -0
- package/skills/copilot-sdk/SYNC.md +5 -0
- package/skills/copilot-spaces/LICENSE.md +21 -0
- package/skills/copilot-spaces/SKILL.md +205 -0
- package/skills/copilot-spaces/SYNC.md +5 -0
- package/skills/copilot-usage-metrics/LICENSE.md +21 -0
- package/skills/copilot-usage-metrics/SKILL.md +52 -0
- package/skills/copilot-usage-metrics/SYNC.md +5 -0
- package/skills/copilot-usage-metrics/get-enterprise-metrics.sh +22 -0
- package/skills/copilot-usage-metrics/get-enterprise-user-metrics.sh +22 -0
- package/skills/copilot-usage-metrics/get-org-metrics.sh +22 -0
- package/skills/copilot-usage-metrics/get-org-user-metrics.sh +22 -0
- package/skills/cosmosdb-datamodeling/LICENSE.md +21 -0
- package/skills/cosmosdb-datamodeling/SKILL.md +1045 -0
- package/skills/cosmosdb-datamodeling/SYNC.md +5 -0
- package/skills/create-agentsmd/LICENSE.md +21 -0
- package/skills/create-agentsmd/SKILL.md +249 -0
- package/skills/create-agentsmd/SYNC.md +5 -0
- package/skills/create-architectural-decision-record/LICENSE.md +21 -0
- package/skills/create-architectural-decision-record/SKILL.md +97 -0
- package/skills/create-architectural-decision-record/SYNC.md +5 -0
- package/skills/create-github-action-workflow-specification/LICENSE.md +21 -0
- package/skills/create-github-action-workflow-specification/SKILL.md +276 -0
- package/skills/create-github-action-workflow-specification/SYNC.md +5 -0
- package/skills/create-github-issue-feature-from-specification/LICENSE.md +21 -0
- package/skills/create-github-issue-feature-from-specification/SKILL.md +28 -0
- package/skills/create-github-issue-feature-from-specification/SYNC.md +5 -0
- package/skills/create-github-issues-feature-from-implementation-plan/LICENSE.md +21 -0
- package/skills/create-github-issues-feature-from-implementation-plan/SKILL.md +28 -0
- package/skills/create-github-issues-feature-from-implementation-plan/SYNC.md +5 -0
- package/skills/create-github-issues-for-unmet-specification-requirements/LICENSE.md +21 -0
- package/skills/create-github-issues-for-unmet-specification-requirements/SKILL.md +35 -0
- package/skills/create-github-issues-for-unmet-specification-requirements/SYNC.md +5 -0
- package/skills/create-github-pull-request-from-specification/LICENSE.md +21 -0
- package/skills/create-github-pull-request-from-specification/SKILL.md +24 -0
- package/skills/create-github-pull-request-from-specification/SYNC.md +5 -0
- package/skills/create-implementation-plan/LICENSE.md +21 -0
- package/skills/create-implementation-plan/SKILL.md +157 -0
- package/skills/create-implementation-plan/SYNC.md +5 -0
- package/skills/create-llms/LICENSE.md +21 -0
- package/skills/create-llms/SKILL.md +210 -0
- package/skills/create-llms/SYNC.md +5 -0
- package/skills/create-readme/LICENSE.md +21 -0
- package/skills/create-readme/SKILL.md +21 -0
- package/skills/create-readme/SYNC.md +5 -0
- package/skills/create-specification/LICENSE.md +21 -0
- package/skills/create-specification/SKILL.md +127 -0
- package/skills/create-specification/SYNC.md +5 -0
- package/skills/create-spring-boot-java-project/LICENSE.md +21 -0
- package/skills/create-spring-boot-java-project/SKILL.md +163 -0
- package/skills/create-spring-boot-java-project/SYNC.md +5 -0
- package/skills/create-spring-boot-kotlin-project/LICENSE.md +21 -0
- package/skills/create-spring-boot-kotlin-project/SKILL.md +147 -0
- package/skills/create-spring-boot-kotlin-project/SYNC.md +5 -0
- package/skills/create-technical-spike/LICENSE.md +21 -0
- package/skills/create-technical-spike/SKILL.md +230 -0
- package/skills/create-technical-spike/SYNC.md +5 -0
- package/skills/create-tldr-page/LICENSE.md +21 -0
- package/skills/create-tldr-page/SKILL.md +210 -0
- package/skills/create-tldr-page/SYNC.md +5 -0
- package/skills/creating-oracle-to-postgres-master-migration-plan/LICENSE.md +21 -0
- package/skills/creating-oracle-to-postgres-master-migration-plan/SKILL.md +83 -0
- package/skills/creating-oracle-to-postgres-master-migration-plan/SYNC.md +5 -0
- package/skills/creating-oracle-to-postgres-migration-bug-report/LICENSE.md +21 -0
- package/skills/creating-oracle-to-postgres-migration-bug-report/SKILL.md +43 -0
- package/skills/creating-oracle-to-postgres-migration-bug-report/SYNC.md +5 -0
- package/skills/creating-oracle-to-postgres-migration-bug-report/references/BUG-REPORT-TEMPLATE.md +79 -0
- package/skills/creating-oracle-to-postgres-migration-integration-tests/LICENSE.md +21 -0
- package/skills/creating-oracle-to-postgres-migration-integration-tests/SKILL.md +60 -0
- package/skills/creating-oracle-to-postgres-migration-integration-tests/SYNC.md +5 -0
- package/skills/csharp-async/LICENSE.md +21 -0
- package/skills/csharp-async/SKILL.md +49 -0
- package/skills/csharp-async/SYNC.md +5 -0
- package/skills/csharp-docs/LICENSE.md +21 -0
- package/skills/csharp-docs/SKILL.md +62 -0
- package/skills/csharp-docs/SYNC.md +5 -0
- package/skills/csharp-mcp-server-generator/LICENSE.md +21 -0
- package/skills/csharp-mcp-server-generator/SKILL.md +59 -0
- package/skills/csharp-mcp-server-generator/SYNC.md +5 -0
- package/skills/csharp-mstest/LICENSE.md +21 -0
- package/skills/csharp-mstest/SKILL.md +478 -0
- package/skills/csharp-mstest/SYNC.md +5 -0
- package/skills/csharp-nunit/LICENSE.md +21 -0
- package/skills/csharp-nunit/SKILL.md +71 -0
- package/skills/csharp-nunit/SYNC.md +5 -0
- package/skills/csharp-tunit/LICENSE.md +21 -0
- package/skills/csharp-tunit/SKILL.md +100 -0
- package/skills/csharp-tunit/SYNC.md +5 -0
- package/skills/csharp-xunit/LICENSE.md +21 -0
- package/skills/csharp-xunit/SKILL.md +68 -0
- package/skills/csharp-xunit/SYNC.md +5 -0
- package/skills/datanalysis-credit-risk/LICENSE.md +21 -0
- package/skills/datanalysis-credit-risk/SKILL.md +113 -0
- package/skills/datanalysis-credit-risk/SYNC.md +5 -0
- package/skills/datanalysis-credit-risk/references/analysis.py +1223 -0
- package/skills/datanalysis-credit-risk/references/func.py +228 -0
- package/skills/datanalysis-credit-risk/scripts/example.py +391 -0
- package/skills/dataverse-python-advanced-patterns/LICENSE.md +21 -0
- package/skills/dataverse-python-advanced-patterns/SKILL.md +17 -0
- package/skills/dataverse-python-advanced-patterns/SYNC.md +5 -0
- package/skills/dataverse-python-production-code/LICENSE.md +21 -0
- package/skills/dataverse-python-production-code/SKILL.md +116 -0
- package/skills/dataverse-python-production-code/SYNC.md +5 -0
- package/skills/dataverse-python-quickstart/LICENSE.md +21 -0
- package/skills/dataverse-python-quickstart/SKILL.md +14 -0
- package/skills/dataverse-python-quickstart/SYNC.md +5 -0
- package/skills/dataverse-python-usecase-builder/LICENSE.md +21 -0
- package/skills/dataverse-python-usecase-builder/SKILL.md +246 -0
- package/skills/dataverse-python-usecase-builder/SYNC.md +5 -0
- package/skills/debian-linux-triage/LICENSE.md +21 -0
- package/skills/debian-linux-triage/SKILL.md +31 -0
- package/skills/debian-linux-triage/SYNC.md +5 -0
- package/skills/declarative-agents/LICENSE.md +21 -0
- package/skills/declarative-agents/SKILL.md +94 -0
- package/skills/declarative-agents/SYNC.md +5 -0
- package/skills/dependabot/LICENSE.md +21 -0
- package/skills/dependabot/SKILL.md +422 -0
- package/skills/dependabot/SYNC.md +5 -0
- package/skills/dependabot/references/dependabot-yml-reference.md +374 -0
- package/skills/dependabot/references/example-configs.md +409 -0
- package/skills/dependabot/references/pr-commands.md +91 -0
- package/skills/devops-rollout-plan/LICENSE.md +21 -0
- package/skills/devops-rollout-plan/SKILL.md +117 -0
- package/skills/devops-rollout-plan/SYNC.md +5 -0
- package/skills/documentation-writer/LICENSE.md +21 -0
- package/skills/documentation-writer/SKILL.md +45 -0
- package/skills/documentation-writer/SYNC.md +5 -0
- package/skills/dotnet-best-practices/LICENSE.md +21 -0
- package/skills/dotnet-best-practices/SKILL.md +85 -0
- package/skills/dotnet-best-practices/SYNC.md +5 -0
- package/skills/dotnet-design-pattern-review/LICENSE.md +21 -0
- package/skills/dotnet-design-pattern-review/SKILL.md +42 -0
- package/skills/dotnet-design-pattern-review/SYNC.md +5 -0
- package/skills/dotnet-timezone/LICENSE.md +21 -0
- package/skills/dotnet-timezone/SKILL.md +109 -0
- package/skills/dotnet-timezone/SYNC.md +5 -0
- package/skills/dotnet-timezone/references/code-patterns.md +153 -0
- package/skills/dotnet-timezone/references/timezone-index.md +87 -0
- package/skills/dotnet-upgrade/LICENSE.md +21 -0
- package/skills/dotnet-upgrade/SKILL.md +116 -0
- package/skills/dotnet-upgrade/SYNC.md +5 -0
- package/skills/doublecheck/LICENSE.md +21 -0
- package/skills/doublecheck/SKILL.md +277 -0
- package/skills/doublecheck/SYNC.md +5 -0
- package/skills/doublecheck/assets/verification-report-template.md +92 -0
- package/skills/editorconfig/LICENSE.md +21 -0
- package/skills/editorconfig/SKILL.md +63 -0
- package/skills/editorconfig/SYNC.md +5 -0
- package/skills/ef-core/LICENSE.md +21 -0
- package/skills/ef-core/SKILL.md +75 -0
- package/skills/ef-core/SYNC.md +5 -0
- package/skills/entra-agent-user/LICENSE.md +21 -0
- package/skills/entra-agent-user/SKILL.md +270 -0
- package/skills/entra-agent-user/SYNC.md +5 -0
- package/skills/eval-driven-dev/LICENSE.md +21 -0
- package/skills/eval-driven-dev/SKILL.md +862 -0
- package/skills/eval-driven-dev/SYNC.md +5 -0
- package/skills/eval-driven-dev/references/pixie-api.md +195 -0
- package/skills/excalidraw-diagram-generator/LICENSE.md +21 -0
- package/skills/excalidraw-diagram-generator/SKILL.md +613 -0
- package/skills/excalidraw-diagram-generator/SYNC.md +5 -0
- package/skills/excalidraw-diagram-generator/references/element-types.md +497 -0
- package/skills/excalidraw-diagram-generator/references/excalidraw-schema.md +350 -0
- package/skills/excalidraw-diagram-generator/scripts/README.md +193 -0
- package/skills/excalidraw-diagram-generator/scripts/add-arrow.py +312 -0
- package/skills/excalidraw-diagram-generator/scripts/add-icon-to-diagram.py +404 -0
- package/skills/excalidraw-diagram-generator/scripts/split-excalidraw-library.py +183 -0
- package/skills/excalidraw-diagram-generator/templates/business-flow-swimlane-template.excalidraw +334 -0
- package/skills/excalidraw-diagram-generator/templates/class-diagram-template.excalidraw +558 -0
- package/skills/excalidraw-diagram-generator/templates/data-flow-diagram-template.excalidraw +279 -0
- package/skills/excalidraw-diagram-generator/templates/er-diagram-template.excalidraw +662 -0
- package/skills/excalidraw-diagram-generator/templates/flowchart-template.excalidraw +179 -0
- package/skills/excalidraw-diagram-generator/templates/mindmap-template.excalidraw +244 -0
- package/skills/excalidraw-diagram-generator/templates/relationship-template.excalidraw +145 -0
- package/skills/excalidraw-diagram-generator/templates/sequence-diagram-template.excalidraw +509 -0
- package/skills/fabric-lakehouse/LICENSE.md +21 -0
- package/skills/fabric-lakehouse/SKILL.md +106 -0
- package/skills/fabric-lakehouse/SYNC.md +5 -0
- package/skills/fabric-lakehouse/references/getdata.md +36 -0
- package/skills/fabric-lakehouse/references/pyspark.md +189 -0
- package/skills/fedora-linux-triage/LICENSE.md +21 -0
- package/skills/fedora-linux-triage/SKILL.md +31 -0
- package/skills/fedora-linux-triage/SYNC.md +5 -0
- package/skills/finalize-agent-prompt/LICENSE.md +21 -0
- package/skills/finalize-agent-prompt/SKILL.md +26 -0
- package/skills/finalize-agent-prompt/SYNC.md +5 -0
- package/skills/finnish-humanizer/LICENSE.md +21 -0
- package/skills/finnish-humanizer/SKILL.md +145 -0
- package/skills/finnish-humanizer/SYNC.md +5 -0
- package/skills/finnish-humanizer/references/patterns.md +338 -0
- package/skills/first-ask/LICENSE.md +21 -0
- package/skills/first-ask/SKILL.md +30 -0
- package/skills/first-ask/SYNC.md +5 -0
- package/skills/flowstudio-power-automate-build/LICENSE.md +21 -0
- package/skills/flowstudio-power-automate-build/SKILL.md +460 -0
- package/skills/flowstudio-power-automate-build/SYNC.md +5 -0
- package/skills/flowstudio-power-automate-build/references/action-patterns-connectors.md +542 -0
- package/skills/flowstudio-power-automate-build/references/action-patterns-core.md +542 -0
- package/skills/flowstudio-power-automate-build/references/action-patterns-data.md +735 -0
- package/skills/flowstudio-power-automate-build/references/build-patterns.md +108 -0
- package/skills/flowstudio-power-automate-build/references/flow-schema.md +225 -0
- package/skills/flowstudio-power-automate-build/references/trigger-types.md +211 -0
- package/skills/flowstudio-power-automate-debug/LICENSE.md +21 -0
- package/skills/flowstudio-power-automate-debug/SKILL.md +322 -0
- package/skills/flowstudio-power-automate-debug/SYNC.md +5 -0
- package/skills/flowstudio-power-automate-debug/references/common-errors.md +188 -0
- package/skills/flowstudio-power-automate-debug/references/debug-workflow.md +157 -0
- package/skills/flowstudio-power-automate-mcp/LICENSE.md +21 -0
- package/skills/flowstudio-power-automate-mcp/SKILL.md +450 -0
- package/skills/flowstudio-power-automate-mcp/SYNC.md +5 -0
- package/skills/flowstudio-power-automate-mcp/references/MCP-BOOTSTRAP.md +53 -0
- package/skills/flowstudio-power-automate-mcp/references/action-types.md +79 -0
- package/skills/flowstudio-power-automate-mcp/references/connection-references.md +115 -0
- package/skills/flowstudio-power-automate-mcp/references/tool-reference.md +445 -0
- package/skills/fluentui-blazor/LICENSE.md +21 -0
- package/skills/fluentui-blazor/SKILL.md +231 -0
- package/skills/fluentui-blazor/SYNC.md +5 -0
- package/skills/fluentui-blazor/references/DATAGRID.md +162 -0
- package/skills/fluentui-blazor/references/LAYOUT-AND-NAVIGATION.md +173 -0
- package/skills/fluentui-blazor/references/SETUP.md +129 -0
- package/skills/fluentui-blazor/references/THEMING.md +103 -0
- package/skills/folder-structure-blueprint-generator/LICENSE.md +21 -0
- package/skills/folder-structure-blueprint-generator/SKILL.md +405 -0
- package/skills/folder-structure-blueprint-generator/SYNC.md +5 -0
- package/skills/game-engine/LICENSE.md +21 -0
- package/skills/game-engine/SKILL.md +139 -0
- package/skills/game-engine/SYNC.md +5 -0
- package/skills/game-engine/assets/2d-maze-game.md +528 -0
- package/skills/game-engine/assets/2d-platform-game.md +1855 -0
- package/skills/game-engine/assets/gameBase-template-repo.md +310 -0
- package/skills/game-engine/assets/paddle-game-template.md +1528 -0
- package/skills/game-engine/assets/simple-2d-engine.md +507 -0
- package/skills/game-engine/references/3d-web-games.md +754 -0
- package/skills/game-engine/references/algorithms.md +843 -0
- package/skills/game-engine/references/basics.md +343 -0
- package/skills/game-engine/references/game-control-mechanisms.md +617 -0
- package/skills/game-engine/references/game-engine-core-principles.md +695 -0
- package/skills/game-engine/references/game-publishing.md +352 -0
- package/skills/game-engine/references/techniques.md +894 -0
- package/skills/game-engine/references/terminology.md +354 -0
- package/skills/game-engine/references/web-apis.md +1394 -0
- package/skills/gen-specs-as-issues/LICENSE.md +21 -0
- package/skills/gen-specs-as-issues/SKILL.md +165 -0
- package/skills/gen-specs-as-issues/SYNC.md +5 -0
- package/skills/generate-custom-instructions-from-codebase/LICENSE.md +21 -0
- package/skills/generate-custom-instructions-from-codebase/SKILL.md +240 -0
- package/skills/generate-custom-instructions-from-codebase/SYNC.md +5 -0
- package/skills/geofeed-tuner/LICENSE.md +21 -0
- package/skills/geofeed-tuner/SKILL.md +864 -0
- package/skills/geofeed-tuner/SYNC.md +5 -0
- package/skills/geofeed-tuner/assets/example/01-user-input-rfc8805-feed.csv +5 -0
- package/skills/geofeed-tuner/assets/iso3166-1.json +1249 -0
- package/skills/geofeed-tuner/assets/iso3166-2.json +20188 -0
- package/skills/geofeed-tuner/assets/small-territories.json +106 -0
- package/skills/geofeed-tuner/references/rfc8805.txt +735 -0
- package/skills/geofeed-tuner/references/snippets-python3.md +85 -0
- package/skills/geofeed-tuner/scripts/templates/index.html +2305 -0
- package/skills/gh-cli/LICENSE.md +21 -0
- package/skills/gh-cli/SKILL.md +2187 -0
- package/skills/gh-cli/SYNC.md +5 -0
- package/skills/git-commit/LICENSE.md +21 -0
- package/skills/git-commit/SKILL.md +124 -0
- package/skills/git-commit/SYNC.md +5 -0
- package/skills/git-flow-branch-creator/LICENSE.md +21 -0
- package/skills/git-flow-branch-creator/SKILL.md +292 -0
- package/skills/git-flow-branch-creator/SYNC.md +5 -0
- package/skills/github-copilot-starter/LICENSE.md +21 -0
- package/skills/github-copilot-starter/SKILL.md +402 -0
- package/skills/github-copilot-starter/SYNC.md +5 -0
- package/skills/github-issues/LICENSE.md +21 -0
- package/skills/github-issues/SKILL.md +201 -0
- package/skills/github-issues/SYNC.md +5 -0
- package/skills/github-issues/references/dependencies.md +71 -0
- package/skills/github-issues/references/images.md +116 -0
- package/skills/github-issues/references/issue-fields.md +191 -0
- package/skills/github-issues/references/issue-types.md +72 -0
- package/skills/github-issues/references/projects.md +273 -0
- package/skills/github-issues/references/search.md +231 -0
- package/skills/github-issues/references/sub-issues.md +137 -0
- package/skills/github-issues/references/templates.md +90 -0
- package/skills/go-mcp-server-generator/LICENSE.md +21 -0
- package/skills/go-mcp-server-generator/SKILL.md +334 -0
- package/skills/go-mcp-server-generator/SYNC.md +5 -0
- package/skills/gtm-0-to-1-launch/LICENSE.md +21 -0
- package/skills/gtm-0-to-1-launch/SKILL.md +321 -0
- package/skills/gtm-0-to-1-launch/SYNC.md +5 -0
- package/skills/gtm-ai-gtm/LICENSE.md +21 -0
- package/skills/gtm-ai-gtm/SKILL.md +569 -0
- package/skills/gtm-ai-gtm/SYNC.md +5 -0
- package/skills/gtm-board-and-investor-communication/LICENSE.md +21 -0
- package/skills/gtm-board-and-investor-communication/SKILL.md +456 -0
- package/skills/gtm-board-and-investor-communication/SYNC.md +5 -0
- package/skills/gtm-developer-ecosystem/LICENSE.md +21 -0
- package/skills/gtm-developer-ecosystem/SKILL.md +310 -0
- package/skills/gtm-developer-ecosystem/SYNC.md +5 -0
- package/skills/gtm-enterprise-account-planning/LICENSE.md +21 -0
- package/skills/gtm-enterprise-account-planning/SKILL.md +429 -0
- package/skills/gtm-enterprise-account-planning/SYNC.md +5 -0
- package/skills/gtm-enterprise-onboarding/LICENSE.md +21 -0
- package/skills/gtm-enterprise-onboarding/SKILL.md +457 -0
- package/skills/gtm-enterprise-onboarding/SYNC.md +5 -0
- package/skills/gtm-operating-cadence/LICENSE.md +21 -0
- package/skills/gtm-operating-cadence/SKILL.md +420 -0
- package/skills/gtm-operating-cadence/SYNC.md +5 -0
- package/skills/gtm-partnership-architecture/LICENSE.md +21 -0
- package/skills/gtm-partnership-architecture/SKILL.md +470 -0
- package/skills/gtm-partnership-architecture/SYNC.md +5 -0
- package/skills/gtm-positioning-strategy/LICENSE.md +21 -0
- package/skills/gtm-positioning-strategy/SKILL.md +438 -0
- package/skills/gtm-positioning-strategy/SYNC.md +5 -0
- package/skills/gtm-product-led-growth/LICENSE.md +21 -0
- package/skills/gtm-product-led-growth/SKILL.md +339 -0
- package/skills/gtm-product-led-growth/SYNC.md +5 -0
- package/skills/gtm-technical-product-pricing/LICENSE.md +21 -0
- package/skills/gtm-technical-product-pricing/SKILL.md +353 -0
- package/skills/gtm-technical-product-pricing/SYNC.md +5 -0
- package/skills/image-manipulation-image-magick/LICENSE.md +21 -0
- package/skills/image-manipulation-image-magick/SKILL.md +252 -0
- package/skills/image-manipulation-image-magick/SYNC.md +5 -0
- package/skills/import-infrastructure-as-code/LICENSE.md +21 -0
- package/skills/import-infrastructure-as-code/SKILL.md +367 -0
- package/skills/import-infrastructure-as-code/SYNC.md +5 -0
- package/skills/issue-fields-migration/LICENSE.md +21 -0
- package/skills/issue-fields-migration/SKILL.md +533 -0
- package/skills/issue-fields-migration/SYNC.md +5 -0
- package/skills/issue-fields-migration/references/issue-fields-api.md +129 -0
- package/skills/issue-fields-migration/references/labels-api.md +74 -0
- package/skills/issue-fields-migration/references/projects-api.md +116 -0
- package/skills/java-add-graalvm-native-image-support/LICENSE.md +21 -0
- package/skills/java-add-graalvm-native-image-support/SKILL.md +449 -0
- package/skills/java-add-graalvm-native-image-support/SYNC.md +5 -0
- package/skills/java-docs/LICENSE.md +21 -0
- package/skills/java-docs/SKILL.md +23 -0
- package/skills/java-docs/SYNC.md +5 -0
- package/skills/java-junit/LICENSE.md +21 -0
- package/skills/java-junit/SKILL.md +63 -0
- package/skills/java-junit/SYNC.md +5 -0
- package/skills/java-mcp-server-generator/LICENSE.md +21 -0
- package/skills/java-mcp-server-generator/SKILL.md +756 -0
- package/skills/java-mcp-server-generator/SYNC.md +5 -0
- package/skills/java-refactoring-extract-method/LICENSE.md +21 -0
- package/skills/java-refactoring-extract-method/SKILL.md +104 -0
- package/skills/java-refactoring-extract-method/SYNC.md +5 -0
- package/skills/java-refactoring-remove-parameter/LICENSE.md +21 -0
- package/skills/java-refactoring-remove-parameter/SKILL.md +84 -0
- package/skills/java-refactoring-remove-parameter/SYNC.md +5 -0
- package/skills/java-springboot/LICENSE.md +21 -0
- package/skills/java-springboot/SKILL.md +65 -0
- package/skills/java-springboot/SYNC.md +5 -0
- package/skills/javascript-typescript-jest/LICENSE.md +21 -0
- package/skills/javascript-typescript-jest/SKILL.md +44 -0
- package/skills/javascript-typescript-jest/SYNC.md +5 -0
- package/skills/kotlin-mcp-server-generator/LICENSE.md +21 -0
- package/skills/kotlin-mcp-server-generator/SKILL.md +449 -0
- package/skills/kotlin-mcp-server-generator/SYNC.md +5 -0
- package/skills/kotlin-springboot/LICENSE.md +21 -0
- package/skills/kotlin-springboot/SKILL.md +70 -0
- package/skills/kotlin-springboot/SYNC.md +5 -0
- package/skills/legacy-circuit-mockups/LICENSE.md +21 -0
- package/skills/legacy-circuit-mockups/SKILL.md +276 -0
- package/skills/legacy-circuit-mockups/SYNC.md +5 -0
- package/skills/legacy-circuit-mockups/references/28256-eeprom.md +190 -0
- package/skills/legacy-circuit-mockups/references/555.md +861 -0
- package/skills/legacy-circuit-mockups/references/6502.md +221 -0
- package/skills/legacy-circuit-mockups/references/6522.md +211 -0
- package/skills/legacy-circuit-mockups/references/6C62256.md +177 -0
- package/skills/legacy-circuit-mockups/references/7400-series.md +177 -0
- package/skills/legacy-circuit-mockups/references/assembly-compiler.md +258 -0
- package/skills/legacy-circuit-mockups/references/assembly-language.md +226 -0
- package/skills/legacy-circuit-mockups/references/basic-electronic-components.md +86 -0
- package/skills/legacy-circuit-mockups/references/breadboard.md +214 -0
- package/skills/legacy-circuit-mockups/references/common-breadboard-components.md +281 -0
- package/skills/legacy-circuit-mockups/references/connecting-electronic-components.md +310 -0
- package/skills/legacy-circuit-mockups/references/emulator-28256-eeprom.md +245 -0
- package/skills/legacy-circuit-mockups/references/emulator-6502.md +251 -0
- package/skills/legacy-circuit-mockups/references/emulator-6522.md +288 -0
- package/skills/legacy-circuit-mockups/references/emulator-6C62256.md +233 -0
- package/skills/legacy-circuit-mockups/references/emulator-lcd.md +266 -0
- package/skills/legacy-circuit-mockups/references/lcd.md +208 -0
- package/skills/legacy-circuit-mockups/references/minipro.md +211 -0
- package/skills/legacy-circuit-mockups/references/t48eeprom-programmer.md +174 -0
- package/skills/make-repo-contribution/LICENSE.md +21 -0
- package/skills/make-repo-contribution/SKILL.md +90 -0
- package/skills/make-repo-contribution/SYNC.md +5 -0
- package/skills/make-repo-contribution/assets/issue-template.md +37 -0
- package/skills/make-repo-contribution/assets/pr-template.md +36 -0
- package/skills/make-skill-template/LICENSE.md +21 -0
- package/skills/make-skill-template/SKILL.md +147 -0
- package/skills/make-skill-template/SYNC.md +5 -0
- package/skills/markdown-to-html/LICENSE.md +21 -0
- package/skills/markdown-to-html/SKILL.md +916 -0
- package/skills/markdown-to-html/SYNC.md +5 -0
- package/skills/markdown-to-html/references/basic-markdown-to-html.md +420 -0
- package/skills/markdown-to-html/references/basic-markdown.md +496 -0
- package/skills/markdown-to-html/references/code-blocks-to-html.md +165 -0
- package/skills/markdown-to-html/references/code-blocks.md +70 -0
- package/skills/markdown-to-html/references/collapsed-sections-to-html.md +136 -0
- package/skills/markdown-to-html/references/collapsed-sections.md +48 -0
- package/skills/markdown-to-html/references/gomarkdown.md +253 -0
- package/skills/markdown-to-html/references/hugo.md +394 -0
- package/skills/markdown-to-html/references/jekyll.md +321 -0
- package/skills/markdown-to-html/references/marked.md +121 -0
- package/skills/markdown-to-html/references/pandoc.md +226 -0
- package/skills/markdown-to-html/references/tables-to-html.md +169 -0
- package/skills/markdown-to-html/references/tables.md +72 -0
- package/skills/markdown-to-html/references/writing-mathematical-expressions-to-html.md +350 -0
- package/skills/markdown-to-html/references/writing-mathematical-expressions.md +76 -0
- package/skills/mcp-cli/LICENSE.md +21 -0
- package/skills/mcp-cli/SKILL.md +78 -0
- package/skills/mcp-cli/SYNC.md +5 -0
- package/skills/mcp-copilot-studio-server-generator/LICENSE.md +21 -0
- package/skills/mcp-copilot-studio-server-generator/SKILL.md +118 -0
- package/skills/mcp-copilot-studio-server-generator/SYNC.md +5 -0
- package/skills/mcp-create-adaptive-cards/LICENSE.md +21 -0
- package/skills/mcp-create-adaptive-cards/SKILL.md +532 -0
- package/skills/mcp-create-adaptive-cards/SYNC.md +5 -0
- package/skills/mcp-create-declarative-agent/LICENSE.md +21 -0
- package/skills/mcp-create-declarative-agent/SKILL.md +315 -0
- package/skills/mcp-create-declarative-agent/SYNC.md +5 -0
- package/skills/mcp-deploy-manage-agents/LICENSE.md +21 -0
- package/skills/mcp-deploy-manage-agents/SKILL.md +341 -0
- package/skills/mcp-deploy-manage-agents/SYNC.md +5 -0
- package/skills/meeting-minutes/LICENSE.md +21 -0
- package/skills/meeting-minutes/SKILL.md +235 -0
- package/skills/meeting-minutes/SYNC.md +5 -0
- package/skills/memory-merger/LICENSE.md +21 -0
- package/skills/memory-merger/SKILL.md +108 -0
- package/skills/memory-merger/SYNC.md +5 -0
- package/skills/mentoring-juniors/LICENSE.md +21 -0
- package/skills/mentoring-juniors/SKILL.md +310 -0
- package/skills/mentoring-juniors/SYNC.md +5 -0
- package/skills/microsoft-agent-framework/LICENSE.md +21 -0
- package/skills/microsoft-agent-framework/SKILL.md +65 -0
- package/skills/microsoft-agent-framework/SYNC.md +5 -0
- package/skills/microsoft-agent-framework/references/dotnet.md +24 -0
- package/skills/microsoft-agent-framework/references/python.md +24 -0
- package/skills/microsoft-code-reference/LICENSE.md +21 -0
- package/skills/microsoft-code-reference/SKILL.md +99 -0
- package/skills/microsoft-code-reference/SYNC.md +5 -0
- package/skills/microsoft-docs/LICENSE.md +21 -0
- package/skills/microsoft-docs/SKILL.md +134 -0
- package/skills/microsoft-docs/SYNC.md +5 -0
- package/skills/microsoft-skill-creator/LICENSE.md +21 -0
- package/skills/microsoft-skill-creator/SKILL.md +250 -0
- package/skills/microsoft-skill-creator/SYNC.md +5 -0
- package/skills/microsoft-skill-creator/references/skill-templates.md +345 -0
- package/skills/migrating-oracle-to-postgres-stored-procedures/LICENSE.md +21 -0
- package/skills/migrating-oracle-to-postgres-stored-procedures/SKILL.md +42 -0
- package/skills/migrating-oracle-to-postgres-stored-procedures/SYNC.md +5 -0
- package/skills/mkdocs-translations/LICENSE.md +21 -0
- package/skills/mkdocs-translations/SKILL.md +108 -0
- package/skills/mkdocs-translations/SYNC.md +5 -0
- package/skills/model-recommendation/LICENSE.md +21 -0
- package/skills/model-recommendation/SKILL.md +672 -0
- package/skills/model-recommendation/SYNC.md +5 -0
- package/skills/msstore-cli/LICENSE.md +21 -0
- package/skills/msstore-cli/SKILL.md +600 -0
- package/skills/msstore-cli/SYNC.md +5 -0
- package/skills/multi-stage-dockerfile/LICENSE.md +21 -0
- package/skills/multi-stage-dockerfile/SKILL.md +46 -0
- package/skills/multi-stage-dockerfile/SYNC.md +5 -0
- package/skills/my-issues/LICENSE.md +21 -0
- package/skills/my-issues/SKILL.md +8 -0
- package/skills/my-issues/SYNC.md +5 -0
- package/skills/my-pull-requests/LICENSE.md +21 -0
- package/skills/my-pull-requests/SKILL.md +14 -0
- package/skills/my-pull-requests/SYNC.md +5 -0
- package/skills/nano-banana-pro-openrouter/LICENSE.md +21 -0
- package/skills/nano-banana-pro-openrouter/SKILL.md +74 -0
- package/skills/nano-banana-pro-openrouter/SYNC.md +5 -0
- package/skills/nano-banana-pro-openrouter/assets/SYSTEM_TEMPLATE +14 -0
- package/skills/nano-banana-pro-openrouter/scripts/generate_image.py +191 -0
- package/skills/napkin/LICENSE.md +21 -0
- package/skills/napkin/SKILL.md +154 -0
- package/skills/napkin/SYNC.md +5 -0
- package/skills/napkin/assets/napkin.html +2019 -0
- package/skills/napkin/assets/step1-activate.svg +107 -0
- package/skills/napkin/assets/step2-whiteboard.svg +157 -0
- package/skills/napkin/assets/step3-draw.svg +143 -0
- package/skills/napkin/assets/step4-share.svg +98 -0
- package/skills/napkin/assets/step5-response.svg +112 -0
- package/skills/next-intl-add-language/LICENSE.md +21 -0
- package/skills/next-intl-add-language/SKILL.md +19 -0
- package/skills/next-intl-add-language/SYNC.md +5 -0
- package/skills/noob-mode/LICENSE.md +21 -0
- package/skills/noob-mode/SKILL.md +263 -0
- package/skills/noob-mode/SYNC.md +5 -0
- package/skills/noob-mode/references/examples.md +418 -0
- package/skills/noob-mode/references/glossary.md +368 -0
- package/skills/nuget-manager/LICENSE.md +21 -0
- package/skills/nuget-manager/SKILL.md +68 -0
- package/skills/nuget-manager/SYNC.md +5 -0
- package/skills/oo-component-documentation/LICENSE.md +21 -0
- package/skills/oo-component-documentation/SKILL.md +74 -0
- package/skills/oo-component-documentation/SYNC.md +5 -0
- package/skills/oo-component-documentation/assets/documentation-template.md +97 -0
- package/skills/oo-component-documentation/references/create-mode.md +32 -0
- package/skills/oo-component-documentation/references/update-mode.md +32 -0
- package/skills/openapi-to-application-code/LICENSE.md +21 -0
- package/skills/openapi-to-application-code/SKILL.md +112 -0
- package/skills/openapi-to-application-code/SYNC.md +5 -0
- package/skills/pdftk-server/LICENSE.md +21 -0
- package/skills/pdftk-server/SKILL.md +162 -0
- package/skills/pdftk-server/SYNC.md +5 -0
- package/skills/pdftk-server/references/download.md +75 -0
- package/skills/pdftk-server/references/pdftk-cli-examples.md +193 -0
- package/skills/pdftk-server/references/pdftk-man-page.md +232 -0
- package/skills/pdftk-server/references/pdftk-server-license.md +25 -0
- package/skills/pdftk-server/references/third-party-materials.md +103 -0
- package/skills/penpot-uiux-design/LICENSE.md +21 -0
- package/skills/penpot-uiux-design/SKILL.md +342 -0
- package/skills/penpot-uiux-design/SYNC.md +5 -0
- package/skills/penpot-uiux-design/references/accessibility.md +329 -0
- package/skills/penpot-uiux-design/references/component-patterns.md +339 -0
- package/skills/penpot-uiux-design/references/platform-guidelines.md +367 -0
- package/skills/penpot-uiux-design/references/setup-troubleshooting.md +328 -0
- package/skills/php-mcp-server-generator/LICENSE.md +21 -0
- package/skills/php-mcp-server-generator/SKILL.md +522 -0
- package/skills/php-mcp-server-generator/SYNC.md +5 -0
- package/skills/planning-oracle-to-postgres-migration-integration-testing/LICENSE.md +21 -0
- package/skills/planning-oracle-to-postgres-migration-integration-testing/SKILL.md +44 -0
- package/skills/planning-oracle-to-postgres-migration-integration-testing/SYNC.md +5 -0
- package/skills/plantuml-ascii/LICENSE.md +21 -0
- package/skills/plantuml-ascii/SKILL.md +305 -0
- package/skills/plantuml-ascii/SYNC.md +5 -0
- package/skills/playwright-automation-fill-in-form/LICENSE.md +21 -0
- package/skills/playwright-automation-fill-in-form/SKILL.md +28 -0
- package/skills/playwright-automation-fill-in-form/SYNC.md +5 -0
- package/skills/playwright-explore-website/LICENSE.md +21 -0
- package/skills/playwright-explore-website/SKILL.md +17 -0
- package/skills/playwright-explore-website/SYNC.md +5 -0
- package/skills/playwright-generate-test/LICENSE.md +21 -0
- package/skills/playwright-generate-test/SKILL.md +17 -0
- package/skills/playwright-generate-test/SYNC.md +5 -0
- package/skills/polyglot-test-agent/LICENSE.md +21 -0
- package/skills/polyglot-test-agent/SKILL.md +161 -0
- package/skills/polyglot-test-agent/SYNC.md +5 -0
- package/skills/polyglot-test-agent/unit-test-generation.prompt.md +155 -0
- package/skills/postgresql-code-review/LICENSE.md +21 -0
- package/skills/postgresql-code-review/SKILL.md +212 -0
- package/skills/postgresql-code-review/SYNC.md +5 -0
- package/skills/postgresql-optimization/LICENSE.md +21 -0
- package/skills/postgresql-optimization/SKILL.md +404 -0
- package/skills/postgresql-optimization/SYNC.md +5 -0
- package/skills/power-apps-code-app-scaffold/LICENSE.md +21 -0
- package/skills/power-apps-code-app-scaffold/SKILL.md +146 -0
- package/skills/power-apps-code-app-scaffold/SYNC.md +5 -0
- package/skills/power-bi-dax-optimization/LICENSE.md +21 -0
- package/skills/power-bi-dax-optimization/SKILL.md +173 -0
- package/skills/power-bi-dax-optimization/SYNC.md +5 -0
- package/skills/power-bi-model-design-review/LICENSE.md +21 -0
- package/skills/power-bi-model-design-review/SKILL.md +403 -0
- package/skills/power-bi-model-design-review/SYNC.md +5 -0
- package/skills/power-bi-performance-troubleshooting/LICENSE.md +21 -0
- package/skills/power-bi-performance-troubleshooting/SKILL.md +382 -0
- package/skills/power-bi-performance-troubleshooting/SYNC.md +5 -0
- package/skills/power-bi-report-design-consultation/LICENSE.md +21 -0
- package/skills/power-bi-report-design-consultation/SKILL.md +351 -0
- package/skills/power-bi-report-design-consultation/SYNC.md +5 -0
- package/skills/power-platform-mcp-connector-suite/LICENSE.md +21 -0
- package/skills/power-platform-mcp-connector-suite/SKILL.md +156 -0
- package/skills/power-platform-mcp-connector-suite/SYNC.md +5 -0
- package/skills/powerbi-modeling/LICENSE.md +21 -0
- package/skills/powerbi-modeling/SKILL.md +153 -0
- package/skills/powerbi-modeling/SYNC.md +5 -0
- package/skills/powerbi-modeling/references/MEASURES-DAX.md +195 -0
- package/skills/powerbi-modeling/references/PERFORMANCE.md +215 -0
- package/skills/powerbi-modeling/references/RELATIONSHIPS.md +147 -0
- package/skills/powerbi-modeling/references/RLS.md +226 -0
- package/skills/powerbi-modeling/references/STAR-SCHEMA.md +103 -0
- package/skills/prd/LICENSE.md +21 -0
- package/skills/prd/SKILL.md +143 -0
- package/skills/prd/SYNC.md +5 -0
- package/skills/premium-frontend-ui/LICENSE.md +21 -0
- package/skills/premium-frontend-ui/SKILL.md +110 -0
- package/skills/premium-frontend-ui/SYNC.md +5 -0
- package/skills/project-workflow-analysis-blueprint-generator/LICENSE.md +21 -0
- package/skills/project-workflow-analysis-blueprint-generator/SKILL.md +293 -0
- package/skills/project-workflow-analysis-blueprint-generator/SYNC.md +5 -0
- package/skills/prompt-builder/LICENSE.md +21 -0
- package/skills/prompt-builder/SKILL.md +141 -0
- package/skills/prompt-builder/SYNC.md +5 -0
- package/skills/publish-to-pages/LICENSE.md +21 -0
- package/skills/publish-to-pages/SKILL.md +107 -0
- package/skills/publish-to-pages/SYNC.md +5 -0
- package/skills/publish-to-pages/scripts/convert-pdf.py +176 -0
- package/skills/publish-to-pages/scripts/convert-pptx.py +376 -0
- package/skills/publish-to-pages/scripts/publish.sh +51 -0
- package/skills/pytest-coverage/LICENSE.md +21 -0
- package/skills/pytest-coverage/SKILL.md +28 -0
- package/skills/pytest-coverage/SYNC.md +5 -0
- package/skills/python-mcp-server-generator/LICENSE.md +21 -0
- package/skills/python-mcp-server-generator/SKILL.md +105 -0
- package/skills/python-mcp-server-generator/SYNC.md +5 -0
- package/skills/quasi-coder/LICENSE.md +21 -0
- package/skills/quasi-coder/SKILL.md +369 -0
- package/skills/quasi-coder/SYNC.md +5 -0
- package/skills/readme-blueprint-generator/LICENSE.md +21 -0
- package/skills/readme-blueprint-generator/SKILL.md +78 -0
- package/skills/readme-blueprint-generator/SYNC.md +5 -0
- package/skills/refactor/LICENSE.md +21 -0
- package/skills/refactor/SKILL.md +645 -0
- package/skills/refactor/SYNC.md +5 -0
- package/skills/refactor-method-complexity-reduce/LICENSE.md +21 -0
- package/skills/refactor-method-complexity-reduce/SKILL.md +98 -0
- package/skills/refactor-method-complexity-reduce/SYNC.md +5 -0
- package/skills/refactor-plan/LICENSE.md +21 -0
- package/skills/refactor-plan/SKILL.md +65 -0
- package/skills/refactor-plan/SYNC.md +5 -0
- package/skills/remember/LICENSE.md +21 -0
- package/skills/remember/SKILL.md +126 -0
- package/skills/remember/SYNC.md +5 -0
- package/skills/remember-interactive-programming/LICENSE.md +21 -0
- package/skills/remember-interactive-programming/SKILL.md +13 -0
- package/skills/remember-interactive-programming/SYNC.md +5 -0
- package/skills/repo-story-time/LICENSE.md +21 -0
- package/skills/repo-story-time/SKILL.md +154 -0
- package/skills/repo-story-time/SYNC.md +5 -0
- package/skills/review-and-refactor/LICENSE.md +21 -0
- package/skills/review-and-refactor/SKILL.md +15 -0
- package/skills/review-and-refactor/SYNC.md +5 -0
- package/skills/reviewing-oracle-to-postgres-migration/LICENSE.md +21 -0
- package/skills/reviewing-oracle-to-postgres-migration/SKILL.md +67 -0
- package/skills/reviewing-oracle-to-postgres-migration/SYNC.md +5 -0
- package/skills/reviewing-oracle-to-postgres-migration/references/REFERENCE.md +13 -0
- package/skills/reviewing-oracle-to-postgres-migration/references/empty-strings-handling.md +69 -0
- package/skills/reviewing-oracle-to-postgres-migration/references/no-data-found-exceptions.md +99 -0
- package/skills/reviewing-oracle-to-postgres-migration/references/oracle-parentheses-from-clause.md +190 -0
- package/skills/reviewing-oracle-to-postgres-migration/references/oracle-to-postgres-sorting.md +51 -0
- package/skills/reviewing-oracle-to-postgres-migration/references/oracle-to-postgres-timestamp-timezone.md +187 -0
- package/skills/reviewing-oracle-to-postgres-migration/references/oracle-to-postgres-to-char-numeric.md +145 -0
- package/skills/reviewing-oracle-to-postgres-migration/references/oracle-to-postgres-type-coercion.md +182 -0
- package/skills/reviewing-oracle-to-postgres-migration/references/postgres-concurrent-transactions.md +259 -0
- package/skills/reviewing-oracle-to-postgres-migration/references/postgres-refcursor-handling.md +148 -0
- package/skills/ruby-mcp-server-generator/LICENSE.md +21 -0
- package/skills/ruby-mcp-server-generator/SKILL.md +660 -0
- package/skills/ruby-mcp-server-generator/SYNC.md +5 -0
- package/skills/rust-mcp-server-generator/LICENSE.md +21 -0
- package/skills/rust-mcp-server-generator/SKILL.md +577 -0
- package/skills/rust-mcp-server-generator/SYNC.md +5 -0
- package/skills/sandbox-npm-install/LICENSE.md +21 -0
- package/skills/sandbox-npm-install/SKILL.md +80 -0
- package/skills/sandbox-npm-install/SYNC.md +5 -0
- package/skills/sandbox-npm-install/scripts/install.sh +193 -0
- package/skills/scaffolding-oracle-to-postgres-migration-test-project/LICENSE.md +21 -0
- package/skills/scaffolding-oracle-to-postgres-migration-test-project/SKILL.md +54 -0
- package/skills/scaffolding-oracle-to-postgres-migration-test-project/SYNC.md +5 -0
- package/skills/scoutqa-test/LICENSE.md +21 -0
- package/skills/scoutqa-test/SKILL.md +375 -0
- package/skills/scoutqa-test/SYNC.md +5 -0
- package/skills/secret-scanning/LICENSE.md +21 -0
- package/skills/secret-scanning/SKILL.md +224 -0
- package/skills/secret-scanning/SYNC.md +5 -0
- package/skills/secret-scanning/references/alerts-and-remediation.md +245 -0
- package/skills/secret-scanning/references/custom-patterns.md +158 -0
- package/skills/secret-scanning/references/push-protection.md +164 -0
- package/skills/semantic-kernel/LICENSE.md +21 -0
- package/skills/semantic-kernel/SKILL.md +56 -0
- package/skills/semantic-kernel/SYNC.md +5 -0
- package/skills/semantic-kernel/references/dotnet.md +15 -0
- package/skills/semantic-kernel/references/python.md +15 -0
- package/skills/shuffle-json-data/LICENSE.md +21 -0
- package/skills/shuffle-json-data/SKILL.md +150 -0
- package/skills/shuffle-json-data/SYNC.md +5 -0
- package/skills/snowflake-semanticview/LICENSE.md +21 -0
- package/skills/snowflake-semanticview/SKILL.md +83 -0
- package/skills/snowflake-semanticview/SYNC.md +5 -0
- package/skills/sponsor-finder/LICENSE.md +21 -0
- package/skills/sponsor-finder/SKILL.md +258 -0
- package/skills/sponsor-finder/SYNC.md +5 -0
- package/skills/spring-boot-testing/LICENSE.md +21 -0
- package/skills/spring-boot-testing/SKILL.md +189 -0
- package/skills/spring-boot-testing/SYNC.md +5 -0
- package/skills/spring-boot-testing/references/assertj-basics.md +207 -0
- package/skills/spring-boot-testing/references/assertj-collections.md +183 -0
- package/skills/spring-boot-testing/references/context-caching.md +115 -0
- package/skills/spring-boot-testing/references/datajpatest.md +197 -0
- package/skills/spring-boot-testing/references/instancio.md +230 -0
- package/skills/spring-boot-testing/references/mockitobean.md +232 -0
- package/skills/spring-boot-testing/references/mockmvc-classic.md +206 -0
- package/skills/spring-boot-testing/references/mockmvc-tester.md +311 -0
- package/skills/spring-boot-testing/references/restclienttest.md +227 -0
- package/skills/spring-boot-testing/references/resttestclient.md +278 -0
- package/skills/spring-boot-testing/references/sb4-migration.md +181 -0
- package/skills/spring-boot-testing/references/test-slices-overview.md +203 -0
- package/skills/spring-boot-testing/references/testcontainers-jdbc.md +234 -0
- package/skills/spring-boot-testing/references/webmvctest.md +177 -0
- package/skills/sql-code-review/LICENSE.md +21 -0
- package/skills/sql-code-review/SKILL.md +301 -0
- package/skills/sql-code-review/SYNC.md +5 -0
- package/skills/sql-optimization/LICENSE.md +21 -0
- package/skills/sql-optimization/SKILL.md +296 -0
- package/skills/sql-optimization/SYNC.md +5 -0
- package/skills/structured-autonomy-generate/LICENSE.md +21 -0
- package/skills/structured-autonomy-generate/SKILL.md +125 -0
- package/skills/structured-autonomy-generate/SYNC.md +5 -0
- package/skills/structured-autonomy-implement/LICENSE.md +21 -0
- package/skills/structured-autonomy-implement/SKILL.md +19 -0
- package/skills/structured-autonomy-implement/SYNC.md +5 -0
- package/skills/structured-autonomy-plan/LICENSE.md +21 -0
- package/skills/structured-autonomy-plan/SKILL.md +81 -0
- package/skills/structured-autonomy-plan/SYNC.md +5 -0
- package/skills/suggest-awesome-github-copilot-agents/LICENSE.md +21 -0
- package/skills/suggest-awesome-github-copilot-agents/SKILL.md +106 -0
- package/skills/suggest-awesome-github-copilot-agents/SYNC.md +5 -0
- package/skills/suggest-awesome-github-copilot-instructions/LICENSE.md +21 -0
- package/skills/suggest-awesome-github-copilot-instructions/SKILL.md +122 -0
- package/skills/suggest-awesome-github-copilot-instructions/SYNC.md +5 -0
- package/skills/suggest-awesome-github-copilot-skills/LICENSE.md +21 -0
- package/skills/suggest-awesome-github-copilot-skills/SKILL.md +130 -0
- package/skills/suggest-awesome-github-copilot-skills/SYNC.md +5 -0
- package/skills/swift-mcp-server-generator/LICENSE.md +21 -0
- package/skills/swift-mcp-server-generator/SKILL.md +669 -0
- package/skills/swift-mcp-server-generator/SYNC.md +5 -0
- package/skills/technology-stack-blueprint-generator/LICENSE.md +21 -0
- package/skills/technology-stack-blueprint-generator/SKILL.md +242 -0
- package/skills/technology-stack-blueprint-generator/SYNC.md +5 -0
- package/skills/terraform-azurerm-set-diff-analyzer/LICENSE.md +21 -0
- package/skills/terraform-azurerm-set-diff-analyzer/SKILL.md +48 -0
- package/skills/terraform-azurerm-set-diff-analyzer/SYNC.md +5 -0
- package/skills/terraform-azurerm-set-diff-analyzer/references/azurerm_set_attributes.json +154 -0
- package/skills/terraform-azurerm-set-diff-analyzer/references/azurerm_set_attributes.md +145 -0
- package/skills/terraform-azurerm-set-diff-analyzer/scripts/README.md +205 -0
- package/skills/terraform-azurerm-set-diff-analyzer/scripts/analyze_plan.py +940 -0
- package/skills/tldr-prompt/LICENSE.md +21 -0
- package/skills/tldr-prompt/SKILL.md +304 -0
- package/skills/tldr-prompt/SYNC.md +5 -0
- package/skills/transloadit-media-processing/LICENSE.md +21 -0
- package/skills/transloadit-media-processing/SKILL.md +194 -0
- package/skills/transloadit-media-processing/SYNC.md +5 -0
- package/skills/typescript-mcp-server-generator/LICENSE.md +21 -0
- package/skills/typescript-mcp-server-generator/SKILL.md +90 -0
- package/skills/typescript-mcp-server-generator/SYNC.md +5 -0
- package/skills/typespec-api-operations/LICENSE.md +21 -0
- package/skills/typespec-api-operations/SKILL.md +418 -0
- package/skills/typespec-api-operations/SYNC.md +5 -0
- package/skills/typespec-create-agent/LICENSE.md +21 -0
- package/skills/typespec-create-agent/SKILL.md +91 -0
- package/skills/typespec-create-agent/SYNC.md +5 -0
- package/skills/typespec-create-api-plugin/LICENSE.md +21 -0
- package/skills/typespec-create-api-plugin/SKILL.md +164 -0
- package/skills/typespec-create-api-plugin/SYNC.md +5 -0
- package/skills/unit-test-vue-pinia/LICENSE.md +21 -0
- package/skills/unit-test-vue-pinia/SKILL.md +198 -0
- package/skills/unit-test-vue-pinia/SYNC.md +5 -0
- package/skills/unit-test-vue-pinia/references/pinia-patterns.md +95 -0
- package/skills/update-avm-modules-in-bicep/LICENSE.md +21 -0
- package/skills/update-avm-modules-in-bicep/SKILL.md +60 -0
- package/skills/update-avm-modules-in-bicep/SYNC.md +5 -0
- package/skills/update-implementation-plan/LICENSE.md +21 -0
- package/skills/update-implementation-plan/SKILL.md +157 -0
- package/skills/update-implementation-plan/SYNC.md +5 -0
- package/skills/update-llms/LICENSE.md +21 -0
- package/skills/update-llms/SKILL.md +216 -0
- package/skills/update-llms/SYNC.md +5 -0
- package/skills/update-markdown-file-index/LICENSE.md +21 -0
- package/skills/update-markdown-file-index/SKILL.md +76 -0
- package/skills/update-markdown-file-index/SYNC.md +5 -0
- package/skills/update-specification/LICENSE.md +21 -0
- package/skills/update-specification/SKILL.md +127 -0
- package/skills/update-specification/SYNC.md +5 -0
- package/skills/vscode-ext-commands/LICENSE.md +21 -0
- package/skills/vscode-ext-commands/SKILL.md +21 -0
- package/skills/vscode-ext-commands/SYNC.md +5 -0
- package/skills/vscode-ext-localization/LICENSE.md +21 -0
- package/skills/vscode-ext-localization/SKILL.md +25 -0
- package/skills/vscode-ext-localization/SYNC.md +5 -0
- package/skills/web-coder/LICENSE.md +21 -0
- package/skills/web-coder/SKILL.md +563 -0
- package/skills/web-coder/SYNC.md +5 -0
- package/skills/web-coder/references/accessibility.md +346 -0
- package/skills/web-coder/references/architecture-patterns.md +625 -0
- package/skills/web-coder/references/browsers-engines.md +358 -0
- package/skills/web-coder/references/css-styling.md +696 -0
- package/skills/web-coder/references/data-formats-encoding.md +411 -0
- package/skills/web-coder/references/development-tools.md +502 -0
- package/skills/web-coder/references/glossary.md +649 -0
- package/skills/web-coder/references/html-markup.md +387 -0
- package/skills/web-coder/references/http-networking.md +538 -0
- package/skills/web-coder/references/javascript-programming.md +807 -0
- package/skills/web-coder/references/media-graphics.md +504 -0
- package/skills/web-coder/references/performance-optimization.md +546 -0
- package/skills/web-coder/references/security-authentication.md +603 -0
- package/skills/web-coder/references/servers-infrastructure.md +615 -0
- package/skills/web-coder/references/web-apis-dom.md +654 -0
- package/skills/web-coder/references/web-protocols-standards.md +265 -0
- package/skills/web-design-reviewer/LICENSE.md +21 -0
- package/skills/web-design-reviewer/SKILL.md +368 -0
- package/skills/web-design-reviewer/SYNC.md +5 -0
- package/skills/web-design-reviewer/references/framework-fixes.md +475 -0
- package/skills/web-design-reviewer/references/visual-checklist.md +236 -0
- package/skills/webapp-testing/LICENSE.md +21 -0
- package/skills/webapp-testing/SKILL.md +104 -67
- package/skills/webapp-testing/SYNC.md +2 -2
- package/skills/webapp-testing/assets/test-helper.js +56 -0
- package/skills/what-context-needed/LICENSE.md +21 -0
- package/skills/what-context-needed/SKILL.md +39 -0
- package/skills/what-context-needed/SYNC.md +5 -0
- package/skills/winapp-cli/LICENSE.md +21 -0
- package/skills/winapp-cli/SKILL.md +217 -0
- package/skills/winapp-cli/SYNC.md +5 -0
- package/skills/winmd-api-search/LICENSE.md +21 -0
- package/skills/winmd-api-search/LICENSE.txt +21 -0
- package/skills/winmd-api-search/SKILL.md +192 -0
- package/skills/winmd-api-search/SYNC.md +5 -0
- package/skills/winmd-api-search/scripts/Invoke-WinMdQuery.ps1 +505 -0
- package/skills/winmd-api-search/scripts/Update-WinMdCache.ps1 +208 -0
- package/skills/winmd-api-search/scripts/cache-generator/CacheGenerator.csproj +29 -0
- package/skills/winmd-api-search/scripts/cache-generator/Directory.Build.props +3 -0
- package/skills/winmd-api-search/scripts/cache-generator/Directory.Build.targets +3 -0
- package/skills/winmd-api-search/scripts/cache-generator/Directory.Packages.props +3 -0
- package/skills/winmd-api-search/scripts/cache-generator/Program.cs +1222 -0
- package/skills/winui3-migration-guide/LICENSE.md +21 -0
- package/skills/winui3-migration-guide/SKILL.md +277 -0
- package/skills/winui3-migration-guide/SYNC.md +5 -0
- package/skills/workiq-copilot/LICENSE.md +21 -0
- package/skills/workiq-copilot/SKILL.md +98 -0
- package/skills/workiq-copilot/SYNC.md +5 -0
- package/skills/write-coding-standards-from-file/LICENSE.md +21 -0
- package/skills/write-coding-standards-from-file/SKILL.md +316 -0
- package/skills/write-coding-standards-from-file/SYNC.md +5 -0
- package/skills/webapp-testing/LICENSE.txt +0 -202
- package/skills/webapp-testing/examples/console_logging.py +0 -35
- package/skills/webapp-testing/examples/element_discovery.py +0 -40
- package/skills/webapp-testing/examples/static_html_automation.py +0 -33
- package/skills/webapp-testing/scripts/with_server.py +0 -106
|
@@ -0,0 +1,807 @@
|
|
|
1
|
+
# JavaScript & Programming Reference
|
|
2
|
+
|
|
3
|
+
Comprehensive reference for JavaScript, ECMAScript, programming concepts, and modern JS patterns.
|
|
4
|
+
|
|
5
|
+
## Core Concepts
|
|
6
|
+
|
|
7
|
+
### JavaScript
|
|
8
|
+
High-level, interpreted programming language that conforms to the ECMAScript specification. Primary language for web development alongside HTML and CSS.
|
|
9
|
+
|
|
10
|
+
**Key Characteristics**:
|
|
11
|
+
- Dynamically typed
|
|
12
|
+
- Prototype-based inheritance
|
|
13
|
+
- First-class functions
|
|
14
|
+
- Event-driven
|
|
15
|
+
- Asynchronous execution
|
|
16
|
+
|
|
17
|
+
### ECMAScript
|
|
18
|
+
The standardized specification that JavaScript implements.
|
|
19
|
+
|
|
20
|
+
**Major Versions**:
|
|
21
|
+
- **ES5** (2009): Strict mode, JSON support
|
|
22
|
+
- **ES6/ES2015**: Classes, arrow functions, promises, modules
|
|
23
|
+
- **ES2016+**: Async/await, optional chaining, nullish coalescing
|
|
24
|
+
|
|
25
|
+
## Data Types
|
|
26
|
+
|
|
27
|
+
### Primitive Types
|
|
28
|
+
|
|
29
|
+
```javascript
|
|
30
|
+
// String
|
|
31
|
+
let name = "John";
|
|
32
|
+
let greeting = 'Hello';
|
|
33
|
+
let template = `Hello, ${name}!`; // Template literal
|
|
34
|
+
|
|
35
|
+
// Number
|
|
36
|
+
let integer = 42;
|
|
37
|
+
let float = 3.14;
|
|
38
|
+
let negative = -10;
|
|
39
|
+
let scientific = 1e6; // 1000000
|
|
40
|
+
|
|
41
|
+
// BigInt (for very large integers)
|
|
42
|
+
let big = 9007199254740991n;
|
|
43
|
+
|
|
44
|
+
// Boolean
|
|
45
|
+
let isTrue = true;
|
|
46
|
+
let isFalse = false;
|
|
47
|
+
|
|
48
|
+
// Undefined (declared but not assigned)
|
|
49
|
+
let undefined_var;
|
|
50
|
+
console.log(undefined_var); // undefined
|
|
51
|
+
|
|
52
|
+
// Null (intentional absence of value)
|
|
53
|
+
let empty = null;
|
|
54
|
+
|
|
55
|
+
// Symbol (unique identifier)
|
|
56
|
+
let sym = Symbol('description');
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### Type Checking
|
|
60
|
+
|
|
61
|
+
```javascript
|
|
62
|
+
typeof "hello"; // "string"
|
|
63
|
+
typeof 42; // "number"
|
|
64
|
+
typeof true; // "boolean"
|
|
65
|
+
typeof undefined; // "undefined"
|
|
66
|
+
typeof null; // "object" (historical bug)
|
|
67
|
+
typeof Symbol(); // "symbol"
|
|
68
|
+
typeof {}; // "object"
|
|
69
|
+
typeof []; // "object"
|
|
70
|
+
typeof function() {}; // "function"
|
|
71
|
+
|
|
72
|
+
// Better array check
|
|
73
|
+
Array.isArray([]); // true
|
|
74
|
+
|
|
75
|
+
// Null check
|
|
76
|
+
value === null; // true if null
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### Type Coercion and Conversion
|
|
80
|
+
|
|
81
|
+
```javascript
|
|
82
|
+
// Implicit coercion
|
|
83
|
+
"5" + 2; // "52" (string concatenation)
|
|
84
|
+
"5" - 2; // 3 (numeric subtraction)
|
|
85
|
+
"5" * "2"; // 10 (numeric multiplication)
|
|
86
|
+
!!"value"; // true (boolean conversion)
|
|
87
|
+
|
|
88
|
+
// Explicit conversion
|
|
89
|
+
String(123); // "123"
|
|
90
|
+
Number("123"); // 123
|
|
91
|
+
Number("abc"); // NaN
|
|
92
|
+
Boolean(0); // false
|
|
93
|
+
Boolean(1); // true
|
|
94
|
+
parseInt("123px"); // 123
|
|
95
|
+
parseFloat("3.14"); // 3.14
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### Truthy and Falsy Values
|
|
99
|
+
|
|
100
|
+
**Falsy values** (evaluate to false):
|
|
101
|
+
- `false`
|
|
102
|
+
- `0`, `-0`
|
|
103
|
+
- `""` (empty string)
|
|
104
|
+
- `null`
|
|
105
|
+
- `undefined`
|
|
106
|
+
- `NaN`
|
|
107
|
+
|
|
108
|
+
**Everything else is truthy**, including:
|
|
109
|
+
- `"0"` (string)
|
|
110
|
+
- `"false"` (string)
|
|
111
|
+
- `[]` (empty array)
|
|
112
|
+
- `{}` (empty object)
|
|
113
|
+
- `function() {}` (empty function)
|
|
114
|
+
|
|
115
|
+
## Variables and Constants
|
|
116
|
+
|
|
117
|
+
```javascript
|
|
118
|
+
// var (function-scoped, hoisted - avoid in modern code)
|
|
119
|
+
var oldStyle = "avoid this";
|
|
120
|
+
|
|
121
|
+
// let (block-scoped, can be reassigned)
|
|
122
|
+
let count = 0;
|
|
123
|
+
count = 1; // ✓ works
|
|
124
|
+
|
|
125
|
+
// const (block-scoped, cannot be reassigned)
|
|
126
|
+
const MAX = 100;
|
|
127
|
+
MAX = 200; // ✗ TypeError
|
|
128
|
+
|
|
129
|
+
// const with objects/arrays (content can change)
|
|
130
|
+
const person = { name: "John" };
|
|
131
|
+
person.name = "Jane"; // ✓ works (mutating object)
|
|
132
|
+
person = {}; // ✗ TypeError (reassigning variable)
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
## Functions
|
|
136
|
+
|
|
137
|
+
### Function Declaration
|
|
138
|
+
|
|
139
|
+
```javascript
|
|
140
|
+
function greet(name) {
|
|
141
|
+
return `Hello, ${name}!`;
|
|
142
|
+
}
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
### Function Expression
|
|
146
|
+
|
|
147
|
+
```javascript
|
|
148
|
+
const greet = function(name) {
|
|
149
|
+
return `Hello, ${name}!`;
|
|
150
|
+
};
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
### Arrow Functions
|
|
154
|
+
|
|
155
|
+
```javascript
|
|
156
|
+
// Basic syntax
|
|
157
|
+
const add = (a, b) => a + b;
|
|
158
|
+
|
|
159
|
+
// With block body
|
|
160
|
+
const multiply = (a, b) => {
|
|
161
|
+
const result = a * b;
|
|
162
|
+
return result;
|
|
163
|
+
};
|
|
164
|
+
|
|
165
|
+
// Single parameter (parentheses optional)
|
|
166
|
+
const square = x => x * x;
|
|
167
|
+
|
|
168
|
+
// No parameters
|
|
169
|
+
const getRandom = () => Math.random();
|
|
170
|
+
|
|
171
|
+
// Implicit return of object (wrap in parentheses)
|
|
172
|
+
const makePerson = (name, age) => ({ name, age });
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
### First-Class Functions
|
|
176
|
+
|
|
177
|
+
Functions are values that can be:
|
|
178
|
+
- Assigned to variables
|
|
179
|
+
- Passed as arguments
|
|
180
|
+
- Returned from other functions
|
|
181
|
+
|
|
182
|
+
```javascript
|
|
183
|
+
// Assign to variable
|
|
184
|
+
const fn = function() { return 42; };
|
|
185
|
+
|
|
186
|
+
// Pass as argument
|
|
187
|
+
function execute(callback) {
|
|
188
|
+
return callback();
|
|
189
|
+
}
|
|
190
|
+
execute(() => console.log("Hello"));
|
|
191
|
+
|
|
192
|
+
// Return from function
|
|
193
|
+
function createMultiplier(factor) {
|
|
194
|
+
return function(x) {
|
|
195
|
+
return x * factor;
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
const double = createMultiplier(2);
|
|
199
|
+
double(5); // 10
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
### Closures
|
|
203
|
+
|
|
204
|
+
Functions that remember their lexical scope:
|
|
205
|
+
|
|
206
|
+
```javascript
|
|
207
|
+
function createCounter() {
|
|
208
|
+
let count = 0; // Private variable
|
|
209
|
+
|
|
210
|
+
return {
|
|
211
|
+
increment() {
|
|
212
|
+
count++;
|
|
213
|
+
return count;
|
|
214
|
+
},
|
|
215
|
+
decrement() {
|
|
216
|
+
count--;
|
|
217
|
+
return count;
|
|
218
|
+
},
|
|
219
|
+
getCount() {
|
|
220
|
+
return count;
|
|
221
|
+
}
|
|
222
|
+
};
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
const counter = createCounter();
|
|
226
|
+
counter.increment(); // 1
|
|
227
|
+
counter.increment(); // 2
|
|
228
|
+
counter.decrement(); // 1
|
|
229
|
+
counter.getCount(); // 1
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
### Callback Functions
|
|
233
|
+
|
|
234
|
+
Function passed as an argument to be executed later:
|
|
235
|
+
|
|
236
|
+
```javascript
|
|
237
|
+
// Array methods use callbacks
|
|
238
|
+
const numbers = [1, 2, 3, 4, 5];
|
|
239
|
+
|
|
240
|
+
numbers.forEach(num => console.log(num));
|
|
241
|
+
|
|
242
|
+
const doubled = numbers.map(num => num * 2);
|
|
243
|
+
|
|
244
|
+
const evens = numbers.filter(num => num % 2 === 0);
|
|
245
|
+
|
|
246
|
+
const sum = numbers.reduce((acc, num) => acc + num, 0);
|
|
247
|
+
```
|
|
248
|
+
|
|
249
|
+
### IIFE (Immediately Invoked Function Expression)
|
|
250
|
+
|
|
251
|
+
```javascript
|
|
252
|
+
(function() {
|
|
253
|
+
// Code here runs immediately
|
|
254
|
+
console.log("IIFE executed");
|
|
255
|
+
})();
|
|
256
|
+
|
|
257
|
+
// With parameters
|
|
258
|
+
(function(name) {
|
|
259
|
+
console.log(`Hello, ${name}`);
|
|
260
|
+
})("World");
|
|
261
|
+
|
|
262
|
+
// Arrow function IIFE
|
|
263
|
+
(() => {
|
|
264
|
+
console.log("Arrow IIFE");
|
|
265
|
+
})();
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
## Objects
|
|
269
|
+
|
|
270
|
+
### Object Creation
|
|
271
|
+
|
|
272
|
+
```javascript
|
|
273
|
+
// Object literal
|
|
274
|
+
const person = {
|
|
275
|
+
name: "John",
|
|
276
|
+
age: 30,
|
|
277
|
+
greet() {
|
|
278
|
+
return `Hello, I'm ${this.name}`;
|
|
279
|
+
}
|
|
280
|
+
};
|
|
281
|
+
|
|
282
|
+
// Constructor function
|
|
283
|
+
function Person(name, age) {
|
|
284
|
+
this.name = name;
|
|
285
|
+
this.age = age;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
const john = new Person("John", 30);
|
|
289
|
+
|
|
290
|
+
// Object.create
|
|
291
|
+
const proto = { greet() { return "Hello"; } };
|
|
292
|
+
const obj = Object.create(proto);
|
|
293
|
+
```
|
|
294
|
+
|
|
295
|
+
### Accessing Properties
|
|
296
|
+
|
|
297
|
+
```javascript
|
|
298
|
+
const obj = { name: "John", age: 30 };
|
|
299
|
+
|
|
300
|
+
// Dot notation
|
|
301
|
+
obj.name; // "John"
|
|
302
|
+
|
|
303
|
+
// Bracket notation
|
|
304
|
+
obj["age"]; // 30
|
|
305
|
+
const key = "name";
|
|
306
|
+
obj[key]; // "John"
|
|
307
|
+
|
|
308
|
+
// Optional chaining (ES2020)
|
|
309
|
+
obj.address?.city; // undefined (no error if address doesn't exist)
|
|
310
|
+
obj.getName?.(); // undefined (no error if getName doesn't exist)
|
|
311
|
+
```
|
|
312
|
+
|
|
313
|
+
### Object Methods
|
|
314
|
+
|
|
315
|
+
```javascript
|
|
316
|
+
const person = { name: "John", age: 30, city: "NYC" };
|
|
317
|
+
|
|
318
|
+
// Get keys
|
|
319
|
+
Object.keys(person); // ["name", "age", "city"]
|
|
320
|
+
|
|
321
|
+
// Get values
|
|
322
|
+
Object.values(person); // ["John", 30, "NYC"]
|
|
323
|
+
|
|
324
|
+
// Get entries
|
|
325
|
+
Object.entries(person); // [["name", "John"], ["age", 30], ["city", "NYC"]]
|
|
326
|
+
|
|
327
|
+
// Assign (merge objects)
|
|
328
|
+
const extended = Object.assign({}, person, { country: "USA" });
|
|
329
|
+
|
|
330
|
+
// Spread operator (modern alternative)
|
|
331
|
+
const merged = { ...person, country: "USA" };
|
|
332
|
+
|
|
333
|
+
// Freeze (make immutable)
|
|
334
|
+
Object.freeze(person);
|
|
335
|
+
person.age = 31; // Silently fails (throws in strict mode)
|
|
336
|
+
|
|
337
|
+
// Seal (prevent adding/removing properties)
|
|
338
|
+
Object.seal(person);
|
|
339
|
+
```
|
|
340
|
+
|
|
341
|
+
### Destructuring
|
|
342
|
+
|
|
343
|
+
```javascript
|
|
344
|
+
// Object destructuring
|
|
345
|
+
const person = { name: "John", age: 30, city: "NYC" };
|
|
346
|
+
const { name, age } = person;
|
|
347
|
+
|
|
348
|
+
// With different variable names
|
|
349
|
+
const { name: personName, age: personAge } = person;
|
|
350
|
+
|
|
351
|
+
// With defaults
|
|
352
|
+
const { name, country = "USA" } = person;
|
|
353
|
+
|
|
354
|
+
// Nested destructuring
|
|
355
|
+
const user = { profile: { email: "john@example.com" } };
|
|
356
|
+
const { profile: { email } } = user;
|
|
357
|
+
|
|
358
|
+
// Array destructuring
|
|
359
|
+
const numbers = [1, 2, 3, 4, 5];
|
|
360
|
+
const [first, second, ...rest] = numbers;
|
|
361
|
+
// first = 1, second = 2, rest = [3, 4, 5]
|
|
362
|
+
|
|
363
|
+
// Skip elements
|
|
364
|
+
const [a, , c] = numbers;
|
|
365
|
+
// a = 1, c = 3
|
|
366
|
+
```
|
|
367
|
+
|
|
368
|
+
## Arrays
|
|
369
|
+
|
|
370
|
+
```javascript
|
|
371
|
+
// Create arrays
|
|
372
|
+
const arr = [1, 2, 3];
|
|
373
|
+
const empty = [];
|
|
374
|
+
const mixed = [1, "two", { three: 3 }, [4]];
|
|
375
|
+
|
|
376
|
+
// Access elements
|
|
377
|
+
arr[0]; // 1
|
|
378
|
+
arr[arr.length - 1]; // Last element
|
|
379
|
+
arr.at(-1); // 3 (ES2022 - negative indexing)
|
|
380
|
+
|
|
381
|
+
// Modify arrays
|
|
382
|
+
arr.push(4); // Add to end
|
|
383
|
+
arr.pop(); // Remove from end
|
|
384
|
+
arr.unshift(0); // Add to beginning
|
|
385
|
+
arr.shift(); // Remove from beginning
|
|
386
|
+
arr.splice(1, 2, 'a', 'b'); // Remove 2 elements at index 1, insert 'a', 'b'
|
|
387
|
+
|
|
388
|
+
// Iteration
|
|
389
|
+
arr.forEach(item => console.log(item));
|
|
390
|
+
for (let item of arr) { console.log(item); }
|
|
391
|
+
for (let i = 0; i < arr.length; i++) { console.log(arr[i]); }
|
|
392
|
+
|
|
393
|
+
// Transformation
|
|
394
|
+
const doubled = arr.map(x => x * 2);
|
|
395
|
+
const evens = arr.filter(x => x % 2 === 0);
|
|
396
|
+
const sum = arr.reduce((acc, x) => acc + x, 0);
|
|
397
|
+
|
|
398
|
+
// Search
|
|
399
|
+
arr.includes(2); // true
|
|
400
|
+
arr.indexOf(2); // Index or -1
|
|
401
|
+
arr.find(x => x > 2); // First matching element
|
|
402
|
+
arr.findIndex(x => x > 2); // Index of first match
|
|
403
|
+
|
|
404
|
+
// Test
|
|
405
|
+
arr.some(x => x > 5); // true if any match
|
|
406
|
+
arr.every(x => x > 0); // true if all match
|
|
407
|
+
|
|
408
|
+
// Sort and reverse
|
|
409
|
+
arr.sort((a, b) => a - b); // Ascending
|
|
410
|
+
arr.reverse(); // Reverse in place
|
|
411
|
+
|
|
412
|
+
// Combine
|
|
413
|
+
const combined = arr.concat([4, 5]);
|
|
414
|
+
const spread = [...arr, 4, 5];
|
|
415
|
+
|
|
416
|
+
// Slice (copy portion)
|
|
417
|
+
const portion = arr.slice(1, 3); // Index 1 to 3 (exclusive)
|
|
418
|
+
|
|
419
|
+
// Flat (flatten nested arrays)
|
|
420
|
+
[[1, 2], [3, 4]].flat(); // [1, 2, 3, 4]
|
|
421
|
+
```
|
|
422
|
+
|
|
423
|
+
## Control Flow
|
|
424
|
+
|
|
425
|
+
### Conditionals
|
|
426
|
+
|
|
427
|
+
```javascript
|
|
428
|
+
// if/else
|
|
429
|
+
if (condition) {
|
|
430
|
+
// code
|
|
431
|
+
} else if (otherCondition) {
|
|
432
|
+
// code
|
|
433
|
+
} else {
|
|
434
|
+
// code
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
// Ternary operator
|
|
438
|
+
const result = condition ? valueIfTrue : valueIfFalse;
|
|
439
|
+
|
|
440
|
+
// Switch statement
|
|
441
|
+
switch (value) {
|
|
442
|
+
case 1:
|
|
443
|
+
// code
|
|
444
|
+
break;
|
|
445
|
+
case 2:
|
|
446
|
+
case 3:
|
|
447
|
+
// code for 2 or 3
|
|
448
|
+
break;
|
|
449
|
+
default:
|
|
450
|
+
// default code
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
// Nullish coalescing (ES2020)
|
|
454
|
+
const value = null ?? "default"; // "default"
|
|
455
|
+
const value = 0 ?? "default"; // 0 (0 is not nullish)
|
|
456
|
+
|
|
457
|
+
// Logical OR for defaults (pre-ES2020)
|
|
458
|
+
const value = falsy || "default";
|
|
459
|
+
|
|
460
|
+
// Optional chaining
|
|
461
|
+
const city = user?.address?.city;
|
|
462
|
+
```
|
|
463
|
+
|
|
464
|
+
### Loops
|
|
465
|
+
|
|
466
|
+
```javascript
|
|
467
|
+
// for loop
|
|
468
|
+
for (let i = 0; i < 10; i++) {
|
|
469
|
+
console.log(i);
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
// while loop
|
|
473
|
+
let i = 0;
|
|
474
|
+
while (i < 10) {
|
|
475
|
+
console.log(i);
|
|
476
|
+
i++;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
// do-while loop
|
|
480
|
+
do {
|
|
481
|
+
console.log(i);
|
|
482
|
+
i++;
|
|
483
|
+
} while (i < 10);
|
|
484
|
+
|
|
485
|
+
// for...of (iterate values)
|
|
486
|
+
for (const item of array) {
|
|
487
|
+
console.log(item);
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
// for...in (iterate keys - avoid for arrays)
|
|
491
|
+
for (const key in object) {
|
|
492
|
+
console.log(key, object[key]);
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
// break and continue
|
|
496
|
+
for (let i = 0; i < 10; i++) {
|
|
497
|
+
if (i === 5) break; // Exit loop
|
|
498
|
+
if (i === 3) continue; // Skip iteration
|
|
499
|
+
console.log(i);
|
|
500
|
+
}
|
|
501
|
+
```
|
|
502
|
+
|
|
503
|
+
## Asynchronous JavaScript
|
|
504
|
+
|
|
505
|
+
### Callbacks
|
|
506
|
+
|
|
507
|
+
```javascript
|
|
508
|
+
function fetchData(callback) {
|
|
509
|
+
setTimeout(() => {
|
|
510
|
+
callback("Data received");
|
|
511
|
+
}, 1000);
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
fetchData(data => console.log(data));
|
|
515
|
+
```
|
|
516
|
+
|
|
517
|
+
### Promises
|
|
518
|
+
|
|
519
|
+
```javascript
|
|
520
|
+
// Create promise
|
|
521
|
+
const promise = new Promise((resolve, reject) => {
|
|
522
|
+
setTimeout(() => {
|
|
523
|
+
const success = true;
|
|
524
|
+
if (success) {
|
|
525
|
+
resolve("Success!");
|
|
526
|
+
} else {
|
|
527
|
+
reject("Error!");
|
|
528
|
+
}
|
|
529
|
+
}, 1000);
|
|
530
|
+
});
|
|
531
|
+
|
|
532
|
+
// Use promise
|
|
533
|
+
promise
|
|
534
|
+
.then(result => console.log(result))
|
|
535
|
+
.catch(error => console.error(error))
|
|
536
|
+
.finally(() => console.log("Done"));
|
|
537
|
+
|
|
538
|
+
// Promise utilities
|
|
539
|
+
Promise.all([promise1, promise2]); // Wait for all
|
|
540
|
+
Promise.race([promise1, promise2]); // First to complete
|
|
541
|
+
Promise.allSettled([promise1, promise2]); // Wait for all (ES2020)
|
|
542
|
+
Promise.any([promise1, promise2]); // First to succeed (ES2021)
|
|
543
|
+
```
|
|
544
|
+
|
|
545
|
+
### Async/Await
|
|
546
|
+
|
|
547
|
+
```javascript
|
|
548
|
+
// Async function
|
|
549
|
+
async function fetchData() {
|
|
550
|
+
try {
|
|
551
|
+
const response = await fetch('https://api.example.com/data');
|
|
552
|
+
const data = await response.json();
|
|
553
|
+
return data;
|
|
554
|
+
} catch (error) {
|
|
555
|
+
console.error('Error:', error);
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
// Use async function
|
|
560
|
+
fetchData().then(data => console.log(data));
|
|
561
|
+
|
|
562
|
+
// Top-level await (ES2022, in modules)
|
|
563
|
+
const data = await fetchData();
|
|
564
|
+
```
|
|
565
|
+
|
|
566
|
+
## Classes
|
|
567
|
+
|
|
568
|
+
```javascript
|
|
569
|
+
class Person {
|
|
570
|
+
// Constructor
|
|
571
|
+
constructor(name, age) {
|
|
572
|
+
this.name = name;
|
|
573
|
+
this.age = age;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
// Instance method
|
|
577
|
+
greet() {
|
|
578
|
+
return `Hello, I'm ${this.name}`;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
// Getter
|
|
582
|
+
get info() {
|
|
583
|
+
return `${this.name}, ${this.age}`;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
// Setter
|
|
587
|
+
set birthYear(year) {
|
|
588
|
+
this.age = new Date().getFullYear() - year;
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
// Static method
|
|
592
|
+
static species() {
|
|
593
|
+
return "Homo sapiens";
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
// Inheritance
|
|
598
|
+
class Employee extends Person {
|
|
599
|
+
constructor(name, age, jobTitle) {
|
|
600
|
+
super(name, age); // Call parent constructor
|
|
601
|
+
this.jobTitle = jobTitle;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
// Override method
|
|
605
|
+
greet() {
|
|
606
|
+
return `${super.greet()}, I'm a ${this.jobTitle}`;
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
// Usage
|
|
611
|
+
const john = new Person("John", 30);
|
|
612
|
+
john.greet(); // "Hello, I'm John"
|
|
613
|
+
Person.species(); // "Homo sapiens"
|
|
614
|
+
|
|
615
|
+
const jane = new Employee("Jane", 25, "Developer");
|
|
616
|
+
jane.greet(); // "Hello, I'm Jane, I'm a Developer"
|
|
617
|
+
```
|
|
618
|
+
|
|
619
|
+
## Modules
|
|
620
|
+
|
|
621
|
+
### ES6 Modules (ESM)
|
|
622
|
+
|
|
623
|
+
```javascript
|
|
624
|
+
// Export (math.js)
|
|
625
|
+
export const PI = 3.14159;
|
|
626
|
+
export function add(a, b) {
|
|
627
|
+
return a + b;
|
|
628
|
+
}
|
|
629
|
+
export default class Calculator {
|
|
630
|
+
// ...
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
// Import
|
|
634
|
+
import Calculator, { PI, add } from './math.js';
|
|
635
|
+
import * as math from './math.js';
|
|
636
|
+
import { add as sum } from './math.js'; // Rename
|
|
637
|
+
```
|
|
638
|
+
|
|
639
|
+
### CommonJS (Node.js)
|
|
640
|
+
|
|
641
|
+
```javascript
|
|
642
|
+
// Export (math.js)
|
|
643
|
+
module.exports = {
|
|
644
|
+
add(a, b) {
|
|
645
|
+
return a + b;
|
|
646
|
+
}
|
|
647
|
+
};
|
|
648
|
+
|
|
649
|
+
// Import
|
|
650
|
+
const math = require('./math');
|
|
651
|
+
```
|
|
652
|
+
|
|
653
|
+
## Error Handling
|
|
654
|
+
|
|
655
|
+
```javascript
|
|
656
|
+
// Try/catch
|
|
657
|
+
try {
|
|
658
|
+
// Code that might throw
|
|
659
|
+
throw new Error("Something went wrong");
|
|
660
|
+
} catch (error) {
|
|
661
|
+
console.error(error.message);
|
|
662
|
+
} finally {
|
|
663
|
+
// Always runs
|
|
664
|
+
console.log("Cleanup");
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
// Custom errors
|
|
668
|
+
class ValidationError extends Error {
|
|
669
|
+
constructor(message) {
|
|
670
|
+
super(message);
|
|
671
|
+
this.name = "ValidationError";
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
throw new ValidationError("Invalid input");
|
|
676
|
+
```
|
|
677
|
+
|
|
678
|
+
## Best Practices
|
|
679
|
+
|
|
680
|
+
### Do's
|
|
681
|
+
- ✅ Use `const` by default, `let` when needed
|
|
682
|
+
- ✅ Use strict mode (`'use strict';`)
|
|
683
|
+
- ✅ Use arrow functions for callbacks
|
|
684
|
+
- ✅ Use template literals for string interpolation
|
|
685
|
+
- ✅ Use destructuring for cleaner code
|
|
686
|
+
- ✅ Use async/await for asynchronous code
|
|
687
|
+
- ✅ Handle errors properly
|
|
688
|
+
- ✅ Use descriptive variable names
|
|
689
|
+
- ✅ Keep functions small and focused
|
|
690
|
+
- ✅ Use modern ES6+ features
|
|
691
|
+
|
|
692
|
+
### Don'ts
|
|
693
|
+
- ❌ Use `var` (use `let` or `const`)
|
|
694
|
+
- ❌ Pollute global scope
|
|
695
|
+
- ❌ Use `==` (use `===` for strict equality)
|
|
696
|
+
- ❌ Modify function parameters
|
|
697
|
+
- ❌ Use `eval()` or `with()`
|
|
698
|
+
- ❌ Ignore errors silently
|
|
699
|
+
- ❌ Use synchronous code for I/O operations
|
|
700
|
+
- ❌ Create deeply nested callbacks (callback hell)
|
|
701
|
+
|
|
702
|
+
## Glossary Terms
|
|
703
|
+
|
|
704
|
+
**Key Terms Covered**:
|
|
705
|
+
- Algorithm
|
|
706
|
+
- Argument
|
|
707
|
+
- Array
|
|
708
|
+
- Asynchronous
|
|
709
|
+
- Binding
|
|
710
|
+
- BigInt
|
|
711
|
+
- Bitwise flags
|
|
712
|
+
- Block (scripting)
|
|
713
|
+
- Boolean
|
|
714
|
+
- Callback function
|
|
715
|
+
- Camel case
|
|
716
|
+
- Class
|
|
717
|
+
- Closure
|
|
718
|
+
- Code point
|
|
719
|
+
- Code unit
|
|
720
|
+
- Compile
|
|
721
|
+
- Compile time
|
|
722
|
+
- Conditional
|
|
723
|
+
- Constant
|
|
724
|
+
- Constructor
|
|
725
|
+
- Control flow
|
|
726
|
+
- Deep copy
|
|
727
|
+
- Deserialization
|
|
728
|
+
- ECMAScript
|
|
729
|
+
- Encapsulation
|
|
730
|
+
- Exception
|
|
731
|
+
- Expando
|
|
732
|
+
- First-class function
|
|
733
|
+
- Function
|
|
734
|
+
- Hoisting
|
|
735
|
+
- IIFE
|
|
736
|
+
- Identifier
|
|
737
|
+
- Immutable
|
|
738
|
+
- Inheritance
|
|
739
|
+
- Instance
|
|
740
|
+
- JavaScript
|
|
741
|
+
- JSON
|
|
742
|
+
- JSON type representation
|
|
743
|
+
- Just-In-Time Compilation (JIT)
|
|
744
|
+
- Kebab case
|
|
745
|
+
- Keyword
|
|
746
|
+
- Literal
|
|
747
|
+
- Local scope
|
|
748
|
+
- Local variable
|
|
749
|
+
- Loop
|
|
750
|
+
- Method
|
|
751
|
+
- Mixin
|
|
752
|
+
- Modularity
|
|
753
|
+
- Mutable
|
|
754
|
+
- Namespace
|
|
755
|
+
- NaN
|
|
756
|
+
- Native
|
|
757
|
+
- Null
|
|
758
|
+
- Nullish value
|
|
759
|
+
- Number
|
|
760
|
+
- Object
|
|
761
|
+
- Object reference
|
|
762
|
+
- OOP
|
|
763
|
+
- Operand
|
|
764
|
+
- Operator
|
|
765
|
+
- Parameter
|
|
766
|
+
- Parse
|
|
767
|
+
- Polymorphism
|
|
768
|
+
- Primitive
|
|
769
|
+
- Promise
|
|
770
|
+
- Property (JavaScript)
|
|
771
|
+
- Prototype
|
|
772
|
+
- Prototype-based programming
|
|
773
|
+
- Pseudocode
|
|
774
|
+
- Recursion
|
|
775
|
+
- Regular expression
|
|
776
|
+
- Scope
|
|
777
|
+
- Serialization
|
|
778
|
+
- Serializable object
|
|
779
|
+
- Shallow copy
|
|
780
|
+
- Signature (functions)
|
|
781
|
+
- Sloppy mode
|
|
782
|
+
- Snake case
|
|
783
|
+
- Static method
|
|
784
|
+
- Static typing
|
|
785
|
+
- Statement
|
|
786
|
+
- Strict mode
|
|
787
|
+
- String
|
|
788
|
+
- Stringifier
|
|
789
|
+
- Symbol
|
|
790
|
+
- Synchronous
|
|
791
|
+
- Syntax
|
|
792
|
+
- Syntax error
|
|
793
|
+
- Type
|
|
794
|
+
- Type coercion
|
|
795
|
+
- Type conversion
|
|
796
|
+
- Truthy
|
|
797
|
+
- Falsy
|
|
798
|
+
- Undefined
|
|
799
|
+
- Value
|
|
800
|
+
- Variable
|
|
801
|
+
|
|
802
|
+
## Additional Resources
|
|
803
|
+
|
|
804
|
+
- [MDN JavaScript Reference](https://developer.mozilla.org/en-US/docs/Web/JavaScript)
|
|
805
|
+
- [ECMAScript Specification](https://tc39.es/ecma262/)
|
|
806
|
+
- [JavaScript.info](https://javascript.info/)
|
|
807
|
+
- [You Don't Know JS (book series)](https://github.com/getify/You-Dont-Know-JS)
|