@techwavedev/agi-agent-kit 1.1.3 → 1.1.7
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/CHANGELOG.md +72 -0
- package/LICENSE +201 -0
- package/package.json +1 -1
- package/templates/base/skill-creator/LICENSE.txt +0 -0
- package/templates/base/skill-creator/SKILL_skillcreator.md +36 -23
- package/templates/base/skill-creator/references/output-patterns.md +0 -0
- package/templates/base/skill-creator/references/workflows.md +0 -0
- package/templates/base/skill-creator/scripts/init_skill.py +135 -18
- package/templates/base/skill-creator/scripts/package_skill.py +0 -0
- package/templates/base/skill-creator/scripts/quick_validate.py +0 -0
- package/templates/skills/core/documentation/SKILL.md +0 -0
- package/templates/skills/core/documentation/references/best_practices.md +0 -0
- package/templates/skills/core/documentation/scripts/analyze_code.py +0 -0
- package/templates/skills/core/documentation/scripts/detect_changes.py +0 -0
- package/templates/skills/core/documentation/scripts/generate_changelog.py +0 -0
- package/templates/skills/core/documentation/scripts/sync_docs.py +0 -0
- package/templates/skills/core/documentation/scripts/update_skill_docs.py +0 -0
- package/templates/skills/core/pdf-reader/SKILL.md +0 -0
- package/templates/skills/core/pdf-reader/references/pdf_libraries.md +0 -0
- package/templates/skills/core/pdf-reader/scripts/extract_text.py +0 -0
- package/templates/skills/core/qdrant-memory/SKILL.md +0 -0
- package/templates/skills/core/qdrant-memory/references/advanced_patterns.md +0 -0
- package/templates/skills/core/qdrant-memory/references/collection_schemas.md +0 -0
- package/templates/skills/core/qdrant-memory/references/complete_guide.md +0 -0
- package/templates/skills/core/qdrant-memory/references/embedding_models.md +0 -0
- package/templates/skills/core/qdrant-memory/scripts/__pycache__/embedding_utils.cpython-314.pyc +0 -0
- package/templates/skills/core/qdrant-memory/scripts/__pycache__/init_collection.cpython-314.pyc +0 -0
- package/templates/skills/core/qdrant-memory/scripts/benchmark_token_savings.py +0 -0
- package/templates/skills/core/qdrant-memory/scripts/embedding_utils.py +0 -0
- package/templates/skills/core/qdrant-memory/scripts/hybrid_search.py +0 -0
- package/templates/skills/core/qdrant-memory/scripts/init_collection.py +0 -0
- package/templates/skills/core/qdrant-memory/scripts/memory_retrieval.py +0 -0
- package/templates/skills/core/qdrant-memory/scripts/semantic_cache.py +0 -0
- package/templates/skills/core/qdrant-memory/scripts/test_skill.py +0 -0
- package/templates/skills/core/webcrawler/references/advanced_crawling.md +0 -0
- package/templates/skills/core/webcrawler/scripts/crawl_docs.py +0 -0
- package/templates/skills/core/webcrawler/scripts/extract_page.py +0 -0
- package/templates/skills/core/webcrawler/scripts/filter_docs.py +0 -0
- package/templates/skills/design-md/README.md +34 -0
- package/templates/skills/design-md/SKILL.md +193 -0
- package/templates/skills/design-md/examples/DESIGN.md +154 -0
- package/templates/skills/knowledge/SKILLS_CATALOG.md +796 -0
- package/templates/skills/knowledge/api-patterns/SKILL.md +0 -0
- package/templates/skills/knowledge/api-patterns/api-style.md +0 -0
- package/templates/skills/knowledge/api-patterns/auth.md +0 -0
- package/templates/skills/knowledge/api-patterns/documentation.md +0 -0
- package/templates/skills/knowledge/api-patterns/graphql.md +0 -0
- package/templates/skills/knowledge/api-patterns/rate-limiting.md +0 -0
- package/templates/skills/knowledge/api-patterns/response.md +0 -0
- package/templates/skills/knowledge/api-patterns/rest.md +0 -0
- package/templates/skills/knowledge/api-patterns/scripts/api_validator.py +0 -0
- package/templates/skills/knowledge/api-patterns/security-testing.md +0 -0
- package/templates/skills/knowledge/api-patterns/trpc.md +0 -0
- package/templates/skills/knowledge/api-patterns/versioning.md +0 -0
- package/templates/skills/knowledge/app-builder/SKILL.md +0 -0
- package/templates/skills/knowledge/app-builder/agent-coordination.md +0 -0
- package/templates/skills/knowledge/app-builder/feature-building.md +0 -0
- package/templates/skills/knowledge/app-builder/project-detection.md +0 -0
- package/templates/skills/knowledge/app-builder/scaffolding.md +0 -0
- package/templates/skills/knowledge/app-builder/tech-stack.md +0 -0
- package/templates/skills/knowledge/app-builder/templates/SKILL.md +0 -0
- package/templates/skills/knowledge/app-builder/templates/astro-static/TEMPLATE.md +0 -0
- package/templates/skills/knowledge/app-builder/templates/chrome-extension/TEMPLATE.md +0 -0
- package/templates/skills/knowledge/app-builder/templates/cli-tool/TEMPLATE.md +0 -0
- package/templates/skills/knowledge/app-builder/templates/electron-desktop/TEMPLATE.md +0 -0
- package/templates/skills/knowledge/app-builder/templates/express-api/TEMPLATE.md +0 -0
- package/templates/skills/knowledge/app-builder/templates/flutter-app/TEMPLATE.md +0 -0
- package/templates/skills/knowledge/app-builder/templates/monorepo-turborepo/TEMPLATE.md +0 -0
- package/templates/skills/knowledge/app-builder/templates/nextjs-fullstack/TEMPLATE.md +0 -0
- package/templates/skills/knowledge/app-builder/templates/nextjs-saas/TEMPLATE.md +0 -0
- package/templates/skills/knowledge/app-builder/templates/nextjs-static/TEMPLATE.md +0 -0
- package/templates/skills/knowledge/app-builder/templates/nuxt-app/TEMPLATE.md +0 -0
- package/templates/skills/knowledge/app-builder/templates/python-fastapi/TEMPLATE.md +0 -0
- package/templates/skills/knowledge/app-builder/templates/react-native-app/TEMPLATE.md +0 -0
- package/templates/skills/knowledge/architecture/SKILL.md +0 -0
- package/templates/skills/knowledge/architecture/context-discovery.md +0 -0
- package/templates/skills/knowledge/architecture/examples.md +0 -0
- package/templates/skills/knowledge/architecture/pattern-selection.md +0 -0
- package/templates/skills/knowledge/architecture/patterns-reference.md +0 -0
- package/templates/skills/knowledge/architecture/trade-off-analysis.md +0 -0
- package/templates/skills/knowledge/bash-linux/SKILL.md +0 -0
- package/templates/skills/knowledge/behavioral-modes/SKILL.md +0 -0
- package/templates/skills/knowledge/brainstorming/SKILL.md +0 -0
- package/templates/skills/knowledge/brainstorming/dynamic-questioning.md +0 -0
- package/templates/skills/knowledge/clean-code/SKILL.md +0 -0
- package/templates/skills/knowledge/code-review-checklist/SKILL.md +0 -0
- package/templates/skills/knowledge/database-design/SKILL.md +0 -0
- package/templates/skills/knowledge/database-design/database-selection.md +0 -0
- package/templates/skills/knowledge/database-design/indexing.md +0 -0
- package/templates/skills/knowledge/database-design/migrations.md +0 -0
- package/templates/skills/knowledge/database-design/optimization.md +0 -0
- package/templates/skills/knowledge/database-design/orm-selection.md +0 -0
- package/templates/skills/knowledge/database-design/schema-design.md +0 -0
- package/templates/skills/knowledge/database-design/scripts/schema_validator.py +0 -0
- package/templates/skills/knowledge/deployment-procedures/SKILL.md +0 -0
- package/templates/skills/knowledge/design-md/README.md +34 -0
- package/templates/skills/knowledge/design-md/SKILL.md +193 -0
- package/templates/skills/knowledge/design-md/examples/DESIGN.md +154 -0
- package/templates/skills/knowledge/documentation-templates/SKILL.md +0 -0
- package/templates/skills/knowledge/frontend-design/SKILL.md +0 -0
- package/templates/skills/knowledge/frontend-design/animation-guide.md +0 -0
- package/templates/skills/knowledge/frontend-design/color-system.md +0 -0
- package/templates/skills/knowledge/frontend-design/decision-trees.md +0 -0
- package/templates/skills/knowledge/frontend-design/motion-graphics.md +0 -0
- package/templates/skills/knowledge/frontend-design/scripts/accessibility_checker.py +0 -0
- package/templates/skills/knowledge/frontend-design/scripts/ux_audit.py +0 -0
- package/templates/skills/knowledge/frontend-design/typography-system.md +0 -0
- package/templates/skills/knowledge/frontend-design/ux-psychology.md +0 -0
- package/templates/skills/knowledge/frontend-design/visual-effects.md +0 -0
- package/templates/skills/knowledge/game-development/2d-games/SKILL.md +0 -0
- package/templates/skills/knowledge/game-development/3d-games/SKILL.md +0 -0
- package/templates/skills/knowledge/game-development/SKILL.md +0 -0
- package/templates/skills/knowledge/game-development/game-art/SKILL.md +0 -0
- package/templates/skills/knowledge/game-development/game-audio/SKILL.md +0 -0
- package/templates/skills/knowledge/game-development/game-design/SKILL.md +0 -0
- package/templates/skills/knowledge/game-development/mobile-games/SKILL.md +0 -0
- package/templates/skills/knowledge/game-development/multiplayer/SKILL.md +0 -0
- package/templates/skills/knowledge/game-development/pc-games/SKILL.md +0 -0
- package/templates/skills/knowledge/game-development/vr-ar/SKILL.md +0 -0
- package/templates/skills/knowledge/game-development/web-games/SKILL.md +0 -0
- package/templates/skills/knowledge/geo-fundamentals/SKILL.md +0 -0
- package/templates/skills/knowledge/geo-fundamentals/scripts/geo_checker.py +0 -0
- package/templates/skills/knowledge/i18n-localization/SKILL.md +0 -0
- package/templates/skills/knowledge/i18n-localization/scripts/i18n_checker.py +0 -0
- package/templates/skills/knowledge/intelligent-routing/SKILL.md +0 -0
- package/templates/skills/knowledge/jira/scripts/__pycache__/jira_client.cpython-314.pyc +0 -0
- package/templates/skills/knowledge/lint-and-validate/SKILL.md +0 -0
- package/templates/skills/knowledge/lint-and-validate/scripts/lint_runner.py +0 -0
- package/templates/skills/knowledge/lint-and-validate/scripts/type_coverage.py +0 -0
- package/templates/skills/knowledge/mcp-builder/SKILL.md +0 -0
- package/templates/skills/knowledge/mobile-design/SKILL.md +0 -0
- package/templates/skills/knowledge/mobile-design/decision-trees.md +0 -0
- package/templates/skills/knowledge/mobile-design/mobile-backend.md +0 -0
- package/templates/skills/knowledge/mobile-design/mobile-color-system.md +0 -0
- package/templates/skills/knowledge/mobile-design/mobile-debugging.md +0 -0
- package/templates/skills/knowledge/mobile-design/mobile-design-thinking.md +0 -0
- package/templates/skills/knowledge/mobile-design/mobile-navigation.md +0 -0
- package/templates/skills/knowledge/mobile-design/mobile-performance.md +0 -0
- package/templates/skills/knowledge/mobile-design/mobile-testing.md +0 -0
- package/templates/skills/knowledge/mobile-design/mobile-typography.md +0 -0
- package/templates/skills/knowledge/mobile-design/platform-android.md +0 -0
- package/templates/skills/knowledge/mobile-design/platform-ios.md +0 -0
- package/templates/skills/knowledge/mobile-design/scripts/mobile_audit.py +0 -0
- package/templates/skills/knowledge/mobile-design/touch-psychology.md +0 -0
- package/templates/skills/knowledge/nextjs-best-practices/SKILL.md +0 -0
- package/templates/skills/knowledge/nodejs-best-practices/SKILL.md +0 -0
- package/templates/skills/knowledge/notebooklm-mcp/SKILL.md +71 -0
- package/templates/skills/knowledge/notebooklm-mcp/assets/example_asset.txt +24 -0
- package/templates/skills/knowledge/notebooklm-mcp/references/api_reference.md +34 -0
- package/templates/skills/knowledge/notebooklm-mcp/scripts/example.py +19 -0
- package/templates/skills/knowledge/parallel-agents/SKILL.md +0 -0
- package/templates/skills/knowledge/performance-profiling/SKILL.md +0 -0
- package/templates/skills/knowledge/performance-profiling/scripts/lighthouse_audit.py +0 -0
- package/templates/skills/knowledge/plan-writing/SKILL.md +0 -0
- package/templates/skills/knowledge/powershell-windows/SKILL.md +0 -0
- package/templates/skills/knowledge/python-patterns/SKILL.md +0 -0
- package/templates/skills/knowledge/react-components/README.md +36 -0
- package/templates/skills/knowledge/react-components/SKILL.md +53 -0
- package/templates/skills/knowledge/react-components/examples/gold-standard-card.tsx +80 -0
- package/templates/skills/knowledge/react-components/package-lock.json +231 -0
- package/templates/skills/knowledge/react-components/package.json +16 -0
- package/templates/skills/knowledge/react-components/resources/architecture-checklist.md +15 -0
- package/templates/skills/knowledge/react-components/resources/component-template.tsx +37 -0
- package/templates/skills/knowledge/react-components/resources/stitch-api-reference.md +14 -0
- package/templates/skills/knowledge/react-components/resources/style-guide.json +27 -0
- package/templates/skills/knowledge/react-components/scripts/fetch-stitch.sh +30 -0
- package/templates/skills/knowledge/react-components/scripts/validate.js +68 -0
- package/templates/skills/knowledge/react-patterns/SKILL.md +0 -0
- package/templates/skills/knowledge/red-team-tactics/SKILL.md +0 -0
- package/templates/skills/knowledge/self-update/SKILL.md +60 -0
- package/templates/skills/knowledge/self-update/scripts/update_kit.py +103 -0
- package/templates/skills/knowledge/seo-fundamentals/SKILL.md +0 -0
- package/templates/skills/knowledge/seo-fundamentals/scripts/seo_checker.py +0 -0
- package/templates/skills/knowledge/server-management/SKILL.md +0 -0
- package/templates/skills/knowledge/stitch-loop/README.md +54 -0
- package/templates/skills/knowledge/stitch-loop/SKILL.md +235 -0
- package/templates/skills/knowledge/stitch-loop/examples/SITE.md +73 -0
- package/templates/skills/knowledge/stitch-loop/examples/next-prompt.md +25 -0
- package/templates/skills/knowledge/stitch-loop/resources/baton-schema.md +61 -0
- package/templates/skills/knowledge/stitch-loop/resources/site-template.md +104 -0
- package/templates/skills/knowledge/systematic-debugging/SKILL.md +0 -0
- package/templates/skills/knowledge/tailwind-patterns/SKILL.md +0 -0
- package/templates/skills/knowledge/tdd-workflow/SKILL.md +0 -0
- package/templates/skills/knowledge/testing-patterns/SKILL.md +0 -0
- package/templates/skills/knowledge/testing-patterns/scripts/test_runner.py +0 -0
- package/templates/skills/knowledge/vulnerability-scanner/SKILL.md +0 -0
- package/templates/skills/knowledge/vulnerability-scanner/checklists.md +0 -0
- package/templates/skills/knowledge/vulnerability-scanner/scripts/security_scan.py +0 -0
- package/templates/skills/knowledge/webapp-testing/SKILL.md +0 -0
- package/templates/skills/knowledge/webapp-testing/scripts/playwright_runner.py +0 -0
- package/templates/skills/react-components/README.md +36 -0
- package/templates/skills/react-components/SKILL.md +53 -0
- package/templates/skills/react-components/examples/gold-standard-card.tsx +80 -0
- package/templates/skills/react-components/package-lock.json +231 -0
- package/templates/skills/react-components/package.json +16 -0
- package/templates/skills/react-components/resources/architecture-checklist.md +15 -0
- package/templates/skills/react-components/resources/component-template.tsx +37 -0
- package/templates/skills/react-components/resources/stitch-api-reference.md +14 -0
- package/templates/skills/react-components/resources/style-guide.json +27 -0
- package/templates/skills/react-components/scripts/fetch-stitch.sh +30 -0
- package/templates/skills/react-components/scripts/validate.js +68 -0
- package/templates/skills/stitch-loop/README.md +54 -0
- package/templates/skills/stitch-loop/SKILL.md +235 -0
- package/templates/skills/stitch-loop/examples/SITE.md +73 -0
- package/templates/skills/stitch-loop/examples/next-prompt.md +25 -0
- package/templates/skills/stitch-loop/resources/baton-schema.md +61 -0
- package/templates/skills/stitch-loop/resources/site-template.md +104 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,78 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.1.7] - 2026-02-07
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **Auto-Update in Skill Creator**: `init_skill.py` now auto-runs `update_catalog.py` and `sync_docs.py` after creating a new skill.
|
|
13
|
+
- Default ON — use `--no-auto-update` to skip.
|
|
14
|
+
- New `--skills-dir` flag for specifying catalog update target directory.
|
|
15
|
+
- Non-fatal: graceful warnings if documentation skill is not installed.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- **NotebookLM MCP Skill**: Migrated to `PleasePrompto/notebooklm-mcp` browser-automated implementation with full auth, library management, and stealth mode support.
|
|
20
|
+
- **Skill Creator Documentation** (`SKILL_skillcreator.md`):
|
|
21
|
+
- Step 3: Documents new auto-update behavior and `--no-auto-update` / `--skills-dir` flags.
|
|
22
|
+
- Step 6: Notes that manual catalog update is now only needed for modifications/deletions.
|
|
23
|
+
- **SKILLS_CATALOG.md**: Regenerated with 45 public skills.
|
|
24
|
+
|
|
25
|
+
### Fixed
|
|
26
|
+
|
|
27
|
+
- **`init_skill.py` argument parsing**: Migrated from fragile positional parsing (`sys.argv`) to robust `argparse` with proper help text and validation.
|
|
28
|
+
- **`sync_docs.py` invocation**: Fixed `--update-catalog` flag to pass `"true"` as required value (not just the bare flag).
|
|
29
|
+
|
|
30
|
+
## [1.1.6] - 2026-02-07
|
|
31
|
+
|
|
32
|
+
### Added
|
|
33
|
+
|
|
34
|
+
- **37 Knowledge Skills Promoted to Root**: All knowledge-pack skills now live at `skills/` root alongside core skills for unified access:
|
|
35
|
+
- `api-patterns`, `app-builder`, `architecture`, `bash-linux`, `behavioral-modes`, `brainstorming`, `clean-code`, `code-review-checklist`, `database-design`, `deployment-procedures`, `documentation-templates`, `frontend-design`, `game-development`, `geo-fundamentals`, `i18n-localization`, `intelligent-routing`, `lint-and-validate`, `mcp-builder`, `mobile-design`, `nextjs-best-practices`, `nodejs-best-practices`, `parallel-agents`, `performance-profiling`, `plan-writing`, `powershell-windows`, `python-patterns`, `react-patterns`, `red-team-tactics`, `seo-fundamentals`, `server-management`, `systematic-debugging`, `tailwind-patterns`, `tdd-workflow`, `testing-patterns`, `vulnerability-scanner`, `webapp-testing`.
|
|
36
|
+
- **NotebookLM MCP Skill**: New `notebooklm-mcp` skill to interact with Google NotebookLM via Model Context Protocol, with documentation, example script, and reference assets.
|
|
37
|
+
- **Opencode Support**: Added `OPENCODE.md` configuration file for Opencode editor compatibility with `opencode-antigravity-auth` plugin.
|
|
38
|
+
- **Execution Scripts**: Two new deterministic execution scripts:
|
|
39
|
+
- `memory_manager.py` — Centralized memory management for Qdrant operations.
|
|
40
|
+
- `session_init.py` — Session initialization and context bootstrapping.
|
|
41
|
+
- **Stitch Skills in Templates**: `design-md`, `react-components`, and `stitch-loop` now included in knowledge templates (`templates/skills/knowledge/`) for NPX distribution.
|
|
42
|
+
- **Self-Update in Templates**: `self-update` skill with `update_kit.py` added to knowledge templates.
|
|
43
|
+
- **Knowledge SKILLS_CATALOG**: New comprehensive `SKILLS_CATALOG.md` inside `templates/skills/knowledge/` for template-level skill discovery.
|
|
44
|
+
|
|
45
|
+
### Changed
|
|
46
|
+
|
|
47
|
+
- **AGENTS.md**: Added "Getting Started" section with installation, dependency, and update instructions.
|
|
48
|
+
- **Memory Integration Directive**: Complete rewrite of `directives/memory_integration.md` — simplified from 211 lines to 95 lines with clearer goal/inputs/execution structure and Ollama embedding documentation.
|
|
49
|
+
- **Skill Creator**: Updated `SKILL_skillcreator.md` with refined skill creation guidelines.
|
|
50
|
+
- **SKILLS_CATALOG.md**: Expanded with 560+ lines of new skill entries covering all promoted knowledge skills.
|
|
51
|
+
- **Documentation Skill**: Updated `skills/documentation/SKILL.md` with improved detection and sync logic.
|
|
52
|
+
- **Template Hierarchy Restructured**: Shifted standalone template skills (`design-md`, `react-components`, `stitch-loop`) into `templates/skills/knowledge/` for consistent NPX packaging.
|
|
53
|
+
|
|
54
|
+
### Improved
|
|
55
|
+
|
|
56
|
+
- **Core Skill Definitions**: Refined SKILL.md files across `pdf-reader`, `qdrant-memory`, and `webcrawler` with updated descriptions, triggers, and references.
|
|
57
|
+
- **Qdrant Memory Scripts**: Updated all 7 scripts (`benchmark_token_savings.py`, `embedding_utils.py`, `hybrid_search.py`, `init_collection.py`, `memory_retrieval.py`, `semantic_cache.py`, `test_skill.py`) with improved patterns.
|
|
58
|
+
- **Knowledge Skill Documentation**: Mass update of SKILL.md definitions across 36+ knowledge skills with enhanced frontmatter, triggers, and reference content in templates.
|
|
59
|
+
- **Audit Scripts**: Updated `ux_audit.py`, `security_scan.py`, `lighthouse_audit.py`, `test_runner.py`, `playwright_runner.py`, and `seo_checker.py` in templates.
|
|
60
|
+
|
|
61
|
+
### Fixed
|
|
62
|
+
|
|
63
|
+
- **Version Bump**: Package version correctly set to `1.1.6` in `package.json`.
|
|
64
|
+
- **Template Cleanup**: Removed duplicate standalone Stitch skill templates (`templates/skills/design-md/`, `templates/skills/react-components/`, `templates/skills/stitch-loop/`), consolidated into `templates/skills/knowledge/`.
|
|
65
|
+
- **Removed `verify_public_release.py`**: Deprecated top-level verification script removed (functionality integrated into CI/CD pipeline).
|
|
66
|
+
|
|
67
|
+
## [1.1.5] - 2026-01-27
|
|
68
|
+
|
|
69
|
+
### Added
|
|
70
|
+
|
|
71
|
+
- **Stitch Skills Suite**: Added three new skills from Google Stitch:
|
|
72
|
+
- `design-md`: Analyzes Stitch projects to synthesize semantic `DESIGN.md` systems.
|
|
73
|
+
- `react-components`: Converts Stitch screens into modular, validating React components.
|
|
74
|
+
- `stitch-loop`: Orchestrates autonomous iterative website building loops.
|
|
75
|
+
- **Memory Integration**: Integrated `qdrant-memory` into the Stitch skills suite for:
|
|
76
|
+
- Storing design systems for future retrieval (`design-md`).
|
|
77
|
+
- Retrieving code patterns and interfaces (`react-components`).
|
|
78
|
+
- Leveraging past decisions and project context (`stitch-loop`).
|
|
79
|
+
|
|
8
80
|
## [1.1.2] - 2026-01-23
|
|
9
81
|
|
|
10
82
|
### Added
|
package/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to the Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2024-2026 Elton Machado (TechWaveDev)
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@techwavedev/agi-agent-kit",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.7",
|
|
4
4
|
"description": "Enterprise-Grade Agentic Framework - Modular skill-based AI assistant toolkit with deterministic execution and semantic memory.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"agi-agent-kit": "./bin/init.js"
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: skill-creator
|
|
3
|
-
description: Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends
|
|
3
|
+
description: Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends the agent's capabilities with specialized knowledge, workflows, or tool integrations.
|
|
4
4
|
license: Complete terms in LICENSE.txt
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -10,9 +10,9 @@ This skill provides guidance for creating effective skills.
|
|
|
10
10
|
|
|
11
11
|
## About Skills
|
|
12
12
|
|
|
13
|
-
Skills are modular, self-contained packages that extend
|
|
13
|
+
Skills are modular, self-contained packages that extend the agent's capabilities by providing
|
|
14
14
|
specialized knowledge, workflows, and tools. Think of them as "onboarding guides" for specific
|
|
15
|
-
domains or tasks—they transform
|
|
15
|
+
domains or tasks—they transform the agent from a general-purpose agent into a specialized agent
|
|
16
16
|
equipped with procedural knowledge that no model can fully possess.
|
|
17
17
|
|
|
18
18
|
### What Skills Provide
|
|
@@ -26,9 +26,9 @@ equipped with procedural knowledge that no model can fully possess.
|
|
|
26
26
|
|
|
27
27
|
### Concise is Key
|
|
28
28
|
|
|
29
|
-
The context window is a public good. Skills share the context window with everything else
|
|
29
|
+
The context window is a public good. Skills share the context window with everything else the agent needs: system prompt, conversation history, other Skills' metadata, and the actual user request.
|
|
30
30
|
|
|
31
|
-
**Default assumption:
|
|
31
|
+
**Default assumption: the agent is already very smart.** Only add context the agent doesn't already have. Challenge each piece of information: "Does the agent really need this explanation?" and "Does this paragraph justify its token cost?"
|
|
32
32
|
|
|
33
33
|
Prefer concise examples over verbose explanations.
|
|
34
34
|
|
|
@@ -42,7 +42,7 @@ Match the level of specificity to the task's fragility and variability:
|
|
|
42
42
|
|
|
43
43
|
**Low freedom (specific scripts, few parameters)**: Use when operations are fragile and error-prone, consistency is critical, or a specific sequence must be followed.
|
|
44
44
|
|
|
45
|
-
Think of
|
|
45
|
+
Think of the agent as exploring a path: a narrow bridge with cliffs needs specific guardrails (low freedom), while an open field allows many routes (high freedom).
|
|
46
46
|
|
|
47
47
|
### Anatomy of a Skill
|
|
48
48
|
|
|
@@ -65,7 +65,7 @@ skill-name/
|
|
|
65
65
|
|
|
66
66
|
Every SKILL.md consists of:
|
|
67
67
|
|
|
68
|
-
- **Frontmatter** (YAML): Contains `name` and `description` fields. These are the only fields that
|
|
68
|
+
- **Frontmatter** (YAML): Contains `name` and `description` fields. These are the only fields that the agent reads to determine when the skill gets used, thus it is very important to be clear and comprehensive in describing what the skill is, and when it should be used.
|
|
69
69
|
- **Body** (Markdown): Instructions and guidance for using the skill. Only loaded AFTER the skill triggers (if at all).
|
|
70
70
|
|
|
71
71
|
#### Bundled Resources (optional)
|
|
@@ -77,27 +77,27 @@ Executable code (Python/Bash/etc.) for tasks that require deterministic reliabil
|
|
|
77
77
|
- **When to include**: When the same code is being rewritten repeatedly or deterministic reliability is needed
|
|
78
78
|
- **Example**: `scripts/rotate_pdf.py` for PDF rotation tasks
|
|
79
79
|
- **Benefits**: Token efficient, deterministic, may be executed without loading into context
|
|
80
|
-
- **Note**: Scripts may still need to be read by
|
|
80
|
+
- **Note**: Scripts may still need to be read by the agent for patching or environment-specific adjustments
|
|
81
81
|
|
|
82
82
|
##### References (`references/`)
|
|
83
83
|
|
|
84
|
-
Documentation and reference material intended to be loaded as needed into context to inform
|
|
84
|
+
Documentation and reference material intended to be loaded as needed into context to inform the agent's process and thinking.
|
|
85
85
|
|
|
86
|
-
- **When to include**: For documentation that
|
|
86
|
+
- **When to include**: For documentation that the agent should reference while working
|
|
87
87
|
- **Examples**: `references/finance.md` for financial schemas, `references/mnda.md` for company NDA template, `references/policies.md` for company policies, `references/api_docs.md` for API specifications
|
|
88
88
|
- **Use cases**: Database schemas, API documentation, domain knowledge, company policies, detailed workflow guides
|
|
89
|
-
- **Benefits**: Keeps SKILL.md lean, loaded only when
|
|
89
|
+
- **Benefits**: Keeps SKILL.md lean, loaded only when the agent determines it's needed
|
|
90
90
|
- **Best practice**: If files are large (>10k words), include grep search patterns in SKILL.md
|
|
91
91
|
- **Avoid duplication**: Information should live in either SKILL.md or references files, not both. Prefer references files for detailed information unless it's truly core to the skill—this keeps SKILL.md lean while making information discoverable without hogging the context window. Keep only essential procedural instructions and workflow guidance in SKILL.md; move detailed reference material, schemas, and examples to references files.
|
|
92
92
|
|
|
93
93
|
##### Assets (`assets/`)
|
|
94
94
|
|
|
95
|
-
Files not intended to be loaded into context, but rather used within the output
|
|
95
|
+
Files not intended to be loaded into context, but rather used within the output the agent produces.
|
|
96
96
|
|
|
97
97
|
- **When to include**: When the skill needs files that will be used in the final output
|
|
98
98
|
- **Examples**: `assets/logo.png` for brand assets, `assets/slides.pptx` for PowerPoint templates, `assets/frontend-template/` for HTML/React boilerplate, `assets/font.ttf` for typography
|
|
99
99
|
- **Use cases**: Templates, images, icons, boilerplate code, fonts, sample documents that get copied or modified
|
|
100
|
-
- **Benefits**: Separates output resources from documentation, enables
|
|
100
|
+
- **Benefits**: Separates output resources from documentation, enables the agent to use files without loading them into context
|
|
101
101
|
|
|
102
102
|
#### What to Not Include in a Skill
|
|
103
103
|
|
|
@@ -117,7 +117,7 @@ Skills use a three-level loading system to manage context efficiently:
|
|
|
117
117
|
|
|
118
118
|
1. **Metadata (name + description)** - Always in context (~100 words)
|
|
119
119
|
2. **SKILL.md body** - When skill triggers (<5k words)
|
|
120
|
-
3. **Bundled resources** - As needed by
|
|
120
|
+
3. **Bundled resources** - As needed by the agent (Unlimited because scripts can be executed without reading into context window)
|
|
121
121
|
|
|
122
122
|
#### Progressive Disclosure Patterns
|
|
123
123
|
|
|
@@ -142,7 +142,7 @@ Extract text with pdfplumber:
|
|
|
142
142
|
- **Examples**: See [EXAMPLES.md](EXAMPLES.md) for common patterns
|
|
143
143
|
```
|
|
144
144
|
|
|
145
|
-
|
|
145
|
+
The agent loads FORMS.md, REFERENCE.md, or EXAMPLES.md only when needed.
|
|
146
146
|
|
|
147
147
|
**Pattern 2: Domain-specific organization**
|
|
148
148
|
|
|
@@ -158,7 +158,7 @@ bigquery-skill/
|
|
|
158
158
|
└── marketing.md (campaigns, attribution)
|
|
159
159
|
```
|
|
160
160
|
|
|
161
|
-
When a user asks about sales metrics,
|
|
161
|
+
When a user asks about sales metrics, the agent only reads sales.md.
|
|
162
162
|
|
|
163
163
|
Similarly, for skills supporting multiple frameworks or variants, organize by variant:
|
|
164
164
|
|
|
@@ -171,7 +171,7 @@ cloud-deploy/
|
|
|
171
171
|
└── azure.md (Azure deployment patterns)
|
|
172
172
|
```
|
|
173
173
|
|
|
174
|
-
When the user chooses AWS,
|
|
174
|
+
When the user chooses AWS, the agent only reads aws.md.
|
|
175
175
|
|
|
176
176
|
**Pattern 3: Conditional details**
|
|
177
177
|
|
|
@@ -192,12 +192,12 @@ For simple edits, modify the XML directly.
|
|
|
192
192
|
**For OOXML details**: See [OOXML.md](OOXML.md)
|
|
193
193
|
```
|
|
194
194
|
|
|
195
|
-
|
|
195
|
+
The agent reads REDLINING.md or OOXML.md only when the user needs those features.
|
|
196
196
|
|
|
197
197
|
**Important guidelines:**
|
|
198
198
|
|
|
199
199
|
- **Avoid deeply nested references** - Keep references one level deep from SKILL.md. All reference files should link directly from SKILL.md.
|
|
200
|
-
- **Structure longer reference files** - For files longer than 100 lines, include a table of contents at the top so
|
|
200
|
+
- **Structure longer reference files** - For files longer than 100 lines, include a table of contents at the top so the agent can see the full scope when previewing.
|
|
201
201
|
|
|
202
202
|
## Skill Creation Process
|
|
203
203
|
|
|
@@ -266,6 +266,12 @@ Usage:
|
|
|
266
266
|
|
|
267
267
|
```bash
|
|
268
268
|
scripts/init_skill.py <skill-name> --path <output-directory>
|
|
269
|
+
|
|
270
|
+
# Skip automatic catalog/docs updates
|
|
271
|
+
scripts/init_skill.py <skill-name> --path <output-directory> --no-auto-update
|
|
272
|
+
|
|
273
|
+
# Specify skills directory for catalog updates (if different from --path)
|
|
274
|
+
scripts/init_skill.py <skill-name> --path <output-directory> --skills-dir skills/
|
|
269
275
|
```
|
|
270
276
|
|
|
271
277
|
The script:
|
|
@@ -274,16 +280,20 @@ The script:
|
|
|
274
280
|
- Generates a SKILL.md template with proper frontmatter and TODO placeholders
|
|
275
281
|
- Creates example resource directories: `scripts/`, `references/`, and `assets/`
|
|
276
282
|
- Adds example files in each directory that can be customized or deleted
|
|
283
|
+
- **Auto-runs `update_catalog.py`** to regenerate `SKILLS_CATALOG.md` (default ON)
|
|
284
|
+
- **Auto-runs `sync_docs.py`** to synchronize documentation (default ON, if documentation skill exists)
|
|
285
|
+
|
|
286
|
+
> **Note:** Use `--no-auto-update` to skip automatic catalog and documentation updates.
|
|
277
287
|
|
|
278
288
|
After initialization, customize or remove the generated SKILL.md and example files as needed.
|
|
279
289
|
|
|
280
290
|
### Step 4: Edit the Skill
|
|
281
291
|
|
|
282
|
-
When editing the (newly-generated or existing) skill, remember that the skill is being created for another instance of
|
|
292
|
+
When editing the (newly-generated or existing) skill, remember that the skill is being created for another instance of the agent to use. Include information that would be beneficial and non-obvious to Claude. Consider what procedural knowledge, domain-specific details, or reusable assets would help another the agent instance execute these tasks more effectively.
|
|
283
293
|
|
|
284
294
|
#### Learn Proven Design Patterns
|
|
285
295
|
|
|
286
|
-
|
|
296
|
+
Consult these helpful guides based on your skill's needs:
|
|
287
297
|
|
|
288
298
|
- **Multi-step processes**: See references/workflows.md for sequential workflows and conditional logic
|
|
289
299
|
- **Specific output formats or quality standards**: See references/output-patterns.md for template and example patterns
|
|
@@ -307,10 +317,10 @@ Any example files and directories not needed for the skill should be deleted. Th
|
|
|
307
317
|
Write the YAML frontmatter with `name` and `description`:
|
|
308
318
|
|
|
309
319
|
- `name`: The skill name
|
|
310
|
-
- `description`: This is the primary triggering mechanism for your skill, and helps
|
|
320
|
+
- `description`: This is the primary triggering mechanism for your skill, and helps the agent understand when to use the skill.
|
|
311
321
|
- Include both what the Skill does and specific triggers/contexts for when to use it.
|
|
312
322
|
- Include all "when to use" information here - Not in the body. The body is only loaded after triggering, so "When to Use This Skill" sections in the body are not helpful to Claude.
|
|
313
|
-
- Example description for a `docx` skill: "Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. Use when
|
|
323
|
+
- Example description for a `docx` skill: "Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. Use when the agent needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks"
|
|
314
324
|
|
|
315
325
|
Do not include any other fields in YAML frontmatter.
|
|
316
326
|
|
|
@@ -348,7 +358,10 @@ If validation fails, the script will report the errors and exit without creating
|
|
|
348
358
|
|
|
349
359
|
**CRITICAL:** After any skill operation (create, modify, or delete), the Skills Catalog must be updated. This ensures all skills are discoverable and documented.
|
|
350
360
|
|
|
361
|
+
> **For new skills:** `init_skill.py` now auto-runs catalog and documentation updates by default. Manual update is only needed when modifying or deleting existing skills.
|
|
362
|
+
|
|
351
363
|
```bash
|
|
364
|
+
# Manual update (for modifications/deletions, or if --no-auto-update was used)
|
|
352
365
|
scripts/update_catalog.py --skills-dir skills/
|
|
353
366
|
```
|
|
354
367
|
|
|
File without changes
|
|
File without changes
|