yeknal 1.1.8 → 1.2.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 (3) hide show
  1. package/README.md +1 -30
  2. package/bin/yeknal.js +0 -29
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # yeknal
2
2
 
3
- A CLI tool to fetch project guideline templates and sync skill folders for AI coding agents.
3
+ A CLI tool to sync skill folders for AI coding agents and run security audits.
4
4
 
5
5
  ## Installation
6
6
 
@@ -26,28 +26,6 @@ Output:
26
26
  - `Security-Master.md`
27
27
  - `security-audit.log`
28
28
 
29
- ### Design
30
-
31
- Fetches `Design.md`.
32
-
33
- ```bash
34
- npx yeknal design
35
- ```
36
-
37
- Output:
38
- - `Design.md`
39
-
40
- ### SEO
41
-
42
- Fetches `SEO-Prompt.md`.
43
-
44
- ```bash
45
- npx yeknal seo
46
- ```
47
-
48
- Output:
49
- - `SEO-Prompt.md`
50
-
51
29
  ### Skills
52
30
 
53
31
  Syncs skill folders from the GitHub repository into detected local agent folders.
@@ -61,7 +39,6 @@ Behavior:
61
39
  - Uses GitHub API + raw file download by default.
62
40
  - If GitHub API rate limit is hit, it automatically falls back to `git clone` (Git must be installed).
63
41
  - Top-level folders are included only if they contain `SKILL.md`.
64
- - Excludes `Design`, `Security`, `Security_Raw`, and `SEO`.
65
42
  - Sync targets (if parent folder exists):
66
43
  - Gemini: `~/.gemini/antigravity` or `~/.antigravity`
67
44
  - Codex: `~/.codex`
@@ -81,12 +58,6 @@ Optional environment variable overrides:
81
58
  # Pull security guidelines + run audit
82
59
  npx yeknal security
83
60
 
84
- # Pull design guidelines
85
- npx yeknal design
86
-
87
- # Pull SEO guidelines
88
- npx yeknal seo
89
-
90
61
  # Sync skill folders for Gemini/Codex/Claude
91
62
  npx yeknal skills
92
63
  ```
package/bin/yeknal.js CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  /**
4
4
  * yeknal CLI
5
- * - Fetches markdown templates (security, design, seo).
6
5
  * - Syncs skill folders into local AI agent directories (skills command).
7
6
  * - Scans project repos for security issues based on Security-Master.md rules.
8
7
  */
@@ -31,22 +30,9 @@ const EXCLUDED_SKILL_FOLDERS = new Set(["Design", "Security", "Security_Raw", "S
31
30
 
32
31
  const SECURITY_REPO_FOLDERS = ["Security", "Security_Raw"];
33
32
 
34
- const singleFileConfigs = {
35
- design: {
36
- remotePath: "Design/SKILL.md",
37
- localName: "Design.md",
38
- },
39
- seo: {
40
- remotePath: "SEO/seo-improvement-prompt.md",
41
- localName: "SEO-Prompt.md",
42
- },
43
- };
44
-
45
33
  function usage() {
46
34
  console.log("\nUsage:");
47
35
  console.log(" npx yeknal security Sync security skills + scan current project");
48
- console.log(" npx yeknal design Fetch design guidelines");
49
- console.log(" npx yeknal seo Fetch SEO guidelines");
50
36
  console.log(" npx yeknal skills Sync all skill folders\n");
51
37
  }
52
38
 
@@ -442,16 +428,6 @@ async function runSkillsCommand() {
442
428
  }
443
429
  }
444
430
 
445
- async function runSingleFileTemplateCommand(category) {
446
- const config = singleFileConfigs[category];
447
- const fileUrl = `${RAW_BASE_URL}/${config.remotePath}`;
448
- const localDest = path.join(process.cwd(), config.localName);
449
-
450
- console.log(`\nFetching ${category} guidelines...`);
451
- await downloadUrlToFile(fileUrl, localDest);
452
- console.log(`Saved to: ${localDest}\n`);
453
- }
454
-
455
431
  // ==========================================
456
432
  // SECURITY SCANNER
457
433
  // Based on Security-Master.md rules
@@ -2061,11 +2037,6 @@ async function main() {
2061
2037
  return;
2062
2038
  }
2063
2039
 
2064
- if (singleFileConfigs[command]) {
2065
- await runSingleFileTemplateCommand(command);
2066
- return;
2067
- }
2068
-
2069
2040
  console.error(`Error: Invalid command "${command}".`);
2070
2041
  usage();
2071
2042
  process.exit(1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yeknal",
3
- "version": "1.1.8",
3
+ "version": "1.2.0",
4
4
  "description": "CLI to fetch markdown templates and sync AI agent skills",
5
5
  "main": "bin/yeknal.js",
6
6
  "bin": {