@nockdev/awf 6.2.3 → 6.2.4
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/config.yaml +5 -5
- package/.agent/core/AGENT_BEHAVIOR.md +1 -1
- package/.agent/core/AUDIT_POLICY.md +1 -1
- package/.agent/core/CACHE.md +1 -1
- package/.agent/core/COMMANDS.md +27 -27
- package/.agent/core/DATA_SAFETY.md +1 -1
- package/.agent/core/MEMORY_PATHS.yaml +2 -2
- package/.agent/core/PERMISSIONS.md +1 -1
- package/.agent/core/README.md +1 -1
- package/.agent/core/VERSION.yaml +5 -5
- package/.agent/core/archive/ACTIVE_MEMORY.yaml +2 -2
- package/.agent/core/archive/CHECKPOINT.yaml +2 -2
- package/.agent/core/archive/CLEANUP_ENGINE.yaml +2 -2
- package/.agent/core/archive/CONTEXT_INJECTOR.yaml +2 -2
- package/.agent/core/archive/CONTEXT_LOADER.yaml +1 -1
- package/.agent/core/archive/CONTEXT_OPTIMIZATION.yaml +1 -1
- package/.agent/core/archive/CONTEXT_PRIORITY.yaml +2 -2
- package/.agent/core/archive/FLOW_ENGINE.yaml +1 -1
- package/.agent/core/archive/GRAPH_MEMORY.yaml +1 -1
- package/.agent/core/archive/HYBRID_ROUTER.yaml +1 -1
- package/.agent/core/archive/INTENT_DETECTION.yaml +1 -1
- package/.agent/core/archive/MEMORY_CONSOLIDATION.yaml +3 -3
- package/.agent/core/archive/MEMORY_ENGINE.yaml +2 -2
- package/.agent/core/archive/MEMORY_UTILS.yaml +1 -1
- package/.agent/core/archive/REFLECTION_ENGINE.yaml +1 -1
- package/.agent/core/archive/ROUTER.yaml +4 -4
- package/.agent/core/archive/SCORING_FORMULA.yaml +2 -2
- package/.agent/core/archive/SEMANTIC_ENGINE.yaml +1 -1
- package/.agent/core/archive/SKILLS_FLOW.yaml +1 -1
- package/.agent/core/archive/STATE_MACHINE.yaml +1 -1
- package/.agent/core/archive/SUMMARIZATION_ENGINE.yaml +2 -2
- package/.agent/core/archive/TOKEN_BUDGETS.yaml +2 -2
- package/.agent/core/archive/TOKEN_LOADING.yaml +2 -2
- package/.agent/core/archive/TOKEN_SUMMARY.yaml +2 -2
- package/.agent/core/reference/CODING_STYLES.yaml +1 -1
- package/.agent/core/reference/LIBRARY_REGISTRY.yaml +1 -1
- package/.agent/core/reference/MCP_TOOLS.yaml +2 -2
- package/.agent/core/reference/PATTERNS.yaml +1 -1
- package/.agent/core/reference/SKILL_SCHEMA.yaml +1 -1
- package/.agent/i18n/en.yaml +6 -6
- package/.agent/i18n/vi.yaml +60 -6
- package/.agent/ide/README.md +1 -1
- package/.agent/ide/amazonq.json +1 -1
- package/.agent/ide/amp.json +1 -1
- package/.agent/ide/antigravity.json +1 -1
- package/.agent/ide/augment.json +1 -1
- package/.agent/ide/claude.json +1 -1
- package/.agent/ide/cline.json +1 -1
- package/.agent/ide/cody.json +1 -1
- package/.agent/ide/continue.json +1 -1
- package/.agent/ide/cursor.json +1 -1
- package/.agent/ide/gemini.json +1 -1
- package/.agent/ide/jetbrains.json +1 -1
- package/.agent/ide/kiro.json +1 -1
- package/.agent/ide/opencode.json +1 -1
- package/.agent/ide/roo.json +1 -1
- package/.agent/ide/tabnine.json +1 -1
- package/.agent/ide/trae.json +1 -1
- package/.agent/ide/vscode.json +1 -1
- package/.agent/ide/windsurf.json +1 -1
- package/.agent/ide/zed.json +1 -1
- package/.agent/manifest.yaml +15 -15
- package/.agent/memory/core_memory/persona.json +2 -2
- package/.agent/memory/core_memory/project.json +1 -1
- package/.agent/memory/core_memory/rules.json +1 -1
- package/.agent/memory/core_memory/user.json +1 -1
- package/.agent/memory/graph/knowledge_graph.json +1 -1
- package/.agent/memory/patterns/errors.json +1 -1
- package/.agent/memory/patterns/successes.json +1 -1
- package/.agent/memory/state.json +2 -2
- package/.agent/personas/README.md +1 -1
- package/.agent/personas/architect.md +4 -1
- package/.agent/personas/auditor.md +5 -1
- package/.agent/personas/debugger.md +4 -1
- package/.agent/personas/developer.md +4 -1
- package/.agent/personas/devops.md +4 -1
- package/.agent/personas/documenter.md +4 -1
- package/.agent/personas/orchestrator.md +4 -1
- package/.agent/personas/persona.schema.yaml +1 -1
- package/.agent/personas/planner.md +4 -1
- package/.agent/personas/researcher.md +4 -1
- package/.agent/personas/security.md +3 -1
- package/.agent/personas/tester.md +3 -1
- package/.agent/rules/README.md +1 -1
- package/.agent/rules/SACRED_RULES.xml +19 -5
- package/.agent/rules/archive/constitutional/tier-0-core.yaml +5 -5
- package/.agent/rules/archive/constitutional/tier-1-safety.yaml +5 -5
- package/.agent/rules/archive/constitutional/tier-2-execution.yaml +6 -6
- package/.agent/rules/archive/context-management.yaml +1 -1
- package/.agent/rules/archive/duplication-prevention.md +1 -1
- package/.agent/rules/archive/evidence.yaml +1 -1
- package/.agent/rules/archive/project-detection.md +1 -1
- package/.agent/rules/archive/reflection.yaml +1 -1
- package/.agent/rules/archive/versioning.yaml +5 -5
- package/.agent/rules/data/build-systems.yaml +2 -2
- package/.agent/rules/modules/agent-delegation.yaml +13 -2
- package/.agent/rules/modules/edit-verification.yaml +4 -1
- package/.agent/rules/modules/git-workflow.yaml +6 -1
- package/.agent/rules/modules/language.yaml +1 -1
- package/.agent/rules/modules/online-research.yaml +1 -1
- package/.agent/rules/modules/performance-optimization.yaml +10 -2
- package/.agent/rules/modules/quality.yaml +1 -1
- package/.agent/rules/modules/stop-conditions.yaml +1 -1
- package/.agent/rules/modules/terminal-safety.yaml +1 -1
- package/.agent/rules/modules/yagni.yaml +1 -1
- package/.agent/rules/validation-framework.md +1 -1
- package/.agent/skills/README.md +1 -1
- package/.agent/skills/_categories.yaml +2 -2
- package/.agent/skills/_router.yaml +12 -0
- package/.agent/skills/core/api-design/META.yaml +1 -1
- package/.agent/skills/core/authentication/META.yaml +1 -1
- package/.agent/skills/core/error-handling/META.yaml +1 -1
- package/.agent/skills/core/logging/META.yaml +1 -1
- package/.agent/skills/core/observability/META.yaml +1 -1
- package/.agent/skills/core/security/META.yaml +1 -1
- package/.agent/skills/core/security/SKILL.md +1 -1
- package/.agent/skills/cross-cutting/accessibility/META.yaml +1 -1
- package/.agent/skills/cross-cutting/audit-pro/META.yaml +1 -1
- package/.agent/skills/cross-cutting/bun/META.yaml +1 -1
- package/.agent/skills/cross-cutting/bun/SKILL.md +1 -1
- package/.agent/skills/cross-cutting/coding-rules/META.yaml +1 -1
- package/.agent/skills/cross-cutting/database/META.yaml +1 -1
- package/.agent/skills/cross-cutting/database/SKILL.md +1 -1
- package/.agent/skills/cross-cutting/deno/META.yaml +1 -1
- package/.agent/skills/cross-cutting/deno/SKILL.md +1 -1
- package/.agent/skills/cross-cutting/domyh-design/META.yaml +1 -1
- package/.agent/skills/cross-cutting/domyh-design/data/desktop-colors.yaml +1 -1
- package/.agent/skills/cross-cutting/seo/META.yaml +1 -1
- package/.agent/skills/cross-cutting/sql/META.yaml +1 -1
- package/.agent/skills/cross-cutting/sql/SKILL.md +1 -1
- package/.agent/skills/cross-cutting/tailwind/META.yaml +1 -1
- package/.agent/skills/cross-cutting/tailwind/SKILL.md +1 -1
- package/.agent/skills/cross-cutting/tdd-workflow/META.yaml +1 -1
- package/.agent/skills/cross-cutting/testing/META.yaml +4 -3
- package/.agent/skills/cross-cutting/testing/SKILL.md +1 -1
- package/.agent/skills/cross-cutting/testing/data/frameworks.yaml +1 -1
- package/.agent/skills/cross-cutting/web-perf/META.yaml +1 -1
- package/.agent/skills/cross-cutting/web-perf/SKILL.md +1 -1
- package/.agent/skills/devops/aws/META.yaml +1 -1
- package/.agent/skills/devops/ci-cd/META.yaml +1 -1
- package/.agent/skills/devops/docker/META.yaml +1 -1
- package/.agent/skills/devops/kubernetes/META.yaml +1 -1
- package/.agent/skills/frameworks/angular/META.yaml +1 -1
- package/.agent/skills/frameworks/angular/SKILL.md +1 -1
- package/.agent/skills/frameworks/flutter/META.yaml +1 -1
- package/.agent/skills/frameworks/flutter/SKILL.md +1 -1
- package/.agent/skills/frameworks/nextjs/META.yaml +1 -1
- package/.agent/skills/frameworks/nextjs/SKILL.md +1 -1
- package/.agent/skills/frameworks/nuxt/META.yaml +1 -1
- package/.agent/skills/frameworks/nuxt/SKILL.md +1 -1
- package/.agent/skills/frameworks/react/META.yaml +1 -1
- package/.agent/skills/frameworks/react/SKILL.md +1 -1
- package/.agent/skills/frameworks/react-native/META.yaml +1 -1
- package/.agent/skills/frameworks/react-native/SKILL.md +1 -1
- package/.agent/skills/frameworks/svelte/META.yaml +1 -1
- package/.agent/skills/frameworks/svelte/SKILL.md +1 -1
- package/.agent/skills/frameworks/vue/META.yaml +1 -1
- package/.agent/skills/frameworks/vue/SKILL.md +1 -1
- package/.agent/skills/index.json +2 -2
- package/.agent/skills/languages/asm/META.yaml +1 -1
- package/.agent/skills/languages/asm/SKILL.md +1 -1
- package/.agent/skills/languages/c/META.yaml +1 -1
- package/.agent/skills/languages/c/SKILL.md +1 -1
- package/.agent/skills/languages/clojure/META.yaml +1 -1
- package/.agent/skills/languages/clojure/SKILL.md +1 -1
- package/.agent/skills/languages/cpp/META.yaml +1 -1
- package/.agent/skills/languages/cpp/SKILL.md +1 -1
- package/.agent/skills/languages/crystal/META.yaml +1 -1
- package/.agent/skills/languages/crystal/SKILL.md +1 -1
- package/.agent/skills/languages/csharp/META.yaml +1 -1
- package/.agent/skills/languages/csharp/SKILL.md +1 -1
- package/.agent/skills/languages/elixir/META.yaml +1 -1
- package/.agent/skills/languages/elixir/SKILL.md +1 -1
- package/.agent/skills/languages/fsharp/META.yaml +1 -1
- package/.agent/skills/languages/fsharp/SKILL.md +1 -1
- package/.agent/skills/languages/go/META.yaml +1 -1
- package/.agent/skills/languages/go/SKILL.md +1 -1
- package/.agent/skills/languages/haskell/META.yaml +1 -1
- package/.agent/skills/languages/haskell/SKILL.md +1 -1
- package/.agent/skills/languages/java/META.yaml +1 -1
- package/.agent/skills/languages/java/SKILL.md +1 -1
- package/.agent/skills/languages/javascript/META.yaml +1 -1
- package/.agent/skills/languages/javascript/SKILL.md +1 -1
- package/.agent/skills/languages/julia/META.yaml +1 -1
- package/.agent/skills/languages/julia/SKILL.md +1 -1
- package/.agent/skills/languages/kotlin/META.yaml +1 -1
- package/.agent/skills/languages/kotlin/SKILL.md +1 -1
- package/.agent/skills/languages/lua/META.yaml +1 -1
- package/.agent/skills/languages/lua/SKILL.md +3 -3
- package/.agent/skills/languages/nim/META.yaml +1 -1
- package/.agent/skills/languages/nim/SKILL.md +1 -1
- package/.agent/skills/languages/ocaml/META.yaml +1 -1
- package/.agent/skills/languages/ocaml/SKILL.md +1 -1
- package/.agent/skills/languages/perl/META.yaml +1 -1
- package/.agent/skills/languages/perl/SKILL.md +1 -1
- package/.agent/skills/languages/php/META.yaml +1 -1
- package/.agent/skills/languages/php/SKILL.md +1 -1
- package/.agent/skills/languages/python/META.yaml +1 -1
- package/.agent/skills/languages/python/SKILL.md +1 -1
- package/.agent/skills/languages/r/META.yaml +1 -1
- package/.agent/skills/languages/r/SKILL.md +1 -1
- package/.agent/skills/languages/ruby/META.yaml +1 -1
- package/.agent/skills/languages/ruby/SKILL.md +1 -1
- package/.agent/skills/languages/rust/META.yaml +1 -1
- package/.agent/skills/languages/rust/SKILL.md +1 -1
- package/.agent/skills/languages/scala/META.yaml +1 -1
- package/.agent/skills/languages/scala/SKILL.md +1 -1
- package/.agent/skills/languages/solidity/META.yaml +1 -1
- package/.agent/skills/languages/solidity/SKILL.md +1 -1
- package/.agent/skills/languages/swift/META.yaml +1 -1
- package/.agent/skills/languages/swift/SKILL.md +1 -1
- package/.agent/skills/languages/typescript/META.yaml +1 -1
- package/.agent/skills/languages/typescript/SKILL.md +1 -1
- package/.agent/skills/languages/zig/META.yaml +1 -1
- package/.agent/skills/languages/zig/SKILL.md +1 -1
- package/.agent/templates/README.md +2 -2
- package/.agent/templates/debug-report.md +1 -1
- package/.agent/templates/deploy-plan.md +1 -1
- package/.agent/templates/doc-template.md +1 -1
- package/.agent/templates/index.yaml +1 -1
- package/.agent/templates/migrate-plan.md +1 -1
- package/.agent/templates/phase-template.md +1 -1
- package/.agent/templates/tasks/audit.yaml +1 -1
- package/.agent/templates/tasks/bug_fix.yaml +1 -1
- package/.agent/templates/tasks/code_implementation.yaml +1 -1
- package/.agent/templates/tasks/refactor.yaml +1 -1
- package/.agent/templates/test-report.md +1 -1
- package/.agent/workflows/code.md +1 -1
- package/.agent/workflows/debug.md +1 -1
- package/.agent/workflows/deploy.md +1 -0
- package/.agent/workflows/doc.md +1 -0
- package/.agent/workflows/e2e.md +6 -5
- package/.agent/workflows/env.md +1 -0
- package/.agent/workflows/fix.md +1 -1
- package/.agent/workflows/monitor.md +2 -1
- package/.agent/workflows/onboard.md +1 -1
- package/.agent/workflows/perf.md +2 -1
- package/.agent/workflows/prompt.md +1 -1
- package/.agent/workflows/recap.md +1 -1
- package/.agent/workflows/refactor.md +1 -1
- package/.agent/workflows/scaffold.md +1 -1
- package/.agent/workflows/tdd.md +6 -5
- package/.agent/workflows/verify.md +5 -4
- package/README.md +59 -15
- package/configs/aider/root.CONVENTIONS.md +1 -1
- package/configs/amazonq/root.amazonq.md +1 -1
- package/configs/amp/root.AGENTS.md +1 -1
- package/configs/antigravity/root.GEMINI.md +1 -1
- package/configs/augment/root.guidelines.md +1 -1
- package/configs/claude/root.CLAUDE.md +1 -1
- package/configs/cline/root.clinerules.md +1 -1
- package/configs/codex/root.AGENTS.md +1 -1
- package/configs/continue/root.continue.md +1 -1
- package/configs/copilot/root.copilot-instructions.md +1 -1
- package/configs/gemini/root.GEMINI.md +1 -1
- package/configs/jetbrains/root.guidelines.md +1 -1
- package/configs/roo/root.roorules.md +1 -1
- package/configs/tabnine/root.guidelines.md +1 -1
- package/configs/vscode/root.copilot-instructions.md +1 -1
- package/dist/constants/ide-install-specs.js +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# 📄 DOMYH Awesome Code Templates v6.2.
|
|
1
|
+
# 📄 DOMYH Awesome Code Templates v6.2.4
|
|
2
2
|
|
|
3
3
|
> Output templates for agent-generated reports and plans
|
|
4
4
|
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
```yaml
|
|
23
23
|
---
|
|
24
24
|
name: template-name
|
|
25
|
-
version: "6.2.
|
|
25
|
+
version: "6.2.4"
|
|
26
26
|
type: report|plan|format|wizard
|
|
27
27
|
triggers: ["/command"]
|
|
28
28
|
---
|
|
@@ -236,4 +236,4 @@ search:
|
|
|
236
236
|
# =============================================================================
|
|
237
237
|
# Footer
|
|
238
238
|
# =============================================================================
|
|
239
|
-
# _DOMYH Awesome Code • Template Index v6.2.
|
|
239
|
+
# _DOMYH Awesome Code • Template Index v6.2.4 • HSA Integration_
|
package/.agent/workflows/code.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: "💻 Write production-ready code, fix/improve existing projects, with proper error handling, types, and documentation"
|
|
3
|
-
skills: { required: [], contextual: [auto, domyh-design, tailwind] }
|
|
3
|
+
skills: { required: [coding-rules], contextual: [auto, domyh-design, tailwind] }
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# 💻 /code — Code Pro
|
|
@@ -36,6 +36,7 @@ skills:
|
|
|
36
36
|
→ Auto-rollback if: error_rate > 0.5% OR p99 > 1000ms OR CPU > 90%
|
|
37
37
|
```
|
|
38
38
|
6. **FINALIZE** — Tag release in git, update changelog, document rollback point, release deploy lock
|
|
39
|
+
7. **SYNC** — `hsa_check_changes` to update index after deployment config changes
|
|
39
40
|
|
|
40
41
|
---
|
|
41
42
|
|
package/.agent/workflows/doc.md
CHANGED
|
@@ -17,6 +17,7 @@ skills: { required: [], contextual: [auto] }
|
|
|
17
17
|
3. **GENERATE** — Create doc content, use language-specific format, add examples & diagrams
|
|
18
18
|
4. **VALIDATE** — Check links/references, verify code examples compile, lint docs
|
|
19
19
|
5. **OUTPUT** — Generate files (MD/HTML/PDF), update existing docs, show summary
|
|
20
|
+
6. **SYNC** — `hsa_check_changes` to update index after documentation file changes
|
|
20
21
|
|
|
21
22
|
---
|
|
22
23
|
|
package/.agent/workflows/e2e.md
CHANGED
|
@@ -12,11 +12,12 @@ skills: { required: [testing, tdd-workflow], contextual: [auto] }
|
|
|
12
12
|
|
|
13
13
|
## E2E FLOW
|
|
14
14
|
|
|
15
|
-
1. **DETECT** —
|
|
16
|
-
2. **MAP** — Identify critical user flows from routes/pages. Show: `[Step 2/
|
|
17
|
-
3. **GENERATE** — Write E2E tests for critical paths. Show: `[Step 3/
|
|
18
|
-
4. **RUN** — Execute E2E tests, capture screenshots on failure. Show: `[Step 4/
|
|
19
|
-
5. **REPORT** — Show results with pass/fail, timing, screenshots. Show: `[Step 5/
|
|
15
|
+
1. **DETECT** — Detect stack via HSA (`hsa_detect_stack`), verify environment (`hsa_detect_environment`), identify frontend framework, existing E2E setup, test runner. Show: `[Step 1/6] Detecting E2E framework...`
|
|
16
|
+
2. **MAP** — Identify critical user flows from routes/pages. Show: `[Step 2/6] Mapping 8 critical user flows...`
|
|
17
|
+
3. **GENERATE** — Write E2E tests for critical paths. Show: `[Step 3/6] Generating tests for Login → Dashboard → Checkout`
|
|
18
|
+
4. **RUN** — Execute E2E tests, capture screenshots on failure. Show: `[Step 4/6] Running 12 E2E tests...`
|
|
19
|
+
5. **REPORT** — Show results with pass/fail, timing, screenshots. Show: `[Step 5/6] ✅ 11/12 passed (1 flaky)`
|
|
20
|
+
6. **SYNC** — `hsa_check_changes` to update index after test file creation
|
|
20
21
|
|
|
21
22
|
---
|
|
22
23
|
|
package/.agent/workflows/env.md
CHANGED
|
@@ -16,6 +16,7 @@ skills: { required: [security], contextual: [auto] }
|
|
|
16
16
|
2. **VALIDATE** — Validate format/types, detect missing/deprecated vars
|
|
17
17
|
3. **SYNC** — Sync .env.example template, drift detection between envs
|
|
18
18
|
4. **REPORT** — Security recommendations, next steps
|
|
19
|
+
5. **INDEX** — `hsa_check_changes` to update index after environment file changes
|
|
19
20
|
|
|
20
21
|
---
|
|
21
22
|
|
package/.agent/workflows/fix.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: "📡 Setup observability: logging, tracing, metrics, and alerting configuration"
|
|
3
|
-
skills: { required: [], contextual: [auto] }
|
|
3
|
+
skills: { required: [observability, logging], contextual: [auto] }
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# 📡 /monitor — Monitor Pro
|
|
@@ -16,6 +16,7 @@ skills: { required: [], contextual: [auto] }
|
|
|
16
16
|
2. **PLAN** — Recommend libraries & backends, setup OpenTelemetry → ⛔ STOP: confirm before install
|
|
17
17
|
3. **EXECUTE** — Add logging, tracing (OpenTelemetry), metrics (Prometheus), configure alerts
|
|
18
18
|
4. **VERIFY** — Verify data in backends, test alerts
|
|
19
|
+
5. **SYNC** — `hsa_check_changes` to update index after observability config changes
|
|
19
20
|
|
|
20
21
|
---
|
|
21
22
|
|
|
@@ -17,7 +17,7 @@ skills: { required: [], contextual: [auto] }
|
|
|
17
17
|
3. **MAP** — Generate Mermaid architecture diagram + module dependency graph. Show: `[Step 3/6] Mapping architecture...`
|
|
18
18
|
4. **ASSESS** — Identify code health: test coverage, lint score, outdated deps, known issues. Show: `[Step 4/6] Assessing code health...`
|
|
19
19
|
5. **GUIDE** — Create "Getting Started" guide: setup steps, key files, conventions, common tasks. Show: `[Step 5/6] Generating guide...`
|
|
20
|
-
6. **SYNC** — Save onboard report to `.domyh/onboard/onboard_YYYY-MM-DD.md`. Show: `[Step 6/6] Saving report...`
|
|
20
|
+
6. **SYNC** — Save onboard report to `.domyh/onboard/onboard_YYYY-MM-DD.md`. `hsa_check_changes` to update index after generating onboarding docs. Show: `[Step 6/6] Saving report...`
|
|
21
21
|
|
|
22
22
|
---
|
|
23
23
|
|
package/.agent/workflows/perf.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: "⚡ Performance profiling: CPU, memory, benchmarks, and optimization recommendations"
|
|
3
|
-
skills: { required: [], contextual: [auto] }
|
|
3
|
+
skills: { required: [web-perf], contextual: [auto] }
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# ⚡ /perf — Perf Pro
|
|
@@ -17,6 +17,7 @@ skills: { required: [], contextual: [auto] }
|
|
|
17
17
|
3. **ANALYZE** — Identify hotspots, bottlenecks
|
|
18
18
|
4. **OPTIMIZE** — Apply fixes, verify improvement
|
|
19
19
|
5. **REPORT** — Before/after comparison. Save to `.domyh/perf/benchmark_YYYY-MM-DD.md`
|
|
20
|
+
6. **SYNC** — `hsa_check_changes` to update index after performance optimization edits
|
|
20
21
|
|
|
21
22
|
---
|
|
22
23
|
|
|
@@ -12,7 +12,7 @@ skills: { required: [prompt-engineering], contextual: [domyh-design] }
|
|
|
12
12
|
|
|
13
13
|
## PROMPT FLOW
|
|
14
14
|
|
|
15
|
-
1. **ANALYZE** — Parse user request, detect prompt type (image/project/modify/system/general). Extract: mục đích, target tool/model, ngôn ngữ, constraints. Show: `[Step 1/5] Analyzing: "{request}" → Type: image`
|
|
15
|
+
1. **ANALYZE** — Parse user request, detect prompt type (image/project/modify/system/general). If project-related: load context via HSA (`hsa_get_context`). Extract: mục đích, target tool/model, ngôn ngữ, constraints. Show: `[Step 1/5] Analyzing: "{request}" → Type: image`
|
|
16
16
|
2. **RESEARCH** — Online research về domain, best practices, reference examples. Tìm kiếm: cấu trúc prompt tối ưu cho target tool, industry standards, trending patterns. Show: `[Step 2/5] Researching: "midjourney v6 architecture prompts"...`
|
|
17
17
|
3. **STRUCTURE** — Apply RCTO Framework (Role-Context-Task-Output). Map research → sections phù hợp. Choose template theo prompt type. Show: `[Step 3/5] Structuring prompt with 6 sections...`
|
|
18
18
|
4. **GENERATE** — Tạo structured markdown prompt. Viết bằng ngôn ngữ người dùng yêu cầu. Apply prompt-engineering patterns (CoT, few-shot, role-play). Show: `[Step 4/5] Generating prompt...`
|
|
@@ -12,7 +12,7 @@ skills: { required: [], contextual: [] }
|
|
|
12
12
|
|
|
13
13
|
## RECAP FLOW
|
|
14
14
|
|
|
15
|
-
1. **COLLECT** — Git changes (`git log --oneline -20`), task list, decisions from memory, file system changes
|
|
15
|
+
1. **COLLECT** — Git changes (`git log --oneline -20`), engine data (`hsa_export`), task list, decisions from memory, file system changes
|
|
16
16
|
2. **ANALYZE** — Categorize changes (features, fixes, refactors, docs), calculate metrics (files changed, lines added/removed)
|
|
17
17
|
3. **SUMMARIZE** — Group by category, generate structured report. Show: `Session: 2h 15m | 8 tasks | 23 files changed`
|
|
18
18
|
4. **PERSIST** — Save key decisions and context to `memory/state.json` for next session continuity
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: "🔧 Code refactoring & cleanup: identify smells, clean dead code, organize imports, restructure — verify tests pass"
|
|
3
|
-
skills: { required: [], contextual: [auto] }
|
|
3
|
+
skills: { required: [coding-rules], contextual: [auto] }
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# 🔧 /refactor — Refactor Pro
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: "🏗️ Unified scaffolding & code generation: components, pages, services, models, APIs from project patterns"
|
|
3
|
-
skills: { required: [], contextual: [auto] }
|
|
3
|
+
skills: { required: [coding-rules], contextual: [auto] }
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# 🏗️ /scaffold — Scaffold Pro
|
package/.agent/workflows/tdd.md
CHANGED
|
@@ -12,11 +12,12 @@ skills: { required: [tdd-workflow, testing], contextual: [auto] }
|
|
|
12
12
|
|
|
13
13
|
## TDD FLOW
|
|
14
14
|
|
|
15
|
-
1. **SETUP** — Detect stack, load TDD skill, identify test framework. Show: `[Step 1/
|
|
16
|
-
2. **RED** — Write a failing test that defines the expected behavior. Run tests to confirm it fails. Show: `[Step 2/
|
|
17
|
-
3. **GREEN** — Write the SIMPLEST production code that makes the test pass. Show: `[Step 3/
|
|
18
|
-
4. **REFACTOR** — Clean up code and tests without changing behavior. Re-run tests. Show: `[Step 4/
|
|
19
|
-
5. **VERIFY** — Run full test suite, check coverage delta. Show: `[Step 5/
|
|
15
|
+
1. **SETUP** — Detect stack via HSA (`hsa_detect_stack`), load TDD skill, load test context (`hsa_get_context`), identify test framework. Show: `[Step 1/6] Detecting stack and test framework...`
|
|
16
|
+
2. **RED** — Write a failing test that defines the expected behavior. Run tests to confirm it fails. Show: `[Step 2/6] 🔴 RED — Writing failing test: test_[feature]`
|
|
17
|
+
3. **GREEN** — Write the SIMPLEST production code that makes the test pass. Show: `[Step 3/6] 🟢 GREEN — Implementing minimal code to pass`
|
|
18
|
+
4. **REFACTOR** — Clean up code and tests without changing behavior. Re-run tests. Show: `[Step 4/6] 🔵 REFACTOR — Cleaning up (all tests still green)`
|
|
19
|
+
5. **VERIFY** — Run full test suite, check coverage delta. Show: `[Step 5/6] ✅ Coverage: 75% → 83% (+8%)`
|
|
20
|
+
6. **SYNC** — `hsa_check_changes` to update index after test/code creation
|
|
20
21
|
|
|
21
22
|
---
|
|
22
23
|
|
|
@@ -12,10 +12,11 @@ skills: { required: [testing], contextual: [auto] }
|
|
|
12
12
|
|
|
13
13
|
## VERIFY FLOW
|
|
14
14
|
|
|
15
|
-
1. **DETECT** —
|
|
16
|
-
2. **RUN** — Execute verification pipeline sequentially. Show: `[Step 2/
|
|
17
|
-
3. **FIX** — Auto-fix what's possible (lint, format). Show: `[Step 3/
|
|
18
|
-
4. **RE-RUN** — Loop until all pass or max iterations. Show: `[Step 4/
|
|
15
|
+
1. **DETECT** — Detect stack via HSA (`hsa_detect_stack`), identify build system, linter, test runner. Show: `[Step 1/5] Detecting verification pipeline...`
|
|
16
|
+
2. **RUN** — Execute verification pipeline sequentially. Show: `[Step 2/5] Running 4-stage pipeline...`
|
|
17
|
+
3. **FIX** — Auto-fix what's possible (lint, format). Show: `[Step 3/5] Auto-fixing 3 lint issues...`
|
|
18
|
+
4. **RE-RUN** — Loop until all pass or max iterations. Show: `[Step 4/5] Iteration 2/3 — All checks passed ✅`
|
|
19
|
+
5. **SYNC** — `hsa_check_changes` to update index after auto-fixes
|
|
19
20
|
|
|
20
21
|
---
|
|
21
22
|
|