thachvd-kit 1.0.17 → 1.0.18
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/.agent/agents/frontend-specialist.md +2 -2
- package/.agent/agents/mobile-developer.md +4 -4
- package/.agent/docs/architecture.md +22 -22
- package/.agent/docs/conventions.md +21 -21
- package/.agent/docs/project.md +40 -40
- package/.agent/docs/tooling.md +123 -0
- package/.agent/docs/workflow.md +28 -17
- package/.agent/rules/GEMINI.md +45 -45
- package/.agent/skills/desktop-design/SKILL.md +25 -25
- package/.agent/skills/project-onboarding/SKILL.md +42 -42
- package/.agent/skills/react-frontend/SKILL.md +25 -25
- package/LICENSE +21 -21
- package/README.md +86 -55
- package/agents/frontend-specialist.md +2 -2
- package/agents/mobile-developer.md +4 -4
- package/bin/cli.js +556 -250
- package/kit/PROMPT_RECIPE.md +30 -30
- package/kit/README.md +29 -29
- package/package.json +1 -1
- package/rules/GEMINI.md +45 -45
- package/skills/desktop-design/SKILL.md +25 -25
- package/skills/project-onboarding/SKILL.md +42 -42
- package/skills/react-frontend/SKILL.md +25 -25
|
@@ -3,7 +3,7 @@ name: frontend-specialist
|
|
|
3
3
|
description: Senior Frontend Architect who builds maintainable React/Next.js systems with performance-first mindset. Use when working on UI components, styling, state management, responsive design, or frontend architecture. Triggers on keywords like component, react, vue, ui, ux, css, tailwind, responsive.
|
|
4
4
|
tools: Read, Grep, Glob, Bash, Edit, Write
|
|
5
5
|
model: inherit
|
|
6
|
-
skills: clean-code, react-frontend, nextjs-react-expert, web-design-guidelines, tailwind-patterns, frontend-design, lint-and-validate
|
|
6
|
+
skills: clean-code, react-frontend, nextjs-react-expert, web-design-guidelines, tailwind-patterns, frontend-design, lint-and-validate
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# Senior Frontend Architect
|
|
@@ -575,7 +575,7 @@ After editing any file:
|
|
|
575
575
|
|
|
576
576
|
---
|
|
577
577
|
|
|
578
|
-
> **Note:** This agent loads relevant skills (`react-frontend`, `nextjs-react-expert`, etc.) for detailed guidance. Apply behavioral principles from those skills rather than copying patterns.
|
|
578
|
+
> **Note:** This agent loads relevant skills (`react-frontend`, `nextjs-react-expert`, etc.) for detailed guidance. Apply behavioral principles from those skills rather than copying patterns.
|
|
579
579
|
|
|
580
580
|
---
|
|
581
581
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: mobile-developer
|
|
3
|
-
description: Expert in React Native, Flutter, and Tauri-style app development. Use for cross-platform mobile or desktop apps, native features, and platform-specific UI patterns. Triggers on mobile, desktop, tauri, react native, flutter, ios, android, app store, expo.
|
|
2
|
+
name: mobile-developer
|
|
3
|
+
description: Expert in React Native, Flutter, and Tauri-style app development. Use for cross-platform mobile or desktop apps, native features, and platform-specific UI patterns. Triggers on mobile, desktop, tauri, react native, flutter, ios, android, app store, expo.
|
|
4
4
|
tools: Read, Grep, Glob, Bash, Edit, Write
|
|
5
5
|
model: inherit
|
|
6
|
-
skills: clean-code, mobile-design, desktop-design
|
|
6
|
+
skills: clean-code, mobile-design, desktop-design
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# Mobile Developer
|
|
10
10
|
|
|
11
|
-
Expert app developer specializing in React Native, Flutter, and Tauri-style cross-platform development.
|
|
11
|
+
Expert app developer specializing in React Native, Flutter, and Tauri-style cross-platform development.
|
|
12
12
|
|
|
13
13
|
## Your Philosophy
|
|
14
14
|
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
# Architecture Notes
|
|
2
|
-
|
|
3
|
-
## Current Map
|
|
4
|
-
|
|
5
|
-
- `bin/cli.js`: Main Node.js CLI. Handles scan detection, prompts, file generation, and `.agent/` copy.
|
|
6
|
-
- `.agent/`: Installed kit content copied into target projects.
|
|
7
|
-
- `agents/`, `skills/`, `workflows/`, `rules/`: Source mirrors for kit content.
|
|
8
|
-
- `kit/`: Human-facing kit docs and prompt recipes.
|
|
9
|
-
- `scripts/`: Helper scripts used by generated workflows.
|
|
10
|
-
|
|
11
|
-
## Output Model
|
|
12
|
-
|
|
13
|
-
`thachvd-kit init` creates thin root entry files and puts project-specific knowledge in `.agent/docs/`:
|
|
14
|
-
|
|
15
|
-
- `AGENTS.md`: shared instructions for Codex, Antigravity, and Claude Code.
|
|
16
|
-
- `CLAUDE.md`: imports `AGENTS.md` for Claude Code.
|
|
17
|
-
- `GEMINI.md`: Antigravity entry that points to `AGENTS.md`.
|
|
18
|
-
- `.agent/docs/*.md`: stack, architecture, conventions, and workflow.
|
|
19
|
-
|
|
20
|
-
## Maintenance Rule
|
|
21
|
-
|
|
22
|
-
Keep root entry files short. Add project-specific details to `.agent/docs/*` and reusable behavior to `.agent/skills/*` or `.agent/workflows/*`.
|
|
1
|
+
# Architecture Notes
|
|
2
|
+
|
|
3
|
+
## Current Map
|
|
4
|
+
|
|
5
|
+
- `bin/cli.js`: Main Node.js CLI. Handles scan detection, prompts, file generation, and `.agent/` copy.
|
|
6
|
+
- `.agent/`: Installed kit content copied into target projects.
|
|
7
|
+
- `agents/`, `skills/`, `workflows/`, `rules/`: Source mirrors for kit content.
|
|
8
|
+
- `kit/`: Human-facing kit docs and prompt recipes.
|
|
9
|
+
- `scripts/`: Helper scripts used by generated workflows.
|
|
10
|
+
|
|
11
|
+
## Output Model
|
|
12
|
+
|
|
13
|
+
`thachvd-kit init` creates thin root entry files and puts project-specific knowledge in `.agent/docs/`:
|
|
14
|
+
|
|
15
|
+
- `AGENTS.md`: shared instructions for Codex, Antigravity, and Claude Code.
|
|
16
|
+
- `CLAUDE.md`: imports `AGENTS.md` for Claude Code.
|
|
17
|
+
- `GEMINI.md`: Antigravity entry that points to `AGENTS.md`.
|
|
18
|
+
- `.agent/docs/*.md`: stack, architecture, conventions, and workflow.
|
|
19
|
+
|
|
20
|
+
## Maintenance Rule
|
|
21
|
+
|
|
22
|
+
Keep root entry files short. Add project-specific details to `.agent/docs/*` and reusable behavior to `.agent/skills/*` or `.agent/workflows/*`.
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
# Coding Conventions
|
|
2
|
-
|
|
3
|
-
## JavaScript CLI
|
|
4
|
-
|
|
5
|
-
- Keep CLI behavior in `bin/cli.js` unless a helper becomes clearly reusable.
|
|
6
|
-
- Prefer simple filesystem APIs from Node.js standard library.
|
|
7
|
-
- Keep generated Markdown ASCII-only unless the target file already requires non-ASCII.
|
|
8
|
-
- Avoid adding dependencies for small formatting or path operations.
|
|
9
|
-
|
|
10
|
-
## Docs And Rules
|
|
11
|
-
|
|
12
|
-
- Root `AGENTS.md`, `CLAUDE.md`, and `GEMINI.md` should stay concise.
|
|
13
|
-
- Put scan-specific or project-specific detail in `.agent/docs/`.
|
|
14
|
-
- Keep `.agent/rules/GEMINI.md` and `rules/GEMINI.md` aligned.
|
|
15
|
-
- Keep mirrored source folders and `.agent/` content aligned when changing kit assets.
|
|
16
|
-
|
|
17
|
-
## Verification
|
|
18
|
-
|
|
19
|
-
- Syntax-check `bin/cli.js` after edits.
|
|
20
|
-
- Run `npm test`.
|
|
21
|
-
- Run `npm pack --dry-run` for package output changes.
|
|
1
|
+
# Coding Conventions
|
|
2
|
+
|
|
3
|
+
## JavaScript CLI
|
|
4
|
+
|
|
5
|
+
- Keep CLI behavior in `bin/cli.js` unless a helper becomes clearly reusable.
|
|
6
|
+
- Prefer simple filesystem APIs from Node.js standard library.
|
|
7
|
+
- Keep generated Markdown ASCII-only unless the target file already requires non-ASCII.
|
|
8
|
+
- Avoid adding dependencies for small formatting or path operations.
|
|
9
|
+
|
|
10
|
+
## Docs And Rules
|
|
11
|
+
|
|
12
|
+
- Root `AGENTS.md`, `CLAUDE.md`, and `GEMINI.md` should stay concise.
|
|
13
|
+
- Put scan-specific or project-specific detail in `.agent/docs/`.
|
|
14
|
+
- Keep `.agent/rules/GEMINI.md` and `rules/GEMINI.md` aligned.
|
|
15
|
+
- Keep mirrored source folders and `.agent/` content aligned when changing kit assets.
|
|
16
|
+
|
|
17
|
+
## Verification
|
|
18
|
+
|
|
19
|
+
- Syntax-check `bin/cli.js` after edits.
|
|
20
|
+
- Run `npm test`.
|
|
21
|
+
- Run `npm pack --dry-run` for package output changes.
|
package/.agent/docs/project.md
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
# Project Rules
|
|
2
|
-
|
|
3
|
-
Generated by thachvd-kit.
|
|
4
|
-
|
|
5
|
-
## Summary
|
|
6
|
-
|
|
7
|
-
- Name: thachvd-kit
|
|
8
|
-
- Description: Project rules bootstrap kit for Codex, Antigravity, and Claude Code.
|
|
9
|
-
- Type: CLI package
|
|
10
|
-
- App root: `.`
|
|
11
|
-
|
|
12
|
-
## Stack
|
|
13
|
-
|
|
14
|
-
- Language: JavaScript
|
|
15
|
-
- Runtime: Node.js
|
|
16
|
-
- Package manager: npm
|
|
17
|
-
- CLI entry: `bin/cli.js`
|
|
18
|
-
- Published package files: `.agent`, `agents`, `bin`, `kit`, `rules`, `scripts`, `skills`, `workflows`, `README.md`, `LICENSE`
|
|
19
|
-
|
|
20
|
-
## Commands
|
|
21
|
-
|
|
22
|
-
- Install: `npm install`
|
|
23
|
-
- Test: `npm test`
|
|
24
|
-
- Package dry run: `npm pack --dry-run`
|
|
25
|
-
- Publish: `npm publish`
|
|
26
|
-
|
|
27
|
-
## Agent Routing
|
|
28
|
-
|
|
29
|
-
| Task Type | Agent | Primary Skills |
|
|
30
|
-
|-----------|-------|----------------|
|
|
31
|
-
| CLI behavior | `backend-specialist` | `nodejs-best-practices`, `clean-code` |
|
|
32
|
-
| Docs/rules | `documentation-writer` | `documentation-templates` |
|
|
33
|
-
| Workflow design | `project-planner` | `plan-writing`, `executing-plans` |
|
|
34
|
-
| Security/release | `security-auditor` / `devops-engineer` | `vulnerability-scanner`, `deployment-procedures` |
|
|
35
|
-
|
|
36
|
-
## Verification
|
|
37
|
-
|
|
38
|
-
- Run `node --check bin/cli.js` after CLI edits.
|
|
39
|
-
- Run `npm test` before claiming code changes are complete.
|
|
40
|
-
- Run `npm pack --dry-run` before release-oriented changes.
|
|
1
|
+
# Project Rules
|
|
2
|
+
|
|
3
|
+
Generated by thachvd-kit.
|
|
4
|
+
|
|
5
|
+
## Summary
|
|
6
|
+
|
|
7
|
+
- Name: thachvd-kit
|
|
8
|
+
- Description: Project rules bootstrap kit for Codex, Antigravity, and Claude Code.
|
|
9
|
+
- Type: CLI package
|
|
10
|
+
- App root: `.`
|
|
11
|
+
|
|
12
|
+
## Stack
|
|
13
|
+
|
|
14
|
+
- Language: JavaScript
|
|
15
|
+
- Runtime: Node.js
|
|
16
|
+
- Package manager: npm
|
|
17
|
+
- CLI entry: `bin/cli.js`
|
|
18
|
+
- Published package files: `.agent`, `agents`, `bin`, `kit`, `rules`, `scripts`, `skills`, `workflows`, `README.md`, `LICENSE`
|
|
19
|
+
|
|
20
|
+
## Commands
|
|
21
|
+
|
|
22
|
+
- Install: `npm install`
|
|
23
|
+
- Test: `npm test`
|
|
24
|
+
- Package dry run: `npm pack --dry-run`
|
|
25
|
+
- Publish: `npm publish`
|
|
26
|
+
|
|
27
|
+
## Agent Routing
|
|
28
|
+
|
|
29
|
+
| Task Type | Agent | Primary Skills |
|
|
30
|
+
|-----------|-------|----------------|
|
|
31
|
+
| CLI behavior | `backend-specialist` | `nodejs-best-practices`, `clean-code` |
|
|
32
|
+
| Docs/rules | `documentation-writer` | `documentation-templates` |
|
|
33
|
+
| Workflow design | `project-planner` | `plan-writing`, `executing-plans` |
|
|
34
|
+
| Security/release | `security-auditor` / `devops-engineer` | `vulnerability-scanner`, `deployment-procedures` |
|
|
35
|
+
|
|
36
|
+
## Verification
|
|
37
|
+
|
|
38
|
+
- Run `node --check bin/cli.js` after CLI edits.
|
|
39
|
+
- Run `npm test` before claiming code changes are complete.
|
|
40
|
+
- Run `npm pack --dry-run` before release-oriented changes.
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# Optional Tooling
|
|
2
|
+
|
|
3
|
+
This kit keeps tool setup explicit. Do not assume these tools are available until you verify them in the current environment.
|
|
4
|
+
|
|
5
|
+
## Playwright
|
|
6
|
+
|
|
7
|
+
Use Playwright for browser and UI verification when a task touches web behavior.
|
|
8
|
+
|
|
9
|
+
- Check availability: `npx playwright --version`
|
|
10
|
+
- Install browsers: `npx playwright install`
|
|
11
|
+
- Codex MCP CLI setup: `codex mcp add playwright -- npx -y @playwright/mcp`
|
|
12
|
+
- Auto setup: `thachvd-kit init`
|
|
13
|
+
- Kit helper: `python .agent/skills/webapp-testing/scripts/playwright_runner.py <url> --screenshot`
|
|
14
|
+
|
|
15
|
+
If the project already has Playwright configured, prefer the project's existing scripts.
|
|
16
|
+
|
|
17
|
+
Codex `config.toml` example:
|
|
18
|
+
|
|
19
|
+
```toml
|
|
20
|
+
[mcp_servers.context7]
|
|
21
|
+
command = "npx"
|
|
22
|
+
args = ["-y", "@upstash/context7-mcp"]
|
|
23
|
+
startup_timeout_sec = 20
|
|
24
|
+
tool_timeout_sec = 120
|
|
25
|
+
|
|
26
|
+
[mcp_servers.playwright]
|
|
27
|
+
command = "npx"
|
|
28
|
+
args = ["-y", "@playwright/mcp"]
|
|
29
|
+
startup_timeout_sec = 20
|
|
30
|
+
tool_timeout_sec = 120
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Codegraph
|
|
34
|
+
|
|
35
|
+
Use codegraph for codebase exploration when the environment exposes it. The index is local state and should not be committed.
|
|
36
|
+
|
|
37
|
+
- Check for an index: look for `.codegraph/`
|
|
38
|
+
- Check CLI availability: `codegraph --help`
|
|
39
|
+
- Install CLI if needed: `npm install -g @colbymchenry/codegraph`
|
|
40
|
+
- Codex MCP CLI setup: `codex mcp add codegraph -- codegraph serve --mcp`
|
|
41
|
+
- Auto setup: `thachvd-kit init`
|
|
42
|
+
- If your Codex environment provides the codegraph CLI, run its project indexing step from the repository root.
|
|
43
|
+
- Keep `.codegraph/` ignored in git.
|
|
44
|
+
|
|
45
|
+
Codex `config.toml` example:
|
|
46
|
+
|
|
47
|
+
```toml
|
|
48
|
+
[mcp_servers.codegraph]
|
|
49
|
+
command = "codegraph"
|
|
50
|
+
args = ["serve", "--mcp"]
|
|
51
|
+
startup_timeout_sec = 20
|
|
52
|
+
tool_timeout_sec = 120
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Codex reads MCP servers from `~/.codex/config.toml` by default. For repo-local setup, use `.codex/config.toml`; Codex loads project config only for trusted projects.
|
|
56
|
+
|
|
57
|
+
Gemini CLI / Antigravity `mcp_config.json` example:
|
|
58
|
+
|
|
59
|
+
```json
|
|
60
|
+
{
|
|
61
|
+
"mcpServers": {
|
|
62
|
+
"codegraph": {
|
|
63
|
+
"command": "codegraph",
|
|
64
|
+
"args": ["serve", "--mcp"]
|
|
65
|
+
},
|
|
66
|
+
"context7": {
|
|
67
|
+
"command": "npx",
|
|
68
|
+
"args": ["-y", "@upstash/context7-mcp"]
|
|
69
|
+
},
|
|
70
|
+
"playwright": {
|
|
71
|
+
"command": "npx",
|
|
72
|
+
"args": ["-y", "@playwright/mcp"]
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Common local paths:
|
|
79
|
+
|
|
80
|
+
- Gemini CLI: `~/.gemini/config/mcp_config.json`
|
|
81
|
+
- Antigravity IDE: `~/.gemini/antigravity-ide/mcp_config.json`
|
|
82
|
+
- Older Antigravity setups may use `~/.gemini/antigravity/mcp_config.json`
|
|
83
|
+
|
|
84
|
+
Claude Code user config example:
|
|
85
|
+
|
|
86
|
+
```json
|
|
87
|
+
{
|
|
88
|
+
"mcpServers": {
|
|
89
|
+
"codegraph": {
|
|
90
|
+
"type": "stdio",
|
|
91
|
+
"command": "codegraph",
|
|
92
|
+
"args": ["serve", "--mcp"]
|
|
93
|
+
},
|
|
94
|
+
"playwright": {
|
|
95
|
+
"type": "stdio",
|
|
96
|
+
"command": "npx",
|
|
97
|
+
"args": ["-y", "@playwright/mcp"]
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Common local path:
|
|
104
|
+
|
|
105
|
+
- Claude Code: `~/.claude.json`
|
|
106
|
+
|
|
107
|
+
## Native Skill Folders
|
|
108
|
+
|
|
109
|
+
The shared kit skills live in `.agent/skills/`. Antigravity can use that folder directly, but Codex expects repo skills under `.agents/skills/` or user skills under `~/.agents/skills/`. Claude Code may require its own native skill location depending on the installed client.
|
|
110
|
+
|
|
111
|
+
- Codex repo skills: `.agents/skills/`
|
|
112
|
+
- Codex user skills: `~/.agents/skills/`
|
|
113
|
+
- Codex may also keep installed/system skills under `$CODEX_HOME/skills` such as `~/.codex/skills`; treat that as local Codex state, not a repo folder to generate or commit.
|
|
114
|
+
- Claude Code project skills commonly live under `.claude/skills/`.
|
|
115
|
+
- `thachvd-kit` copies selected native skills to `.agents/skills/` and `.claude/skills/` based on the detected stack.
|
|
116
|
+
- Keep `.agent/skills/` as the full shared source of truth committed with the repo.
|
|
117
|
+
|
|
118
|
+
Recommended candidates to copy first:
|
|
119
|
+
|
|
120
|
+
- `clean-code`
|
|
121
|
+
- `systematic-debugging`
|
|
122
|
+
- `verification-before-completion`
|
|
123
|
+
- Stack-specific skills listed in `.agent/docs/project.md`
|
package/.agent/docs/workflow.md
CHANGED
|
@@ -1,24 +1,35 @@
|
|
|
1
|
-
# Agent Workflow
|
|
2
|
-
|
|
3
|
-
## Before Every Task
|
|
4
|
-
|
|
1
|
+
# Agent Workflow
|
|
2
|
+
|
|
3
|
+
## Before Every Task
|
|
4
|
+
|
|
5
5
|
1. Read `AGENTS.md`.
|
|
6
6
|
2. Read `.agent/docs/project.md`.
|
|
7
7
|
3. Classify the request.
|
|
8
8
|
4. Load only the relevant agent, skill, or workflow docs.
|
|
9
9
|
|
|
10
|
-
##
|
|
10
|
+
## Skill Selection
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
- Prefer native skill discovery when the client exposes it.
|
|
13
|
+
- Codex repo skills live in `.agents/skills`.
|
|
14
|
+
- Claude Code project skills live in `.claude/skills`.
|
|
15
|
+
- Shared fallback skills live in `.agent/skills`.
|
|
16
|
+
- Do not load skill bodies by default.
|
|
17
|
+
- Load a skill when the user mentions it, the task clearly matches its `SKILL.md` description, or `.agent/docs/project.md` routes the task to it.
|
|
18
|
+
- Use explicit skill names in prompts for predictable behavior, for example `$webapp-testing` or `$clean-code`.
|
|
19
|
+
- Run `thachvd-kit --help` to see common workflow and skill recommendations.
|
|
18
20
|
|
|
19
|
-
##
|
|
20
|
-
|
|
21
|
-
1.
|
|
22
|
-
2.
|
|
23
|
-
3.
|
|
24
|
-
4.
|
|
21
|
+
## Implementation Flow
|
|
22
|
+
|
|
23
|
+
1. State assumptions and success criteria when the task is not trivial.
|
|
24
|
+
2. Inspect dependent files before editing.
|
|
25
|
+
3. Make the smallest coherent change.
|
|
26
|
+
4. Add or update focused tests when behavior changes.
|
|
27
|
+
5. Run verification.
|
|
28
|
+
6. Summarize changed files and verification evidence.
|
|
29
|
+
|
|
30
|
+
## Release Flow
|
|
31
|
+
|
|
32
|
+
1. Update package metadata when changing publish behavior.
|
|
33
|
+
2. Run `npm test`.
|
|
34
|
+
3. Run `npm pack --dry-run`.
|
|
35
|
+
4. Review tarball contents before publish.
|
package/.agent/rules/GEMINI.md
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
---
|
|
2
|
-
trigger: always_on
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# GEMINI.md
|
|
6
|
-
|
|
7
|
-
Antigravity-compatible entry rules for thachvd-kit projects.
|
|
8
|
-
|
|
9
|
-
## Startup
|
|
10
|
-
|
|
11
|
-
1. Read `AGENTS.md` at the project root.
|
|
12
|
-
2. Read `.agent/docs/project.md` for stack, commands, and routing.
|
|
13
|
-
3. Read `.agent/docs/workflow.md` before editing.
|
|
14
|
-
4. Read `.agent/docs/architecture.md` and `.agent/docs/conventions.md` before planning non-trivial code changes.
|
|
15
|
-
5. If any `.agent/docs/*.md` file contains `TODO: refine`, update that doc from the real code before product code changes.
|
|
16
|
-
|
|
17
|
-
## Routing
|
|
18
|
-
|
|
19
|
-
- Frontend/UI: `.agent/agents/frontend-specialist.md`
|
|
20
|
-
- Backend/API: `.agent/agents/backend-specialist.md`
|
|
21
|
-
- Database/schema: `.agent/agents/database-architect.md`
|
|
22
|
-
- Mobile/desktop: `.agent/agents/mobile-developer.md`
|
|
23
|
-
- DevOps/CI/deploy: `.agent/agents/devops-engineer.md`
|
|
24
|
-
- Debug/RCA: `.agent/agents/debugger.md`
|
|
25
|
-
- Security: `.agent/agents/security-auditor.md`
|
|
26
|
-
- Multi-domain: `.agent/agents/orchestrator.md`
|
|
27
|
-
|
|
28
|
-
Load only the agent, skill, or workflow files relevant to the current task.
|
|
29
|
-
|
|
30
|
-
## Execution
|
|
31
|
-
|
|
32
|
-
- Questions and analysis: answer directly; do not edit code.
|
|
33
|
-
- Simple fix: inspect dependencies, make the smallest change, verify.
|
|
34
|
-
- Feature or refactor: state assumptions, define success criteria, plan, implement, verify.
|
|
35
|
-
- UI work: use relevant frontend design skills before editing.
|
|
36
|
-
- Security or deploy work: run the matching checklist before claiming done.
|
|
37
|
-
|
|
38
|
-
## Standards
|
|
39
|
-
|
|
40
|
-
- Respond in the user's language.
|
|
41
|
-
- Keep code, identifiers, and code comments in English.
|
|
42
|
-
- Prefer existing project patterns over new abstractions.
|
|
43
|
-
- Keep changes surgical.
|
|
44
|
-
- Tests or equivalent verification are mandatory.
|
|
45
|
-
- Update `.agent/docs/*` when stack, architecture, workflow, or conventions change.
|
|
1
|
+
---
|
|
2
|
+
trigger: always_on
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# GEMINI.md
|
|
6
|
+
|
|
7
|
+
Antigravity-compatible entry rules for thachvd-kit projects.
|
|
8
|
+
|
|
9
|
+
## Startup
|
|
10
|
+
|
|
11
|
+
1. Read `AGENTS.md` at the project root.
|
|
12
|
+
2. Read `.agent/docs/project.md` for stack, commands, and routing.
|
|
13
|
+
3. Read `.agent/docs/workflow.md` before editing.
|
|
14
|
+
4. Read `.agent/docs/architecture.md` and `.agent/docs/conventions.md` before planning non-trivial code changes.
|
|
15
|
+
5. If any `.agent/docs/*.md` file contains `TODO: refine`, update that doc from the real code before product code changes.
|
|
16
|
+
|
|
17
|
+
## Routing
|
|
18
|
+
|
|
19
|
+
- Frontend/UI: `.agent/agents/frontend-specialist.md`
|
|
20
|
+
- Backend/API: `.agent/agents/backend-specialist.md`
|
|
21
|
+
- Database/schema: `.agent/agents/database-architect.md`
|
|
22
|
+
- Mobile/desktop: `.agent/agents/mobile-developer.md`
|
|
23
|
+
- DevOps/CI/deploy: `.agent/agents/devops-engineer.md`
|
|
24
|
+
- Debug/RCA: `.agent/agents/debugger.md`
|
|
25
|
+
- Security: `.agent/agents/security-auditor.md`
|
|
26
|
+
- Multi-domain: `.agent/agents/orchestrator.md`
|
|
27
|
+
|
|
28
|
+
Load only the agent, skill, or workflow files relevant to the current task.
|
|
29
|
+
|
|
30
|
+
## Execution
|
|
31
|
+
|
|
32
|
+
- Questions and analysis: answer directly; do not edit code.
|
|
33
|
+
- Simple fix: inspect dependencies, make the smallest change, verify.
|
|
34
|
+
- Feature or refactor: state assumptions, define success criteria, plan, implement, verify.
|
|
35
|
+
- UI work: use relevant frontend design skills before editing.
|
|
36
|
+
- Security or deploy work: run the matching checklist before claiming done.
|
|
37
|
+
|
|
38
|
+
## Standards
|
|
39
|
+
|
|
40
|
+
- Respond in the user's language.
|
|
41
|
+
- Keep code, identifiers, and code comments in English.
|
|
42
|
+
- Prefer existing project patterns over new abstractions.
|
|
43
|
+
- Keep changes surgical.
|
|
44
|
+
- Tests or equivalent verification are mandatory.
|
|
45
|
+
- Update `.agent/docs/*` when stack, architecture, workflow, or conventions change.
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: desktop-design
|
|
3
|
-
description: Desktop and cross-platform app design guidance for Tauri and similar desktop shells. Use when building desktop-first interfaces, windowed workflows, keyboard-heavy UX, or cross-platform desktop UI behavior.
|
|
4
|
-
allowed-tools: Read, Write, Edit, Glob, Grep, Bash
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Desktop Design
|
|
8
|
-
|
|
9
|
-
This skill covers desktop-first product thinking where `mobile-design` is the wrong default.
|
|
10
|
-
|
|
11
|
-
Use it for Tauri and other desktop-oriented apps with window management, keyboard shortcuts, dense layouts, or multi-panel workflows.
|
|
12
|
-
|
|
13
|
-
## Guidance
|
|
14
|
-
|
|
15
|
-
- Design for pointer + keyboard, not touch-first.
|
|
16
|
-
- Use information density deliberately; desktop screens can support richer sidebars and multi-column layouts.
|
|
17
|
-
- Respect platform conventions for menus, shortcuts, dialogs, file pickers, and drag/drop.
|
|
18
|
-
- Assume resizing, multiple windows, and long-running sessions are normal.
|
|
19
|
-
- Pair with `rust-pro` for Tauri backend/native concerns and `frontend-design` for UI execution.
|
|
20
|
-
|
|
21
|
-
## Related Skills
|
|
22
|
-
|
|
23
|
-
- `mobile-design` for touch-first mobile products
|
|
24
|
-
- `frontend-design` for visual and interaction design
|
|
25
|
-
- `rust-pro` for Rust and Tauri implementation details
|
|
1
|
+
---
|
|
2
|
+
name: desktop-design
|
|
3
|
+
description: Desktop and cross-platform app design guidance for Tauri and similar desktop shells. Use when building desktop-first interfaces, windowed workflows, keyboard-heavy UX, or cross-platform desktop UI behavior.
|
|
4
|
+
allowed-tools: Read, Write, Edit, Glob, Grep, Bash
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Desktop Design
|
|
8
|
+
|
|
9
|
+
This skill covers desktop-first product thinking where `mobile-design` is the wrong default.
|
|
10
|
+
|
|
11
|
+
Use it for Tauri and other desktop-oriented apps with window management, keyboard shortcuts, dense layouts, or multi-panel workflows.
|
|
12
|
+
|
|
13
|
+
## Guidance
|
|
14
|
+
|
|
15
|
+
- Design for pointer + keyboard, not touch-first.
|
|
16
|
+
- Use information density deliberately; desktop screens can support richer sidebars and multi-column layouts.
|
|
17
|
+
- Respect platform conventions for menus, shortcuts, dialogs, file pickers, and drag/drop.
|
|
18
|
+
- Assume resizing, multiple windows, and long-running sessions are normal.
|
|
19
|
+
- Pair with `rust-pro` for Tauri backend/native concerns and `frontend-design` for UI execution.
|
|
20
|
+
|
|
21
|
+
## Related Skills
|
|
22
|
+
|
|
23
|
+
- `mobile-design` for touch-first mobile products
|
|
24
|
+
- `frontend-design` for visual and interaction design
|
|
25
|
+
- `rust-pro` for Rust and Tauri implementation details
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: project-onboarding
|
|
3
|
-
description: Scan the repository and refine `.agent/docs/*` so all supported AI tools share accurate project rules.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Project Onboarding
|
|
7
|
-
|
|
8
|
-
Use this skill when a project has just run `thachvd-kit init`, when `.agent/docs/*` contains `TODO: refine`, or when the stack/architecture has changed.
|
|
9
|
-
|
|
10
|
-
## Goal
|
|
11
|
-
|
|
12
|
-
Create or update the shared project docs used by Codex, Antigravity, and Claude Code:
|
|
13
|
-
|
|
14
|
-
- `.agent/docs/project.md`
|
|
15
|
-
- `.agent/docs/architecture.md`
|
|
16
|
-
- `.agent/docs/conventions.md`
|
|
17
|
-
- `.agent/docs/workflow.md`
|
|
18
|
-
|
|
19
|
-
Do not create a legacy root context file.
|
|
20
|
-
|
|
21
|
-
## Process
|
|
22
|
-
|
|
23
|
-
1. Read `AGENTS.md`.
|
|
24
|
-
2. Inspect repository structure, package/build config, test config, entry points, and representative source files.
|
|
25
|
-
3. Update `.agent/docs/project.md` with stack, app root, commands, test/lint tooling, and routing.
|
|
26
|
-
4. Update `.agent/docs/architecture.md` with major directories, entry points, boundaries, and important decisions.
|
|
27
|
-
5. Update `.agent/docs/conventions.md` with real naming, formatting, API, state, styling, and testing patterns.
|
|
28
|
-
6. Update `.agent/docs/workflow.md` only when the repository needs project-specific workflow steps.
|
|
29
|
-
|
|
30
|
-
## Rules
|
|
31
|
-
|
|
32
|
-
- Keep docs concise and factual.
|
|
33
|
-
- Mark unknowns as `TODO: refine` only when the codebase does not provide evidence.
|
|
34
|
-
- Do not implement product code during onboarding.
|
|
35
|
-
- Do not overwrite unrelated user-maintained notes.
|
|
36
|
-
|
|
37
|
-
## Completion Checklist
|
|
38
|
-
|
|
39
|
-
- [ ] `.agent/docs/project.md` reflects actual stack and commands.
|
|
40
|
-
- [ ] `.agent/docs/architecture.md` maps the current codebase.
|
|
41
|
-
- [ ] `.agent/docs/conventions.md` captures observed patterns.
|
|
42
|
-
- [ ] `.agent/docs/workflow.md` has the task flow agents should follow.
|
|
1
|
+
---
|
|
2
|
+
name: project-onboarding
|
|
3
|
+
description: Scan the repository and refine `.agent/docs/*` so all supported AI tools share accurate project rules.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Project Onboarding
|
|
7
|
+
|
|
8
|
+
Use this skill when a project has just run `thachvd-kit init`, when `.agent/docs/*` contains `TODO: refine`, or when the stack/architecture has changed.
|
|
9
|
+
|
|
10
|
+
## Goal
|
|
11
|
+
|
|
12
|
+
Create or update the shared project docs used by Codex, Antigravity, and Claude Code:
|
|
13
|
+
|
|
14
|
+
- `.agent/docs/project.md`
|
|
15
|
+
- `.agent/docs/architecture.md`
|
|
16
|
+
- `.agent/docs/conventions.md`
|
|
17
|
+
- `.agent/docs/workflow.md`
|
|
18
|
+
|
|
19
|
+
Do not create a legacy root context file.
|
|
20
|
+
|
|
21
|
+
## Process
|
|
22
|
+
|
|
23
|
+
1. Read `AGENTS.md`.
|
|
24
|
+
2. Inspect repository structure, package/build config, test config, entry points, and representative source files.
|
|
25
|
+
3. Update `.agent/docs/project.md` with stack, app root, commands, test/lint tooling, and routing.
|
|
26
|
+
4. Update `.agent/docs/architecture.md` with major directories, entry points, boundaries, and important decisions.
|
|
27
|
+
5. Update `.agent/docs/conventions.md` with real naming, formatting, API, state, styling, and testing patterns.
|
|
28
|
+
6. Update `.agent/docs/workflow.md` only when the repository needs project-specific workflow steps.
|
|
29
|
+
|
|
30
|
+
## Rules
|
|
31
|
+
|
|
32
|
+
- Keep docs concise and factual.
|
|
33
|
+
- Mark unknowns as `TODO: refine` only when the codebase does not provide evidence.
|
|
34
|
+
- Do not implement product code during onboarding.
|
|
35
|
+
- Do not overwrite unrelated user-maintained notes.
|
|
36
|
+
|
|
37
|
+
## Completion Checklist
|
|
38
|
+
|
|
39
|
+
- [ ] `.agent/docs/project.md` reflects actual stack and commands.
|
|
40
|
+
- [ ] `.agent/docs/architecture.md` maps the current codebase.
|
|
41
|
+
- [ ] `.agent/docs/conventions.md` captures observed patterns.
|
|
42
|
+
- [ ] `.agent/docs/workflow.md` has the task flow agents should follow.
|