@workingpayload/agent-skills 1.0.0

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.
Files changed (66) hide show
  1. package/APIForge/skill.md +32 -0
  2. package/AccessPlus/skill.md +32 -0
  3. package/AlgoMaster/skill.md +32 -0
  4. package/Architekt AI/skill.md +32 -0
  5. package/AuthCraft/skill.md +32 -0
  6. package/AutoScriptor/skill.md +32 -0
  7. package/BoilerCore/skill.md +32 -0
  8. package/BugHunter Pro/skill.md +32 -0
  9. package/ChangeScribe/skill.md +32 -0
  10. package/CodeSage/skill.md +32 -0
  11. package/CommitCraft/skill.md +32 -0
  12. package/CoverageMax/skill.md +32 -0
  13. package/CronGenius/skill.md +32 -0
  14. package/DataPolish/skill.md +32 -0
  15. package/DataWeaver/skill.md +32 -0
  16. package/DockMaster/skill.md +32 -0
  17. package/DocuGenie/skill.md +32 -0
  18. package/EdgeGuard/skill.md +32 -0
  19. package/EnvWizard/skill.md +32 -0
  20. package/ErrorMedic/skill.md +32 -0
  21. package/Extension-Extender/SKILL.md +41 -0
  22. package/Extension-Extender/assets/manifest.json +27 -0
  23. package/Extension-Extender/assets/popup.css +141 -0
  24. package/Extension-Extender/assets/popup.html +34 -0
  25. package/Extension-Extender/assets/popup.js +36 -0
  26. package/Extension-Extender/references/ui-guidelines.md +26 -0
  27. package/Fastapi-Furious/README.md +16 -0
  28. package/Fastapi-Furious/SKILL.md +37 -0
  29. package/FeatureSmith/skill.md +32 -0
  30. package/FlexiLayout/skill.md +32 -0
  31. package/FlowTester/skill.md +32 -0
  32. package/FunctionForge/skill.md +32 -0
  33. package/InputShield/skill.md +32 -0
  34. package/IssueForge/skill.md +32 -0
  35. package/KubeCrafter/skill.md +32 -0
  36. package/LogicLens/skill.md +32 -0
  37. package/MockSmith/skill.md +32 -0
  38. package/ModelSensei/skill.md +32 -0
  39. package/PRMentor/skill.md +32 -0
  40. package/PerfDetective/skill.md +32 -0
  41. package/PipelinePro/skill.md +32 -0
  42. package/PolyglotShift/skill.md +32 -0
  43. package/PromptForge/skill.md +32 -0
  44. package/Python-Master/README.md +11 -0
  45. package/Python-Master/SKILL.md +37 -0
  46. package/QueryPulse/skill.md +32 -0
  47. package/README.md +329 -0
  48. package/React-Ranger/README.md +17 -0
  49. package/React-Ranger/SKILL.md +37 -0
  50. package/ReadMeCraft/skill.md +32 -0
  51. package/RefactorX/skill.md +32 -0
  52. package/RenderBoost/skill.md +32 -0
  53. package/SEOMancer/skill.md +32 -0
  54. package/ScrapeMaster/skill.md +32 -0
  55. package/SecretSniffer/skill.md +32 -0
  56. package/SecureScan/skill.md +32 -0
  57. package/ServiceSplitter/skill.md +32 -0
  58. package/SpeedSmith/skill.md +32 -0
  59. package/StackWise/skill.md +32 -0
  60. package/TaskOrchestrator/skill.md +32 -0
  61. package/TestCrafter/skill.md +32 -0
  62. package/TraceMind/skill.md +32 -0
  63. package/UISmith/skill.md +32 -0
  64. package/cli.js +181 -0
  65. package/package.json +28 -0
  66. package/parse_skills.py +44 -0
@@ -0,0 +1,32 @@
1
+ ---
2
+ name: readmecraft
3
+ description: Perfects tasks related to writing engaging, comprehensive README files, including setup instructions, usage examples, and contribution guidelines. Use when a user asks to handle docs or requires assistance with readme..
4
+ ---
5
+
6
+ # ReadMeCraft
7
+
8
+ ## Overview
9
+
10
+ The ReadMeCraft skill specializes in writing engaging, comprehensive README files, including setup instructions, usage examples, and contribution guidelines. It is designed to be the perfect, flawless assistant for docs, providing robust, industry-standard solutions.
11
+
12
+ ## Workflow
13
+
14
+ When asked to work on docs or related tasks, follow these steps:
15
+
16
+ ### 1. Analysis & Pre-flight
17
+ - Analyze the user's request thoroughly.
18
+ - Identify the core requirements for writing engaging, comprehensive README files, including setup instructions, usage examples, and contribution guidelines.
19
+ - Ensure all context and preconditions are understood.
20
+
21
+ ### 2. Execution & Implementation
22
+ - Apply the core logic of ReadMeCraft perfectly.
23
+ - Prioritize clean architecture, high efficiency, and robust error handling.
24
+ - Strive for a flawless, comprehensive solution that directly addresses the user's needs.
25
+
26
+ ### 3. Validation & Polish
27
+ - Review the generated output against industry best practices for docs.
28
+ - Ensure the result perfectly resolves the user's request without omissions.
29
+
30
+ ## Resources
31
+
32
+ - **`references/best-practices.md`**: Core principles for docs.
@@ -0,0 +1,32 @@
1
+ ---
2
+ name: refactorx
3
+ description: Perfects tasks related to executing large-scale codebase refactoring, modernizing legacy systems, and improving overall maintainability. Use when a user asks to handle refactor or requires assistance with refactors code..
4
+ ---
5
+
6
+ # RefactorX
7
+
8
+ ## Overview
9
+
10
+ The RefactorX skill specializes in executing large-scale codebase refactoring, modernizing legacy systems, and improving overall maintainability. It is designed to be the perfect, flawless assistant for refactor, providing robust, industry-standard solutions.
11
+
12
+ ## Workflow
13
+
14
+ When asked to work on refactor or related tasks, follow these steps:
15
+
16
+ ### 1. Analysis & Pre-flight
17
+ - Analyze the user's request thoroughly.
18
+ - Identify the core requirements for executing large-scale codebase refactoring, modernizing legacy systems, and improving overall maintainability.
19
+ - Ensure all context and preconditions are understood.
20
+
21
+ ### 2. Execution & Implementation
22
+ - Apply the core logic of RefactorX perfectly.
23
+ - Prioritize clean architecture, high efficiency, and robust error handling.
24
+ - Strive for a flawless, comprehensive solution that directly addresses the user's needs.
25
+
26
+ ### 3. Validation & Polish
27
+ - Review the generated output against industry best practices for refactor.
28
+ - Ensure the result perfectly resolves the user's request without omissions.
29
+
30
+ ## Resources
31
+
32
+ - **`references/best-practices.md`**: Core principles for refactor.
@@ -0,0 +1,32 @@
1
+ ---
2
+ name: renderboost
3
+ description: Perfects tasks related to optimizing frontend rendering cycles, minimizing reflows/repaints, and improving Core Web Vitals. Use when a user asks to handle frontend or requires assistance with optimizes ui performance..
4
+ ---
5
+
6
+ # RenderBoost
7
+
8
+ ## Overview
9
+
10
+ The RenderBoost skill specializes in optimizing frontend rendering cycles, minimizing reflows/repaints, and improving Core Web Vitals. It is designed to be the perfect, flawless assistant for frontend, providing robust, industry-standard solutions.
11
+
12
+ ## Workflow
13
+
14
+ When asked to work on frontend or related tasks, follow these steps:
15
+
16
+ ### 1. Analysis & Pre-flight
17
+ - Analyze the user's request thoroughly.
18
+ - Identify the core requirements for optimizing frontend rendering cycles, minimizing reflows/repaints, and improving Core Web Vitals.
19
+ - Ensure all context and preconditions are understood.
20
+
21
+ ### 2. Execution & Implementation
22
+ - Apply the core logic of RenderBoost perfectly.
23
+ - Prioritize clean architecture, high efficiency, and robust error handling.
24
+ - Strive for a flawless, comprehensive solution that directly addresses the user's needs.
25
+
26
+ ### 3. Validation & Polish
27
+ - Review the generated output against industry best practices for frontend.
28
+ - Ensure the result perfectly resolves the user's request without omissions.
29
+
30
+ ## Resources
31
+
32
+ - **`references/best-practices.md`**: Core principles for frontend.
@@ -0,0 +1,32 @@
1
+ ---
2
+ name: seomancer
3
+ description: Perfects tasks related to optimizing technical SEO, managing meta tags, structured data, and improving web accessibility for search engines. Use when a user asks to handle frontend or requires assistance with seo..
4
+ ---
5
+
6
+ # SEOMancer
7
+
8
+ ## Overview
9
+
10
+ The SEOMancer skill specializes in optimizing technical SEO, managing meta tags, structured data, and improving web accessibility for search engines. It is designed to be the perfect, flawless assistant for frontend, providing robust, industry-standard solutions.
11
+
12
+ ## Workflow
13
+
14
+ When asked to work on frontend or related tasks, follow these steps:
15
+
16
+ ### 1. Analysis & Pre-flight
17
+ - Analyze the user's request thoroughly.
18
+ - Identify the core requirements for optimizing technical SEO, managing meta tags, structured data, and improving web accessibility for search engines.
19
+ - Ensure all context and preconditions are understood.
20
+
21
+ ### 2. Execution & Implementation
22
+ - Apply the core logic of SEOMancer perfectly.
23
+ - Prioritize clean architecture, high efficiency, and robust error handling.
24
+ - Strive for a flawless, comprehensive solution that directly addresses the user's needs.
25
+
26
+ ### 3. Validation & Polish
27
+ - Review the generated output against industry best practices for frontend.
28
+ - Ensure the result perfectly resolves the user's request without omissions.
29
+
30
+ ## Resources
31
+
32
+ - **`references/best-practices.md`**: Core principles for frontend.
@@ -0,0 +1,32 @@
1
+ ---
2
+ name: scrapemaster
3
+ description: Perfects tasks related to building resilient web scrapers, parsing DOM trees, and extracting structured data from unstructured web pages. Use when a user asks to handle automation or requires assistance with scraper..
4
+ ---
5
+
6
+ # ScrapeMaster
7
+
8
+ ## Overview
9
+
10
+ The ScrapeMaster skill specializes in building resilient web scrapers, parsing DOM trees, and extracting structured data from unstructured web pages. It is designed to be the perfect, flawless assistant for automation, providing robust, industry-standard solutions.
11
+
12
+ ## Workflow
13
+
14
+ When asked to work on automation or related tasks, follow these steps:
15
+
16
+ ### 1. Analysis & Pre-flight
17
+ - Analyze the user's request thoroughly.
18
+ - Identify the core requirements for building resilient web scrapers, parsing DOM trees, and extracting structured data from unstructured web pages.
19
+ - Ensure all context and preconditions are understood.
20
+
21
+ ### 2. Execution & Implementation
22
+ - Apply the core logic of ScrapeMaster perfectly.
23
+ - Prioritize clean architecture, high efficiency, and robust error handling.
24
+ - Strive for a flawless, comprehensive solution that directly addresses the user's needs.
25
+
26
+ ### 3. Validation & Polish
27
+ - Review the generated output against industry best practices for automation.
28
+ - Ensure the result perfectly resolves the user's request without omissions.
29
+
30
+ ## Resources
31
+
32
+ - **`references/best-practices.md`**: Core principles for automation.
@@ -0,0 +1,32 @@
1
+ ---
2
+ name: secretsniffer
3
+ description: Perfects tasks related to auditing codebases for hardcoded credentials, API keys, and sensitive data exposures before commits. Use when a user asks to handle security or requires assistance with find secrets..
4
+ ---
5
+
6
+ # SecretSniffer
7
+
8
+ ## Overview
9
+
10
+ The SecretSniffer skill specializes in auditing codebases for hardcoded credentials, API keys, and sensitive data exposures before commits. It is designed to be the perfect, flawless assistant for security, providing robust, industry-standard solutions.
11
+
12
+ ## Workflow
13
+
14
+ When asked to work on security or related tasks, follow these steps:
15
+
16
+ ### 1. Analysis & Pre-flight
17
+ - Analyze the user's request thoroughly.
18
+ - Identify the core requirements for auditing codebases for hardcoded credentials, API keys, and sensitive data exposures before commits.
19
+ - Ensure all context and preconditions are understood.
20
+
21
+ ### 2. Execution & Implementation
22
+ - Apply the core logic of SecretSniffer perfectly.
23
+ - Prioritize clean architecture, high efficiency, and robust error handling.
24
+ - Strive for a flawless, comprehensive solution that directly addresses the user's needs.
25
+
26
+ ### 3. Validation & Polish
27
+ - Review the generated output against industry best practices for security.
28
+ - Ensure the result perfectly resolves the user's request without omissions.
29
+
30
+ ## Resources
31
+
32
+ - **`references/best-practices.md`**: Core principles for security.
@@ -0,0 +1,32 @@
1
+ ---
2
+ name: securescan
3
+ description: Perfects tasks related to performing static application security testing (SAST), identifying vulnerabilities, and recommending secure coding practices. Use when a user asks to handle security or requires assistance with security audit..
4
+ ---
5
+
6
+ # SecureScan
7
+
8
+ ## Overview
9
+
10
+ The SecureScan skill specializes in performing static application security testing (SAST), identifying vulnerabilities, and recommending secure coding practices. It is designed to be the perfect, flawless assistant for security, providing robust, industry-standard solutions.
11
+
12
+ ## Workflow
13
+
14
+ When asked to work on security or related tasks, follow these steps:
15
+
16
+ ### 1. Analysis & Pre-flight
17
+ - Analyze the user's request thoroughly.
18
+ - Identify the core requirements for performing static application security testing (SAST), identifying vulnerabilities, and recommending secure coding practices.
19
+ - Ensure all context and preconditions are understood.
20
+
21
+ ### 2. Execution & Implementation
22
+ - Apply the core logic of SecureScan perfectly.
23
+ - Prioritize clean architecture, high efficiency, and robust error handling.
24
+ - Strive for a flawless, comprehensive solution that directly addresses the user's needs.
25
+
26
+ ### 3. Validation & Polish
27
+ - Review the generated output against industry best practices for security.
28
+ - Ensure the result perfectly resolves the user's request without omissions.
29
+
30
+ ## Resources
31
+
32
+ - **`references/best-practices.md`**: Core principles for security.
@@ -0,0 +1,32 @@
1
+ ---
2
+ name: servicesplitter
3
+ description: Perfects tasks related to decoupling monolithic applications into independent microservices and defining bounded contexts. Use when a user asks to handle architecture or requires assistance with microservices..
4
+ ---
5
+
6
+ # ServiceSplitter
7
+
8
+ ## Overview
9
+
10
+ The ServiceSplitter skill specializes in decoupling monolithic applications into independent microservices and defining bounded contexts. It is designed to be the perfect, flawless assistant for architecture, providing robust, industry-standard solutions.
11
+
12
+ ## Workflow
13
+
14
+ When asked to work on architecture or related tasks, follow these steps:
15
+
16
+ ### 1. Analysis & Pre-flight
17
+ - Analyze the user's request thoroughly.
18
+ - Identify the core requirements for decoupling monolithic applications into independent microservices and defining bounded contexts.
19
+ - Ensure all context and preconditions are understood.
20
+
21
+ ### 2. Execution & Implementation
22
+ - Apply the core logic of ServiceSplitter perfectly.
23
+ - Prioritize clean architecture, high efficiency, and robust error handling.
24
+ - Strive for a flawless, comprehensive solution that directly addresses the user's needs.
25
+
26
+ ### 3. Validation & Polish
27
+ - Review the generated output against industry best practices for architecture.
28
+ - Ensure the result perfectly resolves the user's request without omissions.
29
+
30
+ ## Resources
31
+
32
+ - **`references/best-practices.md`**: Core principles for architecture.
@@ -0,0 +1,32 @@
1
+ ---
2
+ name: speedsmith
3
+ description: Perfects tasks related to implementing aggressive caching strategies, optimizing asset delivery, and reducing application latency. Use when a user asks to handle optimization or requires assistance with optimizes code..
4
+ ---
5
+
6
+ # SpeedSmith
7
+
8
+ ## Overview
9
+
10
+ The SpeedSmith skill specializes in implementing aggressive caching strategies, optimizing asset delivery, and reducing application latency. It is designed to be the perfect, flawless assistant for optimization, providing robust, industry-standard solutions.
11
+
12
+ ## Workflow
13
+
14
+ When asked to work on optimization or related tasks, follow these steps:
15
+
16
+ ### 1. Analysis & Pre-flight
17
+ - Analyze the user's request thoroughly.
18
+ - Identify the core requirements for implementing aggressive caching strategies, optimizing asset delivery, and reducing application latency.
19
+ - Ensure all context and preconditions are understood.
20
+
21
+ ### 2. Execution & Implementation
22
+ - Apply the core logic of SpeedSmith perfectly.
23
+ - Prioritize clean architecture, high efficiency, and robust error handling.
24
+ - Strive for a flawless, comprehensive solution that directly addresses the user's needs.
25
+
26
+ ### 3. Validation & Polish
27
+ - Review the generated output against industry best practices for optimization.
28
+ - Ensure the result perfectly resolves the user's request without omissions.
29
+
30
+ ## Resources
31
+
32
+ - **`references/best-practices.md`**: Core principles for optimization.
@@ -0,0 +1,32 @@
1
+ ---
2
+ name: stackwise
3
+ description: Perfects tasks related to advising on technology stack selections, evaluating library trade-offs, and designing overarching technical strategies. Use when a user asks to handle architecture or requires assistance with tech stack advisor..
4
+ ---
5
+
6
+ # StackWise
7
+
8
+ ## Overview
9
+
10
+ The StackWise skill specializes in advising on technology stack selections, evaluating library trade-offs, and designing overarching technical strategies. It is designed to be the perfect, flawless assistant for architecture, providing robust, industry-standard solutions.
11
+
12
+ ## Workflow
13
+
14
+ When asked to work on architecture or related tasks, follow these steps:
15
+
16
+ ### 1. Analysis & Pre-flight
17
+ - Analyze the user's request thoroughly.
18
+ - Identify the core requirements for advising on technology stack selections, evaluating library trade-offs, and designing overarching technical strategies.
19
+ - Ensure all context and preconditions are understood.
20
+
21
+ ### 2. Execution & Implementation
22
+ - Apply the core logic of StackWise perfectly.
23
+ - Prioritize clean architecture, high efficiency, and robust error handling.
24
+ - Strive for a flawless, comprehensive solution that directly addresses the user's needs.
25
+
26
+ ### 3. Validation & Polish
27
+ - Review the generated output against industry best practices for architecture.
28
+ - Ensure the result perfectly resolves the user's request without omissions.
29
+
30
+ ## Resources
31
+
32
+ - **`references/best-practices.md`**: Core principles for architecture.
@@ -0,0 +1,32 @@
1
+ ---
2
+ name: taskorchestrator
3
+ description: Perfects tasks related to managing asynchronous task queues, worker pools, and orchestrating complex distributed workflows. Use when a user asks to handle agent or requires assistance with task planning..
4
+ ---
5
+
6
+ # TaskOrchestrator
7
+
8
+ ## Overview
9
+
10
+ The TaskOrchestrator skill specializes in managing asynchronous task queues, worker pools, and orchestrating complex distributed workflows. It is designed to be the perfect, flawless assistant for agent, providing robust, industry-standard solutions.
11
+
12
+ ## Workflow
13
+
14
+ When asked to work on agent or related tasks, follow these steps:
15
+
16
+ ### 1. Analysis & Pre-flight
17
+ - Analyze the user's request thoroughly.
18
+ - Identify the core requirements for managing asynchronous task queues, worker pools, and orchestrating complex distributed workflows.
19
+ - Ensure all context and preconditions are understood.
20
+
21
+ ### 2. Execution & Implementation
22
+ - Apply the core logic of TaskOrchestrator perfectly.
23
+ - Prioritize clean architecture, high efficiency, and robust error handling.
24
+ - Strive for a flawless, comprehensive solution that directly addresses the user's needs.
25
+
26
+ ### 3. Validation & Polish
27
+ - Review the generated output against industry best practices for agent.
28
+ - Ensure the result perfectly resolves the user's request without omissions.
29
+
30
+ ## Resources
31
+
32
+ - **`references/best-practices.md`**: Core principles for agent.
@@ -0,0 +1,32 @@
1
+ ---
2
+ name: testcrafter
3
+ description: Perfects tasks related to writing unit and integration tests using modern testing frameworks, ensuring test reliability and speed. Use when a user asks to handle testing or requires assistance with creates unit tests..
4
+ ---
5
+
6
+ # TestCrafter
7
+
8
+ ## Overview
9
+
10
+ The TestCrafter skill specializes in writing unit and integration tests using modern testing frameworks, ensuring test reliability and speed. It is designed to be the perfect, flawless assistant for testing, providing robust, industry-standard solutions.
11
+
12
+ ## Workflow
13
+
14
+ When asked to work on testing or related tasks, follow these steps:
15
+
16
+ ### 1. Analysis & Pre-flight
17
+ - Analyze the user's request thoroughly.
18
+ - Identify the core requirements for writing unit and integration tests using modern testing frameworks, ensuring test reliability and speed.
19
+ - Ensure all context and preconditions are understood.
20
+
21
+ ### 2. Execution & Implementation
22
+ - Apply the core logic of TestCrafter perfectly.
23
+ - Prioritize clean architecture, high efficiency, and robust error handling.
24
+ - Strive for a flawless, comprehensive solution that directly addresses the user's needs.
25
+
26
+ ### 3. Validation & Polish
27
+ - Review the generated output against industry best practices for testing.
28
+ - Ensure the result perfectly resolves the user's request without omissions.
29
+
30
+ ## Resources
31
+
32
+ - **`references/best-practices.md`**: Core principles for testing.
@@ -0,0 +1,32 @@
1
+ ---
2
+ name: tracemind
3
+ description: Perfects tasks related to implementing distributed tracing, structured logging, and observability tools to monitor system health. Use when a user asks to handle debug, logs or requires assistance with analyzes stack traces..
4
+ ---
5
+
6
+ # TraceMind
7
+
8
+ ## Overview
9
+
10
+ The TraceMind skill specializes in implementing distributed tracing, structured logging, and observability tools to monitor system health. It is designed to be the perfect, flawless assistant for debug, logs, providing robust, industry-standard solutions.
11
+
12
+ ## Workflow
13
+
14
+ When asked to work on debug, logs or related tasks, follow these steps:
15
+
16
+ ### 1. Analysis & Pre-flight
17
+ - Analyze the user's request thoroughly.
18
+ - Identify the core requirements for implementing distributed tracing, structured logging, and observability tools to monitor system health.
19
+ - Ensure all context and preconditions are understood.
20
+
21
+ ### 2. Execution & Implementation
22
+ - Apply the core logic of TraceMind perfectly.
23
+ - Prioritize clean architecture, high efficiency, and robust error handling.
24
+ - Strive for a flawless, comprehensive solution that directly addresses the user's needs.
25
+
26
+ ### 3. Validation & Polish
27
+ - Review the generated output against industry best practices for debug, logs.
28
+ - Ensure the result perfectly resolves the user's request without omissions.
29
+
30
+ ## Resources
31
+
32
+ - **`references/best-practices.md`**: Core principles for debug, logs.
@@ -0,0 +1,32 @@
1
+ ---
2
+ name: uismith
3
+ description: Perfects tasks related to translating design mockups into pixel-perfect, accessible, and interactive frontend components. Use when a user asks to handle frontend or requires assistance with ui components..
4
+ ---
5
+
6
+ # UISmith
7
+
8
+ ## Overview
9
+
10
+ The UISmith skill specializes in translating design mockups into pixel-perfect, accessible, and interactive frontend components. It is designed to be the perfect, flawless assistant for frontend, providing robust, industry-standard solutions.
11
+
12
+ ## Workflow
13
+
14
+ When asked to work on frontend or related tasks, follow these steps:
15
+
16
+ ### 1. Analysis & Pre-flight
17
+ - Analyze the user's request thoroughly.
18
+ - Identify the core requirements for translating design mockups into pixel-perfect, accessible, and interactive frontend components.
19
+ - Ensure all context and preconditions are understood.
20
+
21
+ ### 2. Execution & Implementation
22
+ - Apply the core logic of UISmith perfectly.
23
+ - Prioritize clean architecture, high efficiency, and robust error handling.
24
+ - Strive for a flawless, comprehensive solution that directly addresses the user's needs.
25
+
26
+ ### 3. Validation & Polish
27
+ - Review the generated output against industry best practices for frontend.
28
+ - Ensure the result perfectly resolves the user's request without omissions.
29
+
30
+ ## Resources
31
+
32
+ - **`references/best-practices.md`**: Core principles for frontend.
package/cli.js ADDED
@@ -0,0 +1,181 @@
1
+ #!/usr/bin/env node
2
+
3
+ const fs = require("fs");
4
+ const path = require("path");
5
+ const os = require("os");
6
+
7
+ const args = process.argv.slice(2);
8
+ const skillsRoot = path.join(__dirname, "skills");
9
+ const VERSION = "1.0.0";
10
+
11
+ // ----------------------
12
+ // Utils
13
+ // ----------------------
14
+
15
+ function exists(p) {
16
+ return fs.existsSync(p);
17
+ }
18
+
19
+ function ensureDir(dir) {
20
+ if (!exists(dir)) fs.mkdirSync(dir, { recursive: true });
21
+ }
22
+
23
+ function copyDir(src, dest, options = {}) {
24
+ ensureDir(dest);
25
+
26
+ const items = fs.readdirSync(src);
27
+
28
+ for (const item of items) {
29
+ const srcPath = path.join(src, item);
30
+ const destPath = path.join(dest, item);
31
+
32
+ const stat = fs.statSync(srcPath);
33
+
34
+ if (stat.isDirectory()) {
35
+ copyDir(srcPath, destPath, options);
36
+ } else {
37
+ if (exists(destPath) && !options.force) {
38
+ continue;
39
+ }
40
+ fs.copyFileSync(srcPath, destPath);
41
+ }
42
+ }
43
+ }
44
+
45
+ // ----------------------
46
+ // Target Detection
47
+ // ----------------------
48
+
49
+ function detectTargets() {
50
+ const cwd = process.cwd();
51
+ const home = os.homedir();
52
+
53
+ const targets = [];
54
+
55
+ if (exists(path.join(cwd, ".gemini"))) {
56
+ targets.push(path.join(cwd, ".gemini", "skills"));
57
+ }
58
+
59
+ if (exists(path.join(cwd, ".claude"))) {
60
+ targets.push(path.join(cwd, ".claude", "skills"));
61
+ }
62
+
63
+ // fallback to global
64
+ if (targets.length === 0) {
65
+ targets.push(path.join(home, ".gemini", "skills"));
66
+ targets.push(path.join(home, ".claude", "skills"));
67
+ }
68
+
69
+ return targets;
70
+ }
71
+
72
+ // ----------------------
73
+ // Versioning
74
+ // ----------------------
75
+
76
+ function writeMeta(target) {
77
+ const metaPath = path.join(target, ".meta.json");
78
+
79
+ const meta = {
80
+ version: VERSION,
81
+ installedAt: new Date().toISOString()
82
+ };
83
+
84
+ fs.writeFileSync(metaPath, JSON.stringify(meta, null, 2));
85
+ }
86
+
87
+ // ----------------------
88
+ // Install
89
+ // ----------------------
90
+
91
+ function install(options = {}) {
92
+ const targets = detectTargets();
93
+
94
+ targets.forEach(target => {
95
+ copyDir(skillsRoot, target, options);
96
+ writeMeta(target);
97
+
98
+ console.log(`✅ Installed → ${target}`);
99
+ });
100
+ }
101
+
102
+ // ----------------------
103
+ // Sync
104
+ // ----------------------
105
+
106
+ function sync(options = {}) {
107
+ const targets = detectTargets();
108
+
109
+ targets.forEach(target => {
110
+ const metaPath = path.join(target, ".meta.json");
111
+
112
+ if (!exists(metaPath)) {
113
+ console.log(`⚠️ No meta found, installing fresh → ${target}`);
114
+ install(options);
115
+ return;
116
+ }
117
+
118
+ const meta = JSON.parse(fs.readFileSync(metaPath));
119
+
120
+ if (meta.version !== VERSION) {
121
+ console.log(`🔄 Updating ${target} (${meta.version} → ${VERSION})`);
122
+ copyDir(skillsRoot, target, options);
123
+ writeMeta(target);
124
+ } else {
125
+ console.log(`✅ Up to date → ${target}`);
126
+ }
127
+ });
128
+ }
129
+
130
+ // ----------------------
131
+ // List Skills
132
+ // ----------------------
133
+
134
+ function listSkills() {
135
+ const skills = fs.readdirSync(skillsRoot);
136
+ console.log("\nAvailable Skills:\n");
137
+ skills.forEach(s => console.log(" -", s));
138
+ }
139
+
140
+ // ----------------------
141
+ // CLI
142
+ // ----------------------
143
+
144
+ function run() {
145
+ const command = args[0];
146
+ const force = args.includes("--force");
147
+
148
+ switch (command) {
149
+ case "install":
150
+ install({ force });
151
+ break;
152
+
153
+ case "sync":
154
+ sync({ force });
155
+ break;
156
+
157
+ case "list":
158
+ listSkills();
159
+ break;
160
+
161
+ case "doctor":
162
+ console.log("Gemini:", path.join(os.homedir(), ".gemini", "skills"));
163
+ console.log("Claude:", path.join(os.homedir(), ".claude", "skills"));
164
+ break;
165
+
166
+ default:
167
+ console.log(`
168
+ Usage:
169
+
170
+ agent-skills install → auto detect & install
171
+ agent-skills sync → update skills
172
+ agent-skills list → list all skills
173
+ agent-skills doctor → show paths
174
+
175
+ Options:
176
+ --force overwrite existing files
177
+ `);
178
+ }
179
+ }
180
+
181
+ run();
package/package.json ADDED
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "@workingpayload/agent-skills",
3
+ "version": "1.0.0",
4
+ "description": "Universal agent skills for Claude, Gemini, and OpenAI",
5
+ "main": "index.js",
6
+ "type": "commonjs",
7
+ "bin": {
8
+ "agent-skills": "./cli.js"
9
+ },
10
+ "scripts": {
11
+ "generate": "node scripts/generate-skills.js"
12
+ },
13
+ "keywords": [
14
+ "ai",
15
+ "agents",
16
+ "claude",
17
+ "gemini",
18
+ "skills",
19
+ "llm"
20
+ ],
21
+ "author": "Raj",
22
+ "license": "MIT",
23
+ "dependencies": {
24
+ "openai": "^4.0.0",
25
+ "@anthropic-ai/sdk": "^0.20.0",
26
+ "@google/generative-ai": "^0.5.0"
27
+ }
28
+ }