heymark 2.0.1 → 2.1.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.
- package/LICENSE +21 -21
- package/README.ko.md +121 -120
- package/README.md +123 -122
- package/package.json +57 -56
- package/src/alias.js +41 -41
- package/src/commands/clean/index.js +17 -17
- package/src/commands/cleaner.js +27 -27
- package/src/commands/constants.js +14 -14
- package/src/commands/help/index.js +34 -34
- package/src/commands/link/flags/branch.js +18 -18
- package/src/commands/link/flags/folder.js +18 -18
- package/src/commands/link/index.js +58 -58
- package/src/commands/select-tools.js +35 -35
- package/src/commands/sync/index.js +35 -35
- package/src/index.js +52 -52
- package/src/skill-repo/cache-folder.js +77 -77
- package/src/skill-repo/config-file.js +87 -87
- package/src/skill-repo/constants.js +14 -14
- package/src/skill-repo/skill-file-parser.js +79 -79
- package/src/tools/antigravity/index.js +33 -33
- package/src/tools/claude-code/index.js +33 -33
- package/src/tools/codex/index.js +33 -33
- package/src/tools/constants.js +52 -44
- package/src/tools/copilot/index.js +40 -40
- package/src/tools/cursor/index.js +39 -39
- package/src/tools/loader.js +17 -17
- package/src/tools/openclaw/index.js +72 -0
- package/src/tools/skill-per-file.js +29 -29
- package/src/tools/skill-per-folder.js +18 -18
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 Mossland Open Source
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Mossland Open Source
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.ko.md
CHANGED
|
@@ -1,120 +1,121 @@
|
|
|
1
|
-
# Heymark
|
|
2
|
-
|
|
3
|
-
Heymark는 하나의 Skill 저장소를 여러 AI Tool 형식으로 변환하고 동기화하는 허브 시스템입니다.
|
|
4
|
-
|
|
5
|
-
1. [Overview](#overview)
|
|
6
|
-
2. [Features](#features)
|
|
7
|
-
3. [Supported Tools](#supported-tools)
|
|
8
|
-
4. [How to Use](#how-to-use)
|
|
9
|
-
5. [How to Dev](#how-to-dev)
|
|
10
|
-
|
|
11
|
-
## Overview
|
|
12
|
-
|
|
13
|
-
AI Tool은 프롬프트 문맥에 맞는 Skill을 로드해 반복적인 지시문 입력을 줄이는 기능을 지원합니다.
|
|
14
|
-
이 기능을 사용하면 공통 작업을 표준화하고, 팀 내에서 일관된 작업 기준을 유지할 수 있다는 장점이 있습니다.
|
|
15
|
-
하지만 프로젝트마다 Skill을 개별적으로 연결하고 관리해야 하며, AI Tool마다 요구하는 Skill 파일 형식도 달라
|
|
16
|
-
같은 내용을 여러 형식으로 반복 관리해야 하는 불편이 있습니다.
|
|
17
|
-
Heymark는 단일 Skill 저장소(Single Source of Truth)를 중심으로 도구별 형식 변환과 동기화를 자동화해,
|
|
18
|
-
반복 운영 비용을 줄이고 AI 활용 효율을 극대화합니다.
|
|
19
|
-
|
|
20
|
-
<img width="600" alt="image" src="https://github.com/user-attachments/assets/3819f0d7-9bb2-474f-a58a-da3d1344207d" />
|
|
21
|
-
|
|
22
|
-
_프롬프트 문맥에 맞는 Skill을 자동 로드하는 모습입니다._
|
|
23
|
-
|
|
24
|
-
## Features
|
|
25
|
-
|
|
26
|
-
- 단일 소스 관리: Markdown 기반 Skill을 한 곳에서 관리
|
|
27
|
-
- 자동 형식 변환: 도구별 형식으로 Skill 자동 생성
|
|
28
|
-
- 선택 동기화: 전체 또는 특정 도구만 동기화
|
|
29
|
-
- 샘플 Skill 즉시 사용: heymark 샘플 Skill 저장소로 바로 시작
|
|
30
|
-
|
|
31
|
-
## Supported Tools
|
|
32
|
-
|
|
33
|
-
| Tool | CLI usage | Output Format |
|
|
34
|
-
| :---------- | :------------ | :--------------------------------------- |
|
|
35
|
-
| Cursor | `cursor` | `.cursor/rules/*.mdc` |
|
|
36
|
-
| Claude Code | `claude-code` | `.claude/skills/*/SKILL.md` |
|
|
37
|
-
| Copilot | `copilot` | `.github/instructions/*.instructions.md` |
|
|
38
|
-
| Codex | `codex` | `.agents/skills/*/SKILL.md` |
|
|
39
|
-
| Antigravity | `antigravity` | `.agent/skills/*/SKILL.md` |
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
npx heymark
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
npx heymark link <GitHub-저장소-URL>
|
|
84
|
-
npx heymark link <GitHub-저장소-URL> --
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
npx heymark sync
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
npx heymark clean
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
-
|
|
101
|
-
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
npm
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
- `
|
|
120
|
-
- `
|
|
1
|
+
# Heymark
|
|
2
|
+
|
|
3
|
+
Heymark는 하나의 Skill 저장소를 여러 AI Tool 형식으로 변환하고 동기화하는 허브 시스템입니다.
|
|
4
|
+
|
|
5
|
+
1. [Overview](#overview)
|
|
6
|
+
2. [Features](#features)
|
|
7
|
+
3. [Supported Tools](#supported-tools)
|
|
8
|
+
4. [How to Use](#how-to-use)
|
|
9
|
+
5. [How to Dev](#how-to-dev)
|
|
10
|
+
|
|
11
|
+
## Overview
|
|
12
|
+
|
|
13
|
+
AI Tool은 프롬프트 문맥에 맞는 Skill을 로드해 반복적인 지시문 입력을 줄이는 기능을 지원합니다.
|
|
14
|
+
이 기능을 사용하면 공통 작업을 표준화하고, 팀 내에서 일관된 작업 기준을 유지할 수 있다는 장점이 있습니다.
|
|
15
|
+
하지만 프로젝트마다 Skill을 개별적으로 연결하고 관리해야 하며, AI Tool마다 요구하는 Skill 파일 형식도 달라
|
|
16
|
+
같은 내용을 여러 형식으로 반복 관리해야 하는 불편이 있습니다.
|
|
17
|
+
Heymark는 단일 Skill 저장소(Single Source of Truth)를 중심으로 도구별 형식 변환과 동기화를 자동화해,
|
|
18
|
+
반복 운영 비용을 줄이고 AI 활용 효율을 극대화합니다.
|
|
19
|
+
|
|
20
|
+
<img width="600" alt="image" src="https://github.com/user-attachments/assets/3819f0d7-9bb2-474f-a58a-da3d1344207d" />
|
|
21
|
+
|
|
22
|
+
_프롬프트 문맥에 맞는 Skill을 자동 로드하는 모습입니다._
|
|
23
|
+
|
|
24
|
+
## Features
|
|
25
|
+
|
|
26
|
+
- 단일 소스 관리: Markdown 기반 Skill을 한 곳에서 관리
|
|
27
|
+
- 자동 형식 변환: 도구별 형식으로 Skill 자동 생성
|
|
28
|
+
- 선택 동기화: 전체 또는 특정 도구만 동기화
|
|
29
|
+
- 샘플 Skill 즉시 사용: heymark 샘플 Skill 저장소로 바로 시작
|
|
30
|
+
|
|
31
|
+
## Supported Tools
|
|
32
|
+
|
|
33
|
+
| Tool | CLI usage | Output Format |
|
|
34
|
+
| :---------- | :------------ | :--------------------------------------- |
|
|
35
|
+
| Cursor | `cursor` | `.cursor/rules/*.mdc` |
|
|
36
|
+
| Claude Code | `claude-code` | `.claude/skills/*/SKILL.md` |
|
|
37
|
+
| Copilot | `copilot` | `.github/instructions/*.instructions.md` |
|
|
38
|
+
| Codex | `codex` | `.agents/skills/*/SKILL.md` |
|
|
39
|
+
| Antigravity | `antigravity` | `.agent/skills/*/SKILL.md` |
|
|
40
|
+
| OpenClaw | `openclaw` | `~/.openclaw/skills/*/SKILL.md` |
|
|
41
|
+
|
|
42
|
+
## How to Use
|
|
43
|
+
|
|
44
|
+
### Prepare Skill Repository
|
|
45
|
+
|
|
46
|
+
Skill 저장소는 아래처럼 구성하면 됩니다.
|
|
47
|
+
|
|
48
|
+
```text
|
|
49
|
+
my-skills-repository/
|
|
50
|
+
ai-behavior.md
|
|
51
|
+
code-conventions.md
|
|
52
|
+
api-skills.md
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
각 Skill Markdown에는 frontmatter를 포함합니다.
|
|
56
|
+
|
|
57
|
+
```markdown
|
|
58
|
+
---
|
|
59
|
+
description: "AI coding behavior guidelines"
|
|
60
|
+
globs: "**/*.ts,**/*.tsx"
|
|
61
|
+
alwaysApply: true
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
# Skill Title
|
|
65
|
+
|
|
66
|
+
Skill content...
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
### Quick Start
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
npx heymark link https://github.com/MosslandOpenDevs/heymark.git --folder skill-samples
|
|
73
|
+
npx heymark sync .
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
_`link`와 `sync` 실행 후, 각 도구가 요구하는 디렉터리에 Skill 파일이 생성됩니다._
|
|
77
|
+
|
|
78
|
+
<img width="250" alt="image" src="https://github.com/user-attachments/assets/0e5bc974-12d6-4aab-b0aa-16ca5659f973" />
|
|
79
|
+
|
|
80
|
+
### Commands
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
npx heymark link <GitHub-저장소-URL>
|
|
84
|
+
npx heymark link <GitHub-저장소-URL> --folder <folder-name> # 하위 폴더 사용 시
|
|
85
|
+
npx heymark link <GitHub-저장소-URL> --branch <branch-name> # 다른 브랜치 사용 시
|
|
86
|
+
|
|
87
|
+
npx heymark sync . # 전체 동기화
|
|
88
|
+
npx heymark sync cursor claude-code # 일부 도구만 동기화
|
|
89
|
+
|
|
90
|
+
npx heymark clean . # 전체 정리
|
|
91
|
+
npx heymark clean cursor claude-code # 일부 도구만 정리
|
|
92
|
+
|
|
93
|
+
npx heymark help
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
## How to Dev
|
|
97
|
+
|
|
98
|
+
### Tech Stack
|
|
99
|
+
|
|
100
|
+
- Runtime: Node.js
|
|
101
|
+
- Language: JavaScript
|
|
102
|
+
- Core: File system API, YAML frontmatter parsing
|
|
103
|
+
|
|
104
|
+
### Local Development
|
|
105
|
+
|
|
106
|
+
`How to Use` 섹션의 `npx heymark`를 `node src/index.js`로 바꿔 실행하면 됩니다.
|
|
107
|
+
|
|
108
|
+
### Release
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
npm login
|
|
112
|
+
npm version patch # 또는 minor, major
|
|
113
|
+
git push --follow-tags
|
|
114
|
+
npm publish
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
### Versioning
|
|
118
|
+
|
|
119
|
+
- `patch` (1.0.0 -> 1.0.1): 버그 수정, 오타 수정
|
|
120
|
+
- `minor` (1.0.0 -> 1.1.0): 새 Skill 추가, 기능 개선
|
|
121
|
+
- `major` (1.0.0 -> 2.0.0): 호환성 깨지는 변경
|
package/README.md
CHANGED
|
@@ -1,122 +1,123 @@
|
|
|
1
|
-
# Heymark
|
|
2
|
-
|
|
3
|
-
For the Korean version, see [README.ko.md](README.ko.md).
|
|
4
|
-
|
|
5
|
-
Heymark is a hub system that converts and syncs one Skill repository into multiple AI Tool formats.
|
|
6
|
-
|
|
7
|
-
1. [Overview](#overview)
|
|
8
|
-
2. [Features](#features)
|
|
9
|
-
3. [Supported Tools](#supported-tools)
|
|
10
|
-
4. [How to Use](#how-to-use)
|
|
11
|
-
5. [How to Dev](#how-to-dev)
|
|
12
|
-
|
|
13
|
-
## Overview
|
|
14
|
-
|
|
15
|
-
AI Tools support loading context-aware Skills to reduce repetitive instruction typing.
|
|
16
|
-
This helps standardize common tasks and keeps team workflows consistent.
|
|
17
|
-
However, each project still needs separate Skill linking and management, and each AI Tool requires a
|
|
18
|
-
different Skill file format, so the same content is often maintained multiple times.
|
|
19
|
-
Heymark automates format conversion and sync around a single Skill repository (Single Source of Truth),
|
|
20
|
-
reducing repetitive operational work and maximizing AI workflow efficiency.
|
|
21
|
-
|
|
22
|
-
<img width="600" alt="image" src="https://github.com/user-attachments/assets/3819f0d7-9bb2-474f-a58a-da3d1344207d" />
|
|
23
|
-
|
|
24
|
-
_This shows Skills being automatically loaded based on prompt context._
|
|
25
|
-
|
|
26
|
-
## Features
|
|
27
|
-
|
|
28
|
-
- Single source management: Manage Markdown-based Skills in one place
|
|
29
|
-
- Automatic format conversion: Generate Skill outputs in each tool's required format
|
|
30
|
-
- Selective sync: Sync all tools or only selected tools
|
|
31
|
-
- Sample skills: Try instantly with the heymark sample skill repo
|
|
32
|
-
|
|
33
|
-
## Supported Tools
|
|
34
|
-
|
|
35
|
-
| Tool | CLI usage | Output Format |
|
|
36
|
-
| :---------- | :------------ | :--------------------------------------- |
|
|
37
|
-
| Cursor | `cursor` | `.cursor/rules/*.mdc` |
|
|
38
|
-
| Claude Code | `claude-code` | `.claude/skills/*/SKILL.md` |
|
|
39
|
-
| Copilot | `copilot` | `.github/instructions/*.instructions.md` |
|
|
40
|
-
| Codex | `codex` | `.agents/skills/*/SKILL.md` |
|
|
41
|
-
| Antigravity | `antigravity` | `.agent/skills/*/SKILL.md` |
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
npx heymark
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
npx heymark link <GitHub-Repository-URL>
|
|
86
|
-
npx heymark link <GitHub-Repository-URL> --
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
npx heymark sync
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
npx heymark clean
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
-
|
|
103
|
-
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
npm
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
- `
|
|
122
|
-
- `
|
|
1
|
+
# Heymark
|
|
2
|
+
|
|
3
|
+
For the Korean version, see [README.ko.md](README.ko.md).
|
|
4
|
+
|
|
5
|
+
Heymark is a hub system that converts and syncs one Skill repository into multiple AI Tool formats.
|
|
6
|
+
|
|
7
|
+
1. [Overview](#overview)
|
|
8
|
+
2. [Features](#features)
|
|
9
|
+
3. [Supported Tools](#supported-tools)
|
|
10
|
+
4. [How to Use](#how-to-use)
|
|
11
|
+
5. [How to Dev](#how-to-dev)
|
|
12
|
+
|
|
13
|
+
## Overview
|
|
14
|
+
|
|
15
|
+
AI Tools support loading context-aware Skills to reduce repetitive instruction typing.
|
|
16
|
+
This helps standardize common tasks and keeps team workflows consistent.
|
|
17
|
+
However, each project still needs separate Skill linking and management, and each AI Tool requires a
|
|
18
|
+
different Skill file format, so the same content is often maintained multiple times.
|
|
19
|
+
Heymark automates format conversion and sync around a single Skill repository (Single Source of Truth),
|
|
20
|
+
reducing repetitive operational work and maximizing AI workflow efficiency.
|
|
21
|
+
|
|
22
|
+
<img width="600" alt="image" src="https://github.com/user-attachments/assets/3819f0d7-9bb2-474f-a58a-da3d1344207d" />
|
|
23
|
+
|
|
24
|
+
_This shows Skills being automatically loaded based on prompt context._
|
|
25
|
+
|
|
26
|
+
## Features
|
|
27
|
+
|
|
28
|
+
- Single source management: Manage Markdown-based Skills in one place
|
|
29
|
+
- Automatic format conversion: Generate Skill outputs in each tool's required format
|
|
30
|
+
- Selective sync: Sync all tools or only selected tools
|
|
31
|
+
- Sample skills: Try instantly with the heymark sample skill repo
|
|
32
|
+
|
|
33
|
+
## Supported Tools
|
|
34
|
+
|
|
35
|
+
| Tool | CLI usage | Output Format |
|
|
36
|
+
| :---------- | :------------ | :--------------------------------------- |
|
|
37
|
+
| Cursor | `cursor` | `.cursor/rules/*.mdc` |
|
|
38
|
+
| Claude Code | `claude-code` | `.claude/skills/*/SKILL.md` |
|
|
39
|
+
| Copilot | `copilot` | `.github/instructions/*.instructions.md` |
|
|
40
|
+
| Codex | `codex` | `.agents/skills/*/SKILL.md` |
|
|
41
|
+
| Antigravity | `antigravity` | `.agent/skills/*/SKILL.md` |
|
|
42
|
+
| OpenClaw | `openclaw` | `~/.openclaw/skills/*/SKILL.md` |
|
|
43
|
+
|
|
44
|
+
## How to Use
|
|
45
|
+
|
|
46
|
+
### Prepare Skill Repository
|
|
47
|
+
|
|
48
|
+
You can organize your Skill repository like this:
|
|
49
|
+
|
|
50
|
+
```text
|
|
51
|
+
my-skills-repository/
|
|
52
|
+
ai-behavior.md
|
|
53
|
+
code-conventions.md
|
|
54
|
+
api-skills.md
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Each Skill Markdown file should include frontmatter:
|
|
58
|
+
|
|
59
|
+
```markdown
|
|
60
|
+
---
|
|
61
|
+
description: "AI coding behavior guidelines"
|
|
62
|
+
globs: "**/*.ts,**/*.tsx"
|
|
63
|
+
alwaysApply: true
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
# Skill Title
|
|
67
|
+
|
|
68
|
+
Skill content...
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### Quick Start
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
npx heymark link https://github.com/MosslandOpenDevs/heymark.git --folder skill-samples
|
|
75
|
+
npx heymark sync .
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
_After `link` and `sync`, Skill files are generated in each tool's expected directory._
|
|
79
|
+
|
|
80
|
+
<img width="250" alt="image" src="https://github.com/user-attachments/assets/0e5bc974-12d6-4aab-b0aa-16ca5659f973" />
|
|
81
|
+
|
|
82
|
+
### Commands
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
npx heymark link <GitHub-Repository-URL>
|
|
86
|
+
npx heymark link <GitHub-Repository-URL> --folder <folder-name>
|
|
87
|
+
npx heymark link <GitHub-Repository-URL> --branch <branch-name>
|
|
88
|
+
|
|
89
|
+
npx heymark sync . # sync all tools
|
|
90
|
+
npx heymark sync cursor claude-code # sync selected tools
|
|
91
|
+
|
|
92
|
+
npx heymark clean . # clean all generated outputs
|
|
93
|
+
npx heymark clean cursor claude-code # clean selected tool outputs
|
|
94
|
+
|
|
95
|
+
npx heymark help
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
## How to Dev
|
|
99
|
+
|
|
100
|
+
### Tech Stack
|
|
101
|
+
|
|
102
|
+
- Runtime: Node.js
|
|
103
|
+
- Language: JavaScript
|
|
104
|
+
- Core: File system API, YAML frontmatter parsing
|
|
105
|
+
|
|
106
|
+
### Local Development
|
|
107
|
+
|
|
108
|
+
Replace `npx heymark` in the `How to Use` section with `node src/index.js` for local runs.
|
|
109
|
+
|
|
110
|
+
### Release
|
|
111
|
+
|
|
112
|
+
```bash
|
|
113
|
+
npm login
|
|
114
|
+
npm version patch # or minor, major
|
|
115
|
+
git push --follow-tags
|
|
116
|
+
npm publish
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
### Versioning
|
|
120
|
+
|
|
121
|
+
- `patch` (1.0.0 -> 1.0.1): Bug fixes, typo fixes
|
|
122
|
+
- `minor` (1.0.0 -> 1.1.0): New Skills, feature improvements
|
|
123
|
+
- `major` (1.0.0 -> 2.0.0): Breaking changes
|
package/package.json
CHANGED
|
@@ -1,56 +1,57 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "heymark",
|
|
3
|
-
"version": "2.0
|
|
4
|
-
"description": "Rules & Skills Hub for AI Coding Assistants",
|
|
5
|
-
"type": "commonjs",
|
|
6
|
-
"main": "src/index.js",
|
|
7
|
-
"bin": "src/index.js",
|
|
8
|
-
"keywords": [
|
|
9
|
-
"ai-coding-assistant",
|
|
10
|
-
"ai-agent",
|
|
11
|
-
"ai-skill",
|
|
12
|
-
"ai-rule",
|
|
13
|
-
"skill-management",
|
|
14
|
-
"cursor",
|
|
15
|
-
"claude-code",
|
|
16
|
-
"copilot",
|
|
17
|
-
"codex",
|
|
18
|
-
"antigravity"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "heymark",
|
|
3
|
+
"version": "2.1.0",
|
|
4
|
+
"description": "Rules & Skills Hub for AI Coding Assistants",
|
|
5
|
+
"type": "commonjs",
|
|
6
|
+
"main": "src/index.js",
|
|
7
|
+
"bin": "src/index.js",
|
|
8
|
+
"keywords": [
|
|
9
|
+
"ai-coding-assistant",
|
|
10
|
+
"ai-agent",
|
|
11
|
+
"ai-skill",
|
|
12
|
+
"ai-rule",
|
|
13
|
+
"skill-management",
|
|
14
|
+
"cursor",
|
|
15
|
+
"claude-code",
|
|
16
|
+
"copilot",
|
|
17
|
+
"codex",
|
|
18
|
+
"antigravity",
|
|
19
|
+
"openclaw"
|
|
20
|
+
],
|
|
21
|
+
"homepage": "https://github.com/MosslandOpenDevs/heymark#readme",
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/MosslandOpenDevs/heymark/issues",
|
|
24
|
+
"email": "yena@moss.land"
|
|
25
|
+
},
|
|
26
|
+
"license": "MIT",
|
|
27
|
+
"author": {
|
|
28
|
+
"name": "i-2na",
|
|
29
|
+
"email": "yena@moss.land",
|
|
30
|
+
"url": "https://github.com/i2na"
|
|
31
|
+
},
|
|
32
|
+
"contributors": [
|
|
33
|
+
{
|
|
34
|
+
"name": "i-2na",
|
|
35
|
+
"email": "yena@moss.land",
|
|
36
|
+
"url": "https://github.com/i2na"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "yezzero",
|
|
40
|
+
"email": "yeyeonggim06@gmail.com",
|
|
41
|
+
"url": "https://github.com/yezzero"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"engines": {
|
|
45
|
+
"node": ">=14.0.0"
|
|
46
|
+
},
|
|
47
|
+
"files": [
|
|
48
|
+
"src/"
|
|
49
|
+
],
|
|
50
|
+
"repository": {
|
|
51
|
+
"type": "git",
|
|
52
|
+
"url": "git+https://github.com/MosslandOpenDevs/heymark.git"
|
|
53
|
+
},
|
|
54
|
+
"publishConfig": {
|
|
55
|
+
"access": "public"
|
|
56
|
+
}
|
|
57
|
+
}
|