evizi-kit 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.
- package/README.md +506 -0
- package/kits/agent/.agent/skills/claude-code-subagent-creator/SKILL.md +292 -0
- package/kits/agent/.agent/skills/claude-code-subagent-creator/references/claude-code-subagent-configuration.md +158 -0
- package/kits/agent/.agent/skills/claude-code-subagent-creator/templates/subagent-profile.template.md +26 -0
- package/kits/agent/.agent/skills/skill-creator/LICENSE.txt +202 -0
- package/kits/agent/.agent/skills/skill-creator/SKILL.md +485 -0
- package/kits/agent/.agent/skills/skill-creator/agents/analyzer.md +274 -0
- package/kits/agent/.agent/skills/skill-creator/agents/comparator.md +202 -0
- package/kits/agent/.agent/skills/skill-creator/agents/grader.md +223 -0
- package/kits/agent/.agent/skills/skill-creator/assets/eval_review.html +146 -0
- package/kits/agent/.agent/skills/skill-creator/eval-viewer/generate_review.py +471 -0
- package/kits/agent/.agent/skills/skill-creator/eval-viewer/viewer.html +1325 -0
- package/kits/agent/.agent/skills/skill-creator/references/schemas.md +430 -0
- package/kits/agent/.agent/skills/skill-creator/scripts/__init__.py +0 -0
- package/kits/agent/.agent/skills/skill-creator/scripts/aggregate_benchmark.py +401 -0
- package/kits/agent/.agent/skills/skill-creator/scripts/generate_report.py +326 -0
- package/kits/agent/.agent/skills/skill-creator/scripts/improve_description.py +247 -0
- package/kits/agent/.agent/skills/skill-creator/scripts/package_skill.py +136 -0
- package/kits/agent/.agent/skills/skill-creator/scripts/quick_validate.py +103 -0
- package/kits/agent/.agent/skills/skill-creator/scripts/run_eval.py +310 -0
- package/kits/agent/.agent/skills/skill-creator/scripts/run_loop.py +328 -0
- package/kits/agent/.agent/skills/skill-creator/scripts/utils.py +47 -0
- package/kits/agent/manifest.json +10 -0
- package/kits/claude/.claude/agents/code-pusher.md +46 -0
- package/kits/claude/.claude/agents/feature-document-updater.md +37 -0
- package/kits/claude/.claude/agents/self-reviewer.md +32 -0
- package/kits/claude/.claude/agents/web-auto-agentic-workflow-initializer.md +42 -0
- package/kits/claude/.claude/agents/web-auto-assisted-fix-and-runner.md +36 -0
- package/kits/claude/.claude/agents/web-auto-chrome-devtools-selector-extractor.md +36 -0
- package/kits/claude/.claude/agents/web-auto-coder.md +33 -0
- package/kits/claude/.claude/agents/web-auto-fe-selector-extractor.md +31 -0
- package/kits/claude/.claude/agents/web-auto-fix-and-runner.md +35 -0
- package/kits/claude/.claude/agents/web-auto-lessons-learned-extractor.md +34 -0
- package/kits/claude/.claude/agents/web-auto-playwright-mcp-selector-extractor.md +37 -0
- package/kits/claude/.claude/agents/web-auto-source-instructions-updater.md +43 -0
- package/kits/claude/.claude/agents/web-auto-test-cases-generator.md +29 -0
- package/kits/claude/.claude/agents/web-auto-ticket-designer.md +35 -0
- package/kits/claude/.claude/agents/web-auto-ticket-playbook-planner.md +36 -0
- package/kits/claude/.claude/agents/web-auto.md +382 -0
- package/kits/claude/.claude/skills/claude-code-subagent-creator/SKILL.md +292 -0
- package/kits/claude/.claude/skills/claude-code-subagent-creator/references/claude-code-subagent-configuration.md +158 -0
- package/kits/claude/.claude/skills/claude-code-subagent-creator/templates/subagent-profile.template.md +26 -0
- package/kits/claude/.claude/skills/skill-creator/LICENSE.txt +202 -0
- package/kits/claude/.claude/skills/skill-creator/SKILL.md +485 -0
- package/kits/claude/.claude/skills/skill-creator/agents/analyzer.md +274 -0
- package/kits/claude/.claude/skills/skill-creator/agents/comparator.md +202 -0
- package/kits/claude/.claude/skills/skill-creator/agents/grader.md +223 -0
- package/kits/claude/.claude/skills/skill-creator/assets/eval_review.html +146 -0
- package/kits/claude/.claude/skills/skill-creator/eval-viewer/generate_review.py +471 -0
- package/kits/claude/.claude/skills/skill-creator/eval-viewer/viewer.html +1325 -0
- package/kits/claude/.claude/skills/skill-creator/references/schemas.md +430 -0
- package/kits/claude/.claude/skills/skill-creator/scripts/__init__.py +0 -0
- package/kits/claude/.claude/skills/skill-creator/scripts/aggregate_benchmark.py +401 -0
- package/kits/claude/.claude/skills/skill-creator/scripts/generate_report.py +326 -0
- package/kits/claude/.claude/skills/skill-creator/scripts/improve_description.py +247 -0
- package/kits/claude/.claude/skills/skill-creator/scripts/package_skill.py +136 -0
- package/kits/claude/.claude/skills/skill-creator/scripts/quick_validate.py +103 -0
- package/kits/claude/.claude/skills/skill-creator/scripts/run_eval.py +310 -0
- package/kits/claude/.claude/skills/skill-creator/scripts/run_loop.py +328 -0
- package/kits/claude/.claude/skills/skill-creator/scripts/utils.py +47 -0
- package/kits/claude/manifest.json +10 -0
- package/kits/cursor/.cursor/agents/code-pusher.agent.md +43 -0
- package/kits/cursor/.cursor/agents/feature-document-updater.agent.md +34 -0
- package/kits/cursor/.cursor/agents/self-reviewer.agent.md +29 -0
- package/kits/cursor/.cursor/agents/web-auto-agentic-workflow-initializer.agent.md +37 -0
- package/kits/cursor/.cursor/agents/web-auto-assisted-fix-and-runner.agent.md +33 -0
- package/kits/cursor/.cursor/agents/web-auto-chrome-devtools-selector-extractor.agent.md +31 -0
- package/kits/cursor/.cursor/agents/web-auto-coder.agent.md +30 -0
- package/kits/cursor/.cursor/agents/web-auto-fe-selector-extractor.agent.md +28 -0
- package/kits/cursor/.cursor/agents/web-auto-fix-and-runner.agent.md +32 -0
- package/kits/cursor/.cursor/agents/web-auto-lessons-learned-extractor.agent.md +31 -0
- package/kits/cursor/.cursor/agents/web-auto-playwright-mcp-selector-extractor.agent.md +32 -0
- package/kits/cursor/.cursor/agents/web-auto-source-instructions-updater.agent.md +40 -0
- package/kits/cursor/.cursor/agents/web-auto-test-cases-generator.agent.md +26 -0
- package/kits/cursor/.cursor/agents/web-auto-ticket-designer.agent.md +32 -0
- package/kits/cursor/.cursor/agents/web-auto-ticket-playbook-planner.agent.md +33 -0
- package/kits/cursor/.cursor/agents/web-auto.agent.md +379 -0
- package/kits/cursor/.cursor/skills/claude-code-subagent-creator/SKILL.md +292 -0
- package/kits/cursor/.cursor/skills/claude-code-subagent-creator/references/claude-code-subagent-configuration.md +158 -0
- package/kits/cursor/.cursor/skills/claude-code-subagent-creator/templates/subagent-profile.template.md +26 -0
- package/kits/cursor/.cursor/skills/skill-creator/LICENSE.txt +202 -0
- package/kits/cursor/.cursor/skills/skill-creator/SKILL.md +485 -0
- package/kits/cursor/.cursor/skills/skill-creator/agents/analyzer.md +274 -0
- package/kits/cursor/.cursor/skills/skill-creator/agents/comparator.md +202 -0
- package/kits/cursor/.cursor/skills/skill-creator/agents/grader.md +223 -0
- package/kits/cursor/.cursor/skills/skill-creator/assets/eval_review.html +146 -0
- package/kits/cursor/.cursor/skills/skill-creator/eval-viewer/generate_review.py +471 -0
- package/kits/cursor/.cursor/skills/skill-creator/eval-viewer/viewer.html +1325 -0
- package/kits/cursor/.cursor/skills/skill-creator/references/schemas.md +430 -0
- package/kits/cursor/.cursor/skills/skill-creator/scripts/__init__.py +0 -0
- package/kits/cursor/.cursor/skills/skill-creator/scripts/aggregate_benchmark.py +401 -0
- package/kits/cursor/.cursor/skills/skill-creator/scripts/generate_report.py +326 -0
- package/kits/cursor/.cursor/skills/skill-creator/scripts/improve_description.py +247 -0
- package/kits/cursor/.cursor/skills/skill-creator/scripts/package_skill.py +136 -0
- package/kits/cursor/.cursor/skills/skill-creator/scripts/quick_validate.py +103 -0
- package/kits/cursor/.cursor/skills/skill-creator/scripts/run_eval.py +310 -0
- package/kits/cursor/.cursor/skills/skill-creator/scripts/run_loop.py +328 -0
- package/kits/cursor/.cursor/skills/skill-creator/scripts/utils.py +47 -0
- package/kits/cursor/manifest.json +10 -0
- package/kits/github/.github/agents/code-pusher.agent.md +45 -0
- package/kits/github/.github/agents/feature-document-updater.agent.md +36 -0
- package/kits/github/.github/agents/self-reviewer.agent.md +31 -0
- package/kits/github/.github/agents/web-auto-agentic-workflow-initializer.agent.md +39 -0
- package/kits/github/.github/agents/web-auto-assisted-fix-and-runner.agent.md +35 -0
- package/kits/github/.github/agents/web-auto-chrome-devtools-selector-extractor.agent.md +33 -0
- package/kits/github/.github/agents/web-auto-coder.agent.md +32 -0
- package/kits/github/.github/agents/web-auto-fe-selector-extractor.agent.md +30 -0
- package/kits/github/.github/agents/web-auto-fix-and-runner.agent.md +34 -0
- package/kits/github/.github/agents/web-auto-lessons-learned-extractor.agent.md +33 -0
- package/kits/github/.github/agents/web-auto-playwright-mcp-selector-extractor.agent.md +34 -0
- package/kits/github/.github/agents/web-auto-source-instructions-updater.agent.md +42 -0
- package/kits/github/.github/agents/web-auto-test-cases-generator.agent.md +28 -0
- package/kits/github/.github/agents/web-auto-ticket-designer.agent.md +34 -0
- package/kits/github/.github/agents/web-auto-ticket-playbook-creator.agent.md +35 -0
- package/kits/github/.github/agents/web-auto.agent.md +382 -0
- package/kits/github/.github/skills/claude-code-subagent-creator/SKILL.md +310 -0
- package/kits/github/.github/skills/claude-code-subagent-creator/references/claude-code-subagent-configuration.md +158 -0
- package/kits/github/.github/skills/claude-code-subagent-creator/templates/subagent-profile.template.md +37 -0
- package/kits/github/.github/skills/skill-creator/LICENSE.txt +202 -0
- package/kits/github/.github/skills/skill-creator/SKILL.md +485 -0
- package/kits/github/.github/skills/skill-creator/agents/analyzer.md +274 -0
- package/kits/github/.github/skills/skill-creator/agents/comparator.md +202 -0
- package/kits/github/.github/skills/skill-creator/agents/grader.md +223 -0
- package/kits/github/.github/skills/skill-creator/assets/eval_review.html +146 -0
- package/kits/github/.github/skills/skill-creator/eval-viewer/generate_review.py +471 -0
- package/kits/github/.github/skills/skill-creator/eval-viewer/viewer.html +1325 -0
- package/kits/github/.github/skills/skill-creator/references/schemas.md +430 -0
- package/kits/github/.github/skills/skill-creator/scripts/__init__.py +0 -0
- package/kits/github/.github/skills/skill-creator/scripts/aggregate_benchmark.py +401 -0
- package/kits/github/.github/skills/skill-creator/scripts/generate_report.py +326 -0
- package/kits/github/.github/skills/skill-creator/scripts/improve_description.py +247 -0
- package/kits/github/.github/skills/skill-creator/scripts/package_skill.py +136 -0
- package/kits/github/.github/skills/skill-creator/scripts/quick_validate.py +103 -0
- package/kits/github/.github/skills/skill-creator/scripts/run_eval.py +310 -0
- package/kits/github/.github/skills/skill-creator/scripts/run_loop.py +328 -0
- package/kits/github/.github/skills/skill-creator/scripts/utils.py +47 -0
- package/kits/github/manifest.json +10 -0
- package/kits/shared/docs/ai-code-review.md +440 -0
- package/kits/shared/docs/increase-unit-test-coverage.md +77 -0
- package/kits/shared/docs/pr-review-agent.md +501 -0
- package/kits/shared/docs/self-review-agent.md +246 -0
- package/kits/shared/docs/web-auto-agentic-workflow.md +506 -0
- package/kits/shared/manifest.json +11 -0
- package/kits/shared/skills/fix-automation-tests/SKILL.md +280 -0
- package/kits/shared/skills/fix-automation-tests/scripts/fetch_pr_changes.py +300 -0
- package/kits/shared/skills/fix-automation-tests/templates/impact-report.template.md +42 -0
- package/kits/shared/skills/increase-unit-test-coverage/SKILL.md +117 -0
- package/kits/shared/skills/increase-unit-test-coverage/scripts/filter_low_coverage.py +447 -0
- package/kits/shared/skills/pr-review/SKILL.md +200 -0
- package/kits/shared/skills/pr-review/references/automation.md +62 -0
- package/kits/shared/skills/pr-review/references/backend.md +95 -0
- package/kits/shared/skills/pr-review/references/frontend.md +103 -0
- package/kits/shared/skills/pr-review/references/mobile.md +108 -0
- package/kits/shared/skills/pr-review/references/output-schema.md +130 -0
- package/kits/shared/skills/pr-review/scripts/post-review.py +1395 -0
- package/kits/shared/skills/push-code/SKILL.md +176 -0
- package/kits/shared/skills/self-review/SKILL.md +234 -0
- package/kits/shared/skills/self-review/evals/evals.json +23 -0
- package/kits/shared/skills/self-review/references/automation.md +62 -0
- package/kits/shared/skills/self-review/references/backend.md +95 -0
- package/kits/shared/skills/self-review/references/frontend.md +103 -0
- package/kits/shared/skills/self-review/references/mobile.md +108 -0
- package/kits/shared/skills/self-review/templates/issues.template.md +72 -0
- package/kits/shared/skills/update-feature-document/SKILL.md +156 -0
- package/kits/shared/skills/update-feature-document/templates/delta.template.yaml +58 -0
- package/kits/shared/skills/update-feature-document/templates/feature.template.md +25 -0
- package/kits/shared/skills/web-auto-assisted-fix-and-run/SKILL.md +130 -0
- package/kits/shared/skills/web-auto-assisted-fix-and-run/references/resolve-api-error.md +108 -0
- package/kits/shared/skills/web-auto-assisted-fix-and-run/references/resolve-selector.md +60 -0
- package/kits/shared/skills/web-auto-assisted-fix-and-run/templates/issues-resolution-report-append.template.md +54 -0
- package/kits/shared/skills/web-auto-chrome-devtools-mcp-extract-selectors/SKILL.md +284 -0
- package/kits/shared/skills/web-auto-coding/SKILL.md +152 -0
- package/kits/shared/skills/web-auto-extract-lessons-learned/SKILL.md +168 -0
- package/kits/shared/skills/web-auto-extract-lessons-learned/templates/lessons-learned.template.md +115 -0
- package/kits/shared/skills/web-auto-fe-extract-selectors/SKILL.md +282 -0
- package/kits/shared/skills/web-auto-fe-extract-selectors/evals/evals.json +23 -0
- package/kits/shared/skills/web-auto-fix-and-run-test/SKILL.md +183 -0
- package/kits/shared/skills/web-auto-fix-and-run-test/templates/issues-resolution-report.template.md +77 -0
- package/kits/shared/skills/web-auto-generate-best-practices/SKILL.md +123 -0
- package/kits/shared/skills/web-auto-generate-instructions/SKILL.md +200 -0
- package/kits/shared/skills/web-auto-generate-instructions/evals/evals.json +23 -0
- package/kits/shared/skills/web-auto-generate-instructions/references/analysis-guide.md +145 -0
- package/kits/shared/skills/web-auto-generate-instructions/templates/web-auto-instructions.template.md +184 -0
- package/kits/shared/skills/web-auto-generate-project-blueprint/SKILL.md +181 -0
- package/kits/shared/skills/web-auto-generate-project-blueprint/evals/evals.json +57 -0
- package/kits/shared/skills/web-auto-generate-project-blueprint/templates/web-auto-project-blueprint.template.md +161 -0
- package/kits/shared/skills/web-auto-playwright-mcp-extract-selectors/SKILL.md +293 -0
- package/kits/shared/skills/web-auto-test-cases/SKILL.md +138 -0
- package/kits/shared/skills/web-auto-test-cases/evals/evals.json +129 -0
- package/kits/shared/skills/web-auto-test-cases/templates/test-cases.template.md +53 -0
- package/kits/shared/skills/web-auto-ticket-design/SKILL.md +199 -0
- package/kits/shared/skills/web-auto-ticket-design/templates/ticket-design.template.md +138 -0
- package/kits/shared/skills/web-auto-ticket-playbook/SKILL.md +218 -0
- package/kits/shared/skills/web-auto-ticket-playbook/evals/evals.json +23 -0
- package/kits/shared/skills/web-auto-ticket-playbook/templates/ticket-playbook.template.md +148 -0
- package/kits/shared/skills/web-auto-update-source-instructions/SKILL.md +156 -0
- package/kits/shared/skills/web-auto-update-source-instructions/evals/evals.json +22 -0
- package/kits/shared/skills/workspace-ai-nav-creator/SKILL.md +168 -0
- package/kits/shared/skills/workspace-ai-nav-creator/templates/agents-md.template.md +112 -0
- package/kits/shared/skills/workspace-ai-nav-creator/templates/claude-md.template.md +86 -0
- package/package.json +16 -0
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: workspace-ai-nav-creator
|
|
3
|
+
description: Generate a comprehensive workspace AI navigation file — either AGENTS.md (GitHub Copilot / Cursor) or CLAUDE.md (Claude Code) — for any multi-repository workspace. Scans the workspace to discover repositories, AI configuration (agents, skills, CLAUDE.md), tech stacks, and project structure, then produces a structured output file that guides AI navigation, context switching, and documentation references. Use when asked to create an AGENTS.md, create a CLAUDE.md, generate workspace documentation for AI, scaffold multi-repo AI navigation, or set up AI workspace rules. Triggers on requests like "create AGENTS.md", "create CLAUDE.md", "generate AGENTS.md for this workspace", "set up AI workspace navigation", "scaffold CLAUDE.md".
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Workspace AI Navigation File Creator
|
|
7
|
+
|
|
8
|
+
Scan a workspace and generate a persistent instruction file (`AGENTS.md` for GitHub Copilot / Cursor, or `CLAUDE.md` for Claude Code) that guides the AI to:
|
|
9
|
+
- Navigate to the **correct repository** for any given task
|
|
10
|
+
- Invoke the **correct agents** for each workflow step
|
|
11
|
+
- Follow workspace-specific commands, conventions, and documentation rules
|
|
12
|
+
|
|
13
|
+
## Workflow
|
|
14
|
+
|
|
15
|
+
### Step 1: Discover Workspace Structure
|
|
16
|
+
|
|
17
|
+
Scan the workspace root to identify:
|
|
18
|
+
|
|
19
|
+
1. **Repositories** — directories containing `.git/` folders
|
|
20
|
+
2. **AI configuration** — check for:
|
|
21
|
+
- `.github/agents/` (GitHub Copilot agents)
|
|
22
|
+
- `.github/skills/` (shared skills)
|
|
23
|
+
- `.cursor/agents/` (Cursor agents)
|
|
24
|
+
- `.cursor/skills/` (shared skills)
|
|
25
|
+
- `.claude/agents/` (Claude Code subagents)
|
|
26
|
+
- `.claude/skills/` (Claude Code skills)
|
|
27
|
+
- `CLAUDE.md` (Claude Code project instructions)
|
|
28
|
+
- `AGENTS.md` (existing file to update)
|
|
29
|
+
3. **Project config** — `.documents-design/project.config.json`
|
|
30
|
+
4. **Specification docs** — `.documents-design/` folder containing ticket and feature documentation
|
|
31
|
+
5. **Package managers** — `package.json`, `pom.xml`, `build.gradle`, `Cargo.toml`, `go.mod`, `requirements.txt`, `Gemfile`, `*.csproj`, etc.
|
|
32
|
+
|
|
33
|
+
For each discovered repository, extract:
|
|
34
|
+
- **Name** — directory name
|
|
35
|
+
- **Purpose** — infer from directory contents (src code, tests, infra, docs, etc.)
|
|
36
|
+
- **Tech stack** — infer from config files, dependencies, and source files
|
|
37
|
+
- **Key directories** — `src/`, `config/`, `tests/`, etc.
|
|
38
|
+
- **Package manager** — npm/yarn/pnpm, maven, gradle, cargo, go, pip, etc.
|
|
39
|
+
- **Build/run commands** — from `package.json` scripts, `Makefile`, etc.
|
|
40
|
+
|
|
41
|
+
### Step 2: Detect AI Configuration
|
|
42
|
+
|
|
43
|
+
For each AI configuration system found in Step 1, catalog:
|
|
44
|
+
|
|
45
|
+
**GitHub Copilot agents** (`.github/agents/`):
|
|
46
|
+
- List each agent file name and its `description` frontmatter
|
|
47
|
+
|
|
48
|
+
**Cursor agents** (`.cursor/agents/`):
|
|
49
|
+
- List each agent file name and its `description` frontmatter
|
|
50
|
+
|
|
51
|
+
**Claude Code subagents** (`.claude/agents/`):
|
|
52
|
+
- List each subagent file name and its `description` frontmatter
|
|
53
|
+
|
|
54
|
+
**Skills** (`.github/skills/`, `.cursor/skills/`, `.claude/skills/`):
|
|
55
|
+
- List each skill directory name and its `description` from `SKILL.md`
|
|
56
|
+
|
|
57
|
+
**Other config**:
|
|
58
|
+
- `.documents-design/project.config.json` — platform, repo settings
|
|
59
|
+
|
|
60
|
+
If no AI configuration exists, note this and produce a minimal output file focused on repository navigation only.
|
|
61
|
+
|
|
62
|
+
### Step 2.5: Determine Target AI System
|
|
63
|
+
|
|
64
|
+
Before generating any output, determine which AI system the user is targeting:
|
|
65
|
+
|
|
66
|
+
| Trigger | Target system | Output file |
|
|
67
|
+
|---------|--------------|-------------|
|
|
68
|
+
| User says "create CLAUDE.md" or "for Claude Code" | Claude Code | `CLAUDE.md` |
|
|
69
|
+
| `.claude/agents/` or `CLAUDE.md` already exists | Claude Code | `CLAUDE.md` |
|
|
70
|
+
| User says "create AGENTS.md" or "for Copilot / Cursor" | GitHub Copilot or Cursor | `AGENTS.md` |
|
|
71
|
+
| `.github/agents/` or `.cursor/agents/` already exists | GitHub Copilot or Cursor | `AGENTS.md` |
|
|
72
|
+
| Both systems detected or ambiguous | Ask the user which file to generate | — |
|
|
73
|
+
|
|
74
|
+
Carry this decision forward into Steps 4 and 5.
|
|
75
|
+
|
|
76
|
+
### Step 3: Build Repository Classification
|
|
77
|
+
|
|
78
|
+
Create a keyword-to-repository mapping for each repo. Derive keywords from:
|
|
79
|
+
- Tech stack (e.g., React, Django, Spring Boot, Rust)
|
|
80
|
+
- Domain (e.g., frontend, backend, API, testing, infrastructure)
|
|
81
|
+
- File types (e.g., components, services, models, specs, manifests)
|
|
82
|
+
- Tools (e.g., Webpack, Docker, Terraform, Playwright)
|
|
83
|
+
|
|
84
|
+
### Step 4: Generate the Output File
|
|
85
|
+
|
|
86
|
+
**Branch on the target AI system determined in Step 2.5:**
|
|
87
|
+
|
|
88
|
+
#### Claude Code → generate `CLAUDE.md`
|
|
89
|
+
|
|
90
|
+
Use the template at [templates/claude-md.template.md](templates/claude-md.template.md).
|
|
91
|
+
|
|
92
|
+
Fill in each section with data collected in Steps 1–3. Follow these rules:
|
|
93
|
+
|
|
94
|
+
1. **Project overview** — one paragraph describing the workspace purpose and repositories.
|
|
95
|
+
2. **Repository layout** — ASCII tree (2–3 levels deep) with a short inline comment per repo.
|
|
96
|
+
3. **Build & run commands** — for each repo, list the commands to install, build, test, and run. Read from `package.json`, `Makefile`, etc.
|
|
97
|
+
4. **Code style & conventions** — infer from linter configs (`.eslintrc`, `pyproject.toml`, etc.) or note that they are project-defined.
|
|
98
|
+
5. **Subagents** — if `.claude/agents/` exists, table of subagent name + purpose (one row per file, read `description` frontmatter).
|
|
99
|
+
6. **Skills** — if `.claude/skills/` exists, table of skill name + purpose (one row per directory, read `description` from `SKILL.md`).
|
|
100
|
+
7. **Specification & documentation rules** — if `.documents-design/` exists, document the folder convention, per-ticket artifacts table, and the rule that code changes without documentation updates are incomplete.
|
|
101
|
+
8. **Working directory rules** — clarify which directory to `cd` into before running each command or making git commits.
|
|
102
|
+
|
|
103
|
+
#### GitHub Copilot / Cursor → generate `AGENTS.md`
|
|
104
|
+
|
|
105
|
+
Use the template at [templates/agents-md.template.md](templates/agents-md.template.md).
|
|
106
|
+
|
|
107
|
+
Fill in each section by substituting `{{PLACEHOLDER}}` values with the data collected in Steps 1–3. Follow these rules:
|
|
108
|
+
|
|
109
|
+
1. **Repository Structure tree** — render an ASCII tree showing the workspace layout. Include AI config directories with their contents. Show only key directories (2–3 levels deep) for each repo.
|
|
110
|
+
|
|
111
|
+
2. **Working Directory Guidelines table** — one row per task type per repository. Derive task types from the repo's tech stack and purpose.
|
|
112
|
+
|
|
113
|
+
3. **Git Operations** — include `cd` + git commands for each repo. Use the repo's conventional commit prefix (e.g., `feat:`, `test:`, `fix:`).
|
|
114
|
+
|
|
115
|
+
4. **Package Management & Commands** — for each repository, create a titled subsection (e.g., `#### Dashboard (dashboard/)`) listing all available package manager commands grouped by category (install, development, testing, code quality). Read actual scripts from `package.json` or equivalent.
|
|
116
|
+
|
|
117
|
+
5. **Specification & Documentation Rules** — if a `.documents-design/` folder exists:
|
|
118
|
+
- Document the folder convention (`.documents-design/features/{PARENT}/{CHILD}/`)
|
|
119
|
+
- Build the **Per-Ticket Artifacts** table mapping each artifact to its file path and the agent that creates it
|
|
120
|
+
- Build the **Per-Feature Artifacts** table for feature-level documents
|
|
121
|
+
- Include the AI Documentation Rule that code changes without documentation updates are incomplete
|
|
122
|
+
|
|
123
|
+
6. **Context Switching** — reference the actual documentation paths found in Step 2.
|
|
124
|
+
|
|
125
|
+
7. **Documentation Structure** — adapt based on the AI configuration detected in Step 2:
|
|
126
|
+
- Fill `{{AI_SYSTEM_DESCRIPTION}}` with a sentence describing which AI system(s) the project uses and their config paths (e.g., GitHub Copilot `.github/agents/`, Cursor `.cursor/agents/`, or both)
|
|
127
|
+
- Fill `{{AI_CONFIG_SECTIONS}}` with subsections for each detected config type:
|
|
128
|
+
- **Agents** table — one row per agent file with agent name and purpose. Use the heading that matches the system:
|
|
129
|
+
- GitHub Copilot → `### Custom Agents (.github/agents/)`
|
|
130
|
+
- Cursor → `### Agents (.cursor/agents/)`
|
|
131
|
+
- **Skills** paragraph — if `.github/skills/` or `.cursor/skills/` exists, describe that skills provide domain-specific knowledge invoked by agents
|
|
132
|
+
- If no AI configuration exists → omit the entire section
|
|
133
|
+
|
|
134
|
+
8. **Common Workflows** — generate realistic, numbered-step workflows based on the repos' purposes (e.g., feature dev → implement + test + docs + feature docs + commit). Include agent invocation chains where applicable (e.g., `@web-auto-ticket-collector` → `@web-auto-test-cases-generator` → …).
|
|
135
|
+
|
|
136
|
+
9. **Repository Identification Keywords** — use the classification from Step 3.
|
|
137
|
+
|
|
138
|
+
### Step 5: Save and Confirm
|
|
139
|
+
|
|
140
|
+
Save the generated file to the workspace root using the output filename determined in Step 2.5 (`CLAUDE.md` or `AGENTS.md`).
|
|
141
|
+
|
|
142
|
+
If the target file already exists, ask the user:
|
|
143
|
+
- **Overwrite** — replace entirely with the new version
|
|
144
|
+
- **Update** — merge new information into the existing structure
|
|
145
|
+
|
|
146
|
+
Present a summary of:
|
|
147
|
+
- Which AI system was targeted and which file was generated
|
|
148
|
+
- Repositories discovered
|
|
149
|
+
- AI configuration cataloged (agents, skills, subagents)
|
|
150
|
+
- Sections populated vs. omitted
|
|
151
|
+
|
|
152
|
+
## Important Rules
|
|
153
|
+
|
|
154
|
+
- ✅ Scan the actual workspace — never assume or fabricate repos/config
|
|
155
|
+
- ✅ Adapt all sections to what is actually found; omit sections for things that don’t exist
|
|
156
|
+
- ✅ Use relative paths from the workspace root in all references
|
|
157
|
+
- ❌ Hardcode examples that were not discovered in the workspace
|
|
158
|
+
- ❌ Guess or hallucinate — if something cannot be determined, omit it or flag it as unknown
|
|
159
|
+
|
|
160
|
+
### Uncertainty & Hallucination Prevention
|
|
161
|
+
|
|
162
|
+
The generated output file **must** include an "Uncertainty & Hallucination Prevention" section (see template) that instructs AI agents to:
|
|
163
|
+
|
|
164
|
+
1. **Never fabricate** file paths, commands, configurations, or project details that were not verified in the workspace.
|
|
165
|
+
2. **Stop and ask** the user for clarification when a task is ambiguous or the required context is missing — do not fill in gaps with assumptions.
|
|
166
|
+
3. **Say "I don't know"** when they lack sufficient information rather than guessing.
|
|
167
|
+
4. **Verify before acting** — confirm that files, directories, and commands actually exist before referencing or running them.
|
|
168
|
+
5. **Clearly distinguish** between verified facts (discovered from the workspace) and inferences (derived from conventions or patterns), labeling any inferred information explicitly.
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
# {{WORKSPACE_NAME}} Multi-Repository Workspace
|
|
2
|
+
|
|
3
|
+
{{WORKSPACE_DESCRIPTION}}
|
|
4
|
+
|
|
5
|
+
## Repository Structure
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
{{WORKSPACE_NAME}}/
|
|
9
|
+
├── AGENTS.md # This file
|
|
10
|
+
{{AI_CONFIG_TREE}}
|
|
11
|
+
{{REPO_TREE}}
|
|
12
|
+
{{SPECS_TREE}}
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## AI Navigation Rules
|
|
16
|
+
|
|
17
|
+
### Repository Detection
|
|
18
|
+
Before performing any Git operations, file modifications, or running commands, the AI must:
|
|
19
|
+
|
|
20
|
+
1. **Identify the target repository** based on the task context:
|
|
21
|
+
{{REPO_DETECTION_LIST}}
|
|
22
|
+
|
|
23
|
+
2. **Navigate to the correct repository directory**:
|
|
24
|
+
```bash
|
|
25
|
+
{{REPO_CD_EXAMPLES}}
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### Working Directory Guidelines
|
|
29
|
+
|
|
30
|
+
| Task Type | Repository | Working Directory | Examples |
|
|
31
|
+
|-----------|------------|------------------|----------|
|
|
32
|
+
{{WORKING_DIR_ROWS}}
|
|
33
|
+
|
|
34
|
+
### Git Operations
|
|
35
|
+
|
|
36
|
+
**CRITICAL**: Always `cd` to the appropriate repository before Git operations:
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
{{GIT_OPS_EXAMPLES}}
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Package Management & Commands
|
|
43
|
+
|
|
44
|
+
Each repository has its own `package.json` and dependencies.
|
|
45
|
+
|
|
46
|
+
{{PACKAGE_MGMT_SECTIONS}}
|
|
47
|
+
|
|
48
|
+
## Specification & Documentation Rules
|
|
49
|
+
|
|
50
|
+
**MANDATORY**: Every ticket implementation — whether writing code for any repository — **must** be accompanied by creating or updating the relevant documents in `.documents-design/`.
|
|
51
|
+
|
|
52
|
+
### `.documents-design/` Folder Convention
|
|
53
|
+
|
|
54
|
+
All ticket and feature documents live under:
|
|
55
|
+
```
|
|
56
|
+
.documents-design/features/{PARENT_FEATURE}/{CHILD_FEATURE}/
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### Per-Ticket Artifacts
|
|
60
|
+
|
|
61
|
+
| Artifact | File | Created By |
|
|
62
|
+
|----------|------|------------|
|
|
63
|
+
{{PER_TICKET_ARTIFACTS_ROWS}}
|
|
64
|
+
|
|
65
|
+
### Per-Feature Artifacts
|
|
66
|
+
|
|
67
|
+
| Artifact | File | Created/Updated By |
|
|
68
|
+
|----------|------|--------------------|
|
|
69
|
+
{{PER_FEATURE_ARTIFACTS_ROWS}}
|
|
70
|
+
|
|
71
|
+
### AI Documentation Rule
|
|
72
|
+
|
|
73
|
+
> **When implementing any ticket, the AI must always create or update the corresponding `.documents-design` documents alongside the code changes. Code changes without documentation updates are considered incomplete.**
|
|
74
|
+
|
|
75
|
+
## Uncertainty & Hallucination Prevention
|
|
76
|
+
|
|
77
|
+
AI agents operating in this workspace **must** follow these rules to avoid inaccurate outputs:
|
|
78
|
+
|
|
79
|
+
1. **Do not guess** — If you are unsure about a file path, command, configuration value, or project detail, **stop and ask** the user instead of making an assumption.
|
|
80
|
+
2. **Do not fabricate** — Never invent file names, directory structures, API endpoints, dependencies, or commands that you have not verified exist in the workspace.
|
|
81
|
+
3. **Say "I don't know"** — When you lack the information needed to complete a task, explicitly state what is missing rather than filling gaps with plausible-sounding but unverified content.
|
|
82
|
+
4. **Verify before acting** — Before running a command, referencing a file, or modifying configuration, confirm that the target actually exists (e.g., use `ls`, `find`, or file-search tools).
|
|
83
|
+
5. **Label inferences** — If you derive something from conventions or patterns rather than direct workspace evidence, clearly mark it as an inference (e.g., _"Based on the project structure, this likely…"_).
|
|
84
|
+
6. **Prefer omission over invention** — It is better to leave a section incomplete and flag it for the user than to populate it with hallucinated details.
|
|
85
|
+
|
|
86
|
+
## Context Switching
|
|
87
|
+
|
|
88
|
+
When switching between repositories during a conversation:
|
|
89
|
+
|
|
90
|
+
1. **Explicitly state the repository change**:
|
|
91
|
+
{{CONTEXT_SWITCH_EXAMPLES}}
|
|
92
|
+
|
|
93
|
+
2. **Use the correct working directory** for all subsequent operations
|
|
94
|
+
|
|
95
|
+
3. **Reference the appropriate documentation**:
|
|
96
|
+
{{DOC_REFERENCES}}
|
|
97
|
+
|
|
98
|
+
## Documentation Structure
|
|
99
|
+
|
|
100
|
+
{{AI_SYSTEM_DESCRIPTION}}
|
|
101
|
+
|
|
102
|
+
{{AI_CONFIG_SECTIONS}}
|
|
103
|
+
|
|
104
|
+
## Common Workflows
|
|
105
|
+
|
|
106
|
+
{{WORKFLOWS}}
|
|
107
|
+
|
|
108
|
+
## Repository Identification Keywords
|
|
109
|
+
|
|
110
|
+
{{REPO_KEYWORDS}}
|
|
111
|
+
|
|
112
|
+
When these keywords appear in user requests, automatically navigate to the appropriate repository.
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# {{WORKSPACE_NAME}}
|
|
2
|
+
|
|
3
|
+
{{WORKSPACE_DESCRIPTION}}
|
|
4
|
+
|
|
5
|
+
## Repository Layout
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
{{WORKSPACE_NAME}}/
|
|
9
|
+
├── CLAUDE.md # This file — Claude Code project instructions
|
|
10
|
+
{{AI_CONFIG_TREE}}
|
|
11
|
+
{{REPO_TREE}}
|
|
12
|
+
{{SPECS_TREE}}
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Working Directory Rules
|
|
16
|
+
|
|
17
|
+
**CRITICAL**: Always `cd` to the correct repository before running commands or making Git commits.
|
|
18
|
+
|
|
19
|
+
{{REPO_CD_EXAMPLES}}
|
|
20
|
+
|
|
21
|
+
| Task | Repository | Working Directory |
|
|
22
|
+
|------|------------|------------------|
|
|
23
|
+
{{WORKING_DIR_ROWS}}
|
|
24
|
+
|
|
25
|
+
## Build & Run Commands
|
|
26
|
+
|
|
27
|
+
{{PACKAGE_MGMT_SECTIONS}}
|
|
28
|
+
|
|
29
|
+
## Git Operations
|
|
30
|
+
|
|
31
|
+
Use `cd` to navigate to the correct repository before any Git operation:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
{{GIT_OPS_EXAMPLES}}
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Code Style & Conventions
|
|
38
|
+
|
|
39
|
+
{{CODE_STYLE_SECTIONS}}
|
|
40
|
+
|
|
41
|
+
## Specification & Documentation Rules
|
|
42
|
+
|
|
43
|
+
**MANDATORY**: Every ticket implementation **must** be accompanied by creating or updating the relevant documents in `.documents-design/`.
|
|
44
|
+
|
|
45
|
+
### `.documents-design/` Folder Convention
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
.documents-design/features/{PARENT_FEATURE}/{CHILD_FEATURE}/
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### Per-Ticket Artifacts
|
|
52
|
+
|
|
53
|
+
| Artifact | File | Created By |
|
|
54
|
+
|----------|------|------------|
|
|
55
|
+
{{PER_TICKET_ARTIFACTS_ROWS}}
|
|
56
|
+
|
|
57
|
+
### Per-Feature Artifacts
|
|
58
|
+
|
|
59
|
+
| Artifact | File | Created/Updated By |
|
|
60
|
+
|----------|------|--------------------|
|
|
61
|
+
{{PER_FEATURE_ARTIFACTS_ROWS}}
|
|
62
|
+
|
|
63
|
+
> **Code changes without documentation updates are considered incomplete.**
|
|
64
|
+
|
|
65
|
+
## Claude Code Subagents
|
|
66
|
+
|
|
67
|
+
{{CLAUDE_AGENTS_DESCRIPTION}}
|
|
68
|
+
|
|
69
|
+
| Subagent | Purpose |
|
|
70
|
+
|----------|---------|
|
|
71
|
+
{{CLAUDE_AGENTS_ROWS}}
|
|
72
|
+
|
|
73
|
+
## Repository Identification Keywords
|
|
74
|
+
|
|
75
|
+
{{REPO_KEYWORDS}}
|
|
76
|
+
|
|
77
|
+
When these keywords appear in user requests, automatically navigate to the appropriate repository.
|
|
78
|
+
|
|
79
|
+
## Uncertainty & Hallucination Prevention
|
|
80
|
+
|
|
81
|
+
1. **Do not guess** — If you are unsure about a file path, command, or project detail, stop and ask the user.
|
|
82
|
+
2. **Do not fabricate** — Never invent file names, directories, API endpoints, or commands you have not verified exist.
|
|
83
|
+
3. **Say "I don't know"** — Explicitly state what is missing rather than filling gaps with plausible-sounding content.
|
|
84
|
+
4. **Verify before acting** — Confirm that files, directories, and commands actually exist before referencing or running them.
|
|
85
|
+
5. **Label inferences** — If you derive something from conventions rather than direct evidence, mark it as an inference.
|
|
86
|
+
6. **Prefer omission over invention** — Leave a section incomplete and flag it rather than populate it with hallucinated details.
|
package/package.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "evizi-kit",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Multi-agent development kit supporting Claude Code, Cursor, GitHub Copilot, and more.",
|
|
5
|
+
"files": [
|
|
6
|
+
"kits/"
|
|
7
|
+
],
|
|
8
|
+
"keywords": [
|
|
9
|
+
"claude-code",
|
|
10
|
+
"cursor",
|
|
11
|
+
"github-copilot",
|
|
12
|
+
"windsurf",
|
|
13
|
+
"ai-agents"
|
|
14
|
+
],
|
|
15
|
+
"license": "MIT"
|
|
16
|
+
}
|