[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77NECV2J2GTVQ7KDM5X2WC4":3,"skill-same:01M77NECV2J2GTVQ7KDM5X2WC4":49},{"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":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M77NECV2J2GTVQ7KDM5X2WC4","spatie-javascript",null,"Apply Spatie's JavaScript coding standards for any task that creates, edits, reviews, refactors, or formats JavaScript or TypeScript code; use for variable declarations, comparisons, functions, destructuring, and Prettier configuration to align with Spatie's JS conventions.","w1do\u002Fcontent-backend","w1do","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F122446147?v=4","01M77N9PAY1Z1RMN8S3936Q9Y9","W1DO DIGITAL","01M77N9PBRQG10QM0Z8WFRAK25",1,"MIT","https:\u002F\u002Fgithub.com\u002Fw1do\u002Fcontent-backend\u002Fblob\u002Fmain\u002F.junie\u002Fskills\u002Fspatie-javascript\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: spatie-javascript\ndescription: Apply Spatie's JavaScript coding standards for any task that creates, edits, reviews, refactors, or formats JavaScript or TypeScript code; use for variable declarations, comparisons, functions, destructuring, and Prettier configuration to align with Spatie's JS conventions.\nlicense: MIT\nmetadata:\n  author: Spatie\n---\n\n# Spatie JavaScript Guidelines\n\n## Overview\nApply Spatie's JavaScript coding standards to keep JS\u002FTS code consistent and readable.\n\n## When to Activate\n- Activate this skill for any JavaScript or TypeScript coding work.\n- Activate this skill when working on `.js`, `.ts`, `.jsx`, `.tsx`, or `.vue` files.\n- Activate this skill when configuring Prettier or ESLint for a project.\n\n## Scope\n- In scope: JavaScript, TypeScript, Vue single-file components, Prettier\u002FESLint configuration.\n- Out of scope: PHP, Laravel, CSS-only files, server configuration.\n\n## Prettier Configuration\n- Indentation: 4 spaces (via `.editorconfig`, not Prettier default of 2)\n- Print width: 120 characters (not Prettier default of 80)\n- Quote style: single quotes\n\n## Variable Declarations\n- Prefer `const` over `let`. Only use `let` when a variable will be reassigned.\n- Never use `var`.\n- Reassigning object properties is fine with `const` — the reference is not reassigned.\n\n## Variable Names\n- Don't abbreviate variable names in multi-line functions. Use full, descriptive names.\n- Exception: single-line arrow functions where context is obvious.\n\n```javascript\n\u002F\u002F Good — full names in multi-line functions\nfunction saveUserSession(userSession) {\n    \u002F\u002F ...\n}\n\n\u002F\u002F Acceptable — short name in single-line arrow\nuserSessions.forEach(s => saveUserSession(s));\n```\n\n## Comparisons\n- Always use `===` (strict equality). Never use `==`.\n- If unsure of the type, cast it first:\n\n```javascript\nconst number = parseInt(input);\n\nif (number === 5) {\n    \u002F\u002F ...\n}\n```\n\n## Functions\n\n### Function Declarations\n- Use the `function` keyword for named functions to clearly signal it's a function.\n\n### Arrow Functions\n- Use for terse, single-line operations.\n- Use for anonymous callbacks.\n- Use in higher-order functions when it improves readability.\n- Don't use arrow functions when you need `this` context (e.g., jQuery event handlers).\n\n### Object Methods\n- Use shorthand method syntax:\n\n```javascript\n\u002F\u002F Good\nconst obj = {\n    handleClick(event) {\n        \u002F\u002F ...\n    },\n};\n\n\u002F\u002F Avoid\nconst obj = {\n    handleClick: function(event) {\n        \u002F\u002F ...\n    },\n};\n```\n\n## Destructuring\n- Prefer destructuring over manual property\u002Findex access:\n\n```javascript\n\u002F\u002F Good\nconst [hours, minutes] = '12:00'.split(':');\n\n\u002F\u002F Good — configuration objects with defaults\nfunction createUser({ name, email, role = 'member' }) {\n    \u002F\u002F ...\n}\n\n\u002F\u002F Avoid\nconst parts = '12:00'.split(':');\nconst hours = parts[0];\nconst minutes = parts[1];\n```\n\n---\n\nSource: https:\u002F\u002Fspatie.be\u002Fguidelines\u002Fjavascript\n","# Spatie JavaScript Guidelines\n\n## Overview\nApply Spatie's JavaScript coding standards to keep JS\u002FTS code consistent and readable.\n\n## When to Activate\n- Activate this skill for any JavaScript or TypeScript coding work.\n- Activate this skill when working on `.js`, `.ts`, `.jsx`, `.tsx`, or `.vue` files.\n- Activate this skill when configuring Prettier or ESLint for a project.\n\n## Scope\n- In scope: JavaScript, TypeScript, Vue single-file components, Prettier\u002FESLint configuration.\n- Out of scope: PHP, Laravel, CSS-only files, server configuration.\n\n## Prettier Configuration\n- Indentation: 4 spaces (via `.editorconfig`, not Prettier default of 2)\n- Print width: 120 characters (not Prettier default of 80)\n- Quote style: single quotes\n\n## Variable Declarations\n- Prefer `const` over `let`. Only use `let` when a variable will be reassigned.\n- Never use `var`.\n- Reassigning object properties is fine with `const` — the reference is not reassigned.\n\n## Variable Names\n- Don't abbreviate variable names in multi-line functions. Use full, descriptive names.\n- Exception: single-line arrow functions where context is obvious.\n\n```javascript\n\u002F\u002F Good — full names in multi-line functions\nfunction saveUserSession(userSession) {\n    \u002F\u002F ...\n}\n\n\u002F\u002F Acceptable — short name in single-line arrow\nuserSessions.forEach(s => saveUserSession(s));\n```\n\n## Comparisons\n- Always use `===` (strict equality). Never use `==`.\n- If unsure of the type, cast it first:\n\n```javascript\nconst number = parseInt(input);\n\nif (number === 5) {\n    \u002F\u002F ...\n}\n```\n\n## Functions\n\n### Function Declarations\n- Use the `function` keyword for named functions to clearly signal it's a function.\n\n### Arrow Functions\n- Use for terse, single-line operations.\n- Use for anonymous callbacks.\n- Use in higher-order functions when it improves readability.\n- Don't use arrow functions when you need `this` context (e.g., jQuery event handlers).\n\n### Object Methods\n- Use shorthand method syntax:\n\n```javascript\n\u002F\u002F Good\nconst obj = {\n    handleClick(event) {\n        \u002F\u002F ...\n    },\n};\n\n\u002F\u002F Avoid\nconst obj = {\n    handleClick: function(event) {\n        \u002F\u002F ...\n    },\n};\n```\n\n## Destructuring\n- Prefer destructuring over manual property\u002Findex access:\n\n```javascript\n\u002F\u002F Good\nconst [hours, minutes] = '12:00'.split(':');\n\n\u002F\u002F Good — configuration objects with defaults\nfunction createUser({ name, email, role = 'member' }) {\n    \u002F\u002F ...\n}\n\n\u002F\u002F Avoid\nconst parts = '12:00'.split(':');\nconst hours = parts[0];\nconst minutes = parts[1];\n```\n\n---\n\nSource: https:\u002F\u002Fspatie.be\u002Fguidelines\u002Fjavascript\n",{"name":5,"license":15,"metadata":24,"description":7},{"author":25},"Spatie","main","5cfcb5a7c17ede079f700eaebe2541a2e8a35b99",".junie\u002Fskills\u002Fspatie-javascript",0,"https:\u002F\u002Fgithub.com\u002Fw1do\u002Fcontent-backend","https:\u002F\u002Fgithub.com\u002Fw1do","https:\u002F\u002Fw1do.ru","Разработчик с использованием AI (Claude, Junie), автоматизация систем, построение сложной архитектуры на Laravel","2026-07-30 04:57:34",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add w1do\u002Fcontent-backend --skill spatie-javascript",{"tool":41,"command":42},"bunx","bunx skills add w1do\u002Fcontent-backend --skill spatie-javascript",{"tool":44,"command":45},"pnpm","pnpm dlx skills add w1do\u002Fcontent-backend --skill spatie-javascript","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fw1do\u002Fcontent-backend\u002Fblob\u002Fmain\u002F.junie\u002Fskills\u002Fspatie-javascript\u002FSKILL.md",true,[],[50,57,64,71,78,86],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":19},"01M77NER3ZH88RF7652A2GPV0N","spatie-version-control","Apply Spatie's version control conventions when creating commits, branches, pull requests, or managing Git repositories; use for naming repos, writing commit messages, choosing branch strategies, and merging code.","https:\u002F\u002Fgithub.com\u002Fw1do\u002Fcontent-backend\u002Fblob\u002Fmain\u002F.junie\u002Fskills\u002Fspatie-version-control\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M77NEM7BB0878PKWFZFBFV2A","spatie-security","Apply Spatie's security guidelines when configuring applications, databases, or servers, or when reviewing code for security concerns; use for SSL setup, CSRF protection, password hashing, database permissions, and server hardening.","https:\u002F\u002Fgithub.com\u002Fw1do\u002Fcontent-backend\u002Fblob\u002Fmain\u002F.junie\u002Fskills\u002Fspatie-security\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M77NEH0V5W6RZP9VJXRBR9QT","spatie-laravel-php","Apply Spatie's Laravel and PHP coding standards for any task that creates, edits, reviews, refactors, or formats Laravel\u002FPHP code or Blade templates; use for controllers, Eloquent models, routes, config, validation, migrations, tests, and related files to align with Laravel conventions and PSR-12.","https:\u002F\u002Fgithub.com\u002Fw1do\u002Fcontent-backend\u002Fblob\u002Fmain\u002F.junie\u002Fskills\u002Fspatie-laravel-php\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M77NE4V810CG6DRAKNFEREZ4","sluggable-development","Use when making a field on an Eloquent model sluggable, generating the migration for a slug column, switching to self-healing URLs, or resolving a model from its slug in a route. Trigger when the request mentions slugs, permalinks, the spatie\u002Flaravel-sluggable package, the HasSlug or HasTranslatableSlug trait, the #[Sluggable] attribute, SlugOptions, findBySlug, self-healing URLs, or stale slug redirects in a Laravel project. Covers choosing between the attribute and the trait, generating unique slugs, configuring separator\u002Flength\u002Flanguage\u002Fscope\u002Funiqueness, preventing slug overwrites, translatable slugs via spatie\u002Flaravel-translatable, route model binding through the slug column, self-healing route keys, customizing the 308 redirect through the SelfHealing facade, and overriding the default actions via config\u002Fsluggable.php. Do not use for one-off URL-safe strings, signed URLs, or Laravel's built-in Str::slug helper when the result is not stored on a model.","https:\u002F\u002Fgithub.com\u002Fw1do\u002Fcontent-backend\u002Fblob\u002Fmain\u002F.junie\u002Fskills\u002Fsluggable-development\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":82,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M77NDSVMR88QCTD52WBBM72V","olakunlevpn-filament-skills","Use when writing, reviewing, or refactoring Filament PHP v5 code -- resources, forms, tables, infolists, actions, widgets, panels, relation managers, multi-tenancy, testing, or plugin development. Always apply these standards to all Filament work.","https:\u002F\u002Fgithub.com\u002Fw1do\u002Fcontent-backend\u002Fblob\u002Fmain\u002F.junie\u002Fskills\u002Folakunlevpn-filament-skills\u002FLICENSE.md","https:\u002F\u002Fgithub.com\u002Fw1do\u002Fcontent-backend\u002Fblob\u002Fmain\u002F.junie\u002Fskills\u002Folakunlevpn-filament-skills\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M77NDMDNMAJ27J9XAQZ3N6X8","medialibrary-development","Build and work with spatie\u002Flaravel-medialibrary features including associating files with Eloquent models, defining media collections and conversions, generating responsive images, and retrieving media URLs and paths.","https:\u002F\u002Fgithub.com\u002Fw1do\u002Fcontent-backend\u002Fblob\u002Fmain\u002F.junie\u002Fskills\u002Fmedialibrary-development\u002FSKILL.md",[],[]]