@harshitj183/ai-skills 2.2.4 → 2.2.5

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/SKILL.md CHANGED
@@ -93,12 +93,12 @@ Invoke these specific technical files for implementation workflows curated from
93
93
  - `skills/ai_history_maintenance.md` - Mandatory Project History Logging
94
94
 
95
95
  # 10. History Maintenance (MANDATORY)
96
- - **Log Actions**: After completing any task, you **MUST** update the relevant files in the `history/` directory (located in the library's root or `smart-instructions/history/`).
97
- - **Context Search**: Always read the files in the `history/` directory to understand the project's evolution and design decisions before proposing major changes.
96
+ - **Log Actions**: After completing any task, you **MUST** update the relevant logs in the `history/` directory (e.g., `smart-instructions/history/ai_activity_log.md`).
97
+ - **Context Search**: Always read your local project's history files in the `history/` directory to understand previous work and design decisions on this specific project.
98
98
  - **Traceability**: Record your specific actions in `history/ai_activity_log.md` with the date.
99
99
  - **Reference**: Follow the [History Maintenance Skill](skills/ai_history_maintenance.md) for detailed logging protocols.
100
100
 
101
101
  # 11. System Signature
102
102
  - EVERY response MUST conclude with the following signature line to signify the library is active:
103
103
  - `---`
104
- - `⚡ Smart AI Skills Library | v2.2.4 | Active`
104
+ - `⚡ Smart AI Skills Library | v2.2.5 | Active`
package/bin/cli.js CHANGED
@@ -23,7 +23,7 @@ const targetDirBase = path.join(targetDir, 'smart-instructions');
23
23
  program
24
24
  .name('ai-skills')
25
25
  .description('The Ultimate AI Skill Library CLI')
26
- .version('2.2.4');
26
+ .version('2.2.5');
27
27
 
28
28
  program
29
29
  .command('init')
@@ -120,12 +120,22 @@ program
120
120
  });
121
121
  }
122
122
 
123
- // Add History tracking for consumer context
124
- console.log(`${colors.blue}[+] Initializing History tracking logs...${colors.reset}`);
125
- const historyDir = path.join(sourceDir, 'history');
126
- if (fs.existsSync(historyDir)) {
127
- fs.copySync(historyDir, path.join(targetDirBase, 'history'));
128
- }
123
+ // Add History tracking for consumer context (Fresh Templates)
124
+ console.log(`${colors.blue}[+] Initializing History tracking logs (Fresh Templates)...${colors.reset}`);
125
+ const targetHistoryDir = path.join(targetDirBase, 'history');
126
+ fs.ensureDirSync(targetHistoryDir);
127
+
128
+ const historyTemplates = {
129
+ 'history.md': `# 📖 Project History & Context\n\nWelcome to your project's AI history hub. This system is designed to provide context for AI agents working on this project.\n\n### 📂 Modules\n| Module | Description | Link |\n| :--- | :--- | :--- |\n| **[AI Activity Log](ai_activity_log.md)** | Record of AI agent contributions. | [View Log](ai_activity_log.md) |\n| **[Project Timeline](project_timeline.md)** | Roadmap and milestones. | [View Timeline](project_timeline.md) |\n| **[Version History](version_history.md)** | Detailed release logs. | [View Versions](version_history.md) |\n\n---\n*Maintained by: AI Skills History System*`,
130
+ 'ai_activity_log.md': `# 🤖 AI Activity Log\n\nThis log tracks specific contributions and tasks performed by AI agents in this project.\n\n---\n\n## 🏃 Active Session (Initial Setup)\n- **Task**: Initialized Smart AI Skills Library (v${program.version()}).\n- **Objective**: Established base AI context and roles library.\n\n---\n*Last updated by: AI Assistant (init)*`,
131
+ 'project_timeline.md': `# 📅 Project Timeline\n\nMajor milestones and timeline of this project.\n\n---\n\n### ${new Date().toLocaleDateString('en-US', { month: 'long', day: 'numeric', year: 'numeric' })}\n- **Initialized**: AI Skills Library integrated into the project.\n\n---\n*Last updated by: AI Assistant (init)*`,
132
+ 'version_history.md': `# 📦 Version History\n\nVersion tracking for this specific project.\n\n---\n- **v0.1.0** (${new Date().toLocaleDateString('en-US', { month: 'long', day: 'numeric', year: 'numeric' })}): Initial setup with Smart AI Skills Library.\n\n---\n*Last updated by: AI Assistant (init)*`,
133
+ 'milestones.md': `# 🏆 Project Milestones\n\nTracking the breakthrough moments of this project.\n\n---\n- **Initialization**: Integrated AI Skills Library (v${program.version()}).\n\n---\n*Last updated by: AI Assistant (init)*`
134
+ };
135
+
136
+ Object.entries(historyTemplates).forEach(([filename, content]) => {
137
+ fs.writeFileSync(path.join(targetHistoryDir, filename), content);
138
+ });
129
139
 
130
140
  console.log(`\n${colors.bright}${colors.green}[Success] The 'smart-instructions' folder has been added to your project!${colors.reset}`);
131
141
  console.log(`${colors.yellow}Tip: Let your AI Agent pick skills natively, or run 'npx ai-skills configure' to setup your IDE!${colors.reset}\n`);
@@ -257,7 +267,13 @@ program
257
267
  if (fs.existsSync(sDir)) fs.copySync(sDir, path.join(targetDir, 'smart-instructions', 'skills'));
258
268
 
259
269
  const hDir = path.join(sourceDir, 'history');
260
- if (fs.existsSync(hDir)) fs.copySync(hDir, path.join(targetDir, 'smart-instructions', 'history'));
270
+ const targetHistoryDir = path.join(targetDir, 'smart-instructions', 'history');
271
+ if (fs.existsSync(hDir)) {
272
+ // Only update the guide, preserving consumer logs
273
+ const guide = 'history.md';
274
+ fs.ensureDirSync(targetHistoryDir);
275
+ if (fs.existsSync(path.join(hDir, guide))) fs.copyFileSync(path.join(hDir, guide), path.join(targetHistoryDir, guide));
276
+ }
261
277
 
262
278
  const targetSkillMd = path.join(targetDir, 'smart-instructions', 'SKILL.md');
263
279
  if (fs.existsSync(path.join(sourceDir, 'SKILL.md'))) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harshitj183/ai-skills",
3
- "version": "2.2.4",
3
+ "version": "2.2.5",
4
4
  "description": "The Ultimate 18 Mega-Skills & 8 Roles Library for AI Agents (Cursor, Claude Code, Copilot, Antigravity) with AI History Tracking",
5
5
  "main": "bin/cli.js",
6
6
  "bin": {
@@ -1,38 +0,0 @@
1
- # 🤖 AI Activity Log
2
-
3
- This log tracks the specific contributions and tasks performed by AI agents (Antigravity, Claude Code, etc.) within the project.
4
-
5
- ---
6
-
7
- ## 🏃 Active Session (Mar 21, 2026)
8
-
9
- ### AI Contributor: Antigravity
10
- - **Task**: **Library-Wide History Integration (v2.2.4)**
11
- - **Move**: Relocated root `history.md` to `history/history.md` for better organization.
12
- - **Refactor**: Updated `bin/cli.js` to automatically copy the `history/` folder to consumer projects during `init` and `update`.
13
- - **Sync**: Added `history/` to `package.json` published files list.
14
- - **Guidance**: Updated `SKILL.md` to ensure AI agents read `history/` for project context before acting.
15
- - **Outcome**: Consumers now get full project history and active logging context when they install the library.
16
-
17
- ---
18
-
19
- ## 📅 Historical Log (Sorted by Date)
20
-
21
- ### Mar 21, 2026
22
- - **Contributor**: Anthropic Claude & Gemini Agents
23
- - **Activity**: Added AI library status signature in the library core.
24
- - **Activity**: Cleaned up project files by deleting obsolete `.aal` files.
25
- - **Activity**: Verified and tested NPM local package registration and installation.
26
-
27
- ### Mar 20, 2026
28
- - **Contributor**: GitHub Actions & AI
29
- - **Activity**: Configured `npm-publish.yml` for automated releases.
30
- - **Activity**: Integrated security tokens for NPM repository access.
31
-
32
- ### Mar 19-20, 2026
33
- - **Contributor**: Various AI Assistants
34
- - **Activity**: Expanded the `skills/` and `roles/` library to 17 skills and 8 roles.
35
- - **Activity**: Improved the README file with comprehensive usage guides.
36
-
37
- ---
38
- *Last updated by: AI Assistant (Antigravity)*
@@ -1,29 +0,0 @@
1
- # 📖 AI Skills Library History & Context
2
-
3
- This folder contains the evolution history, milestones, and technical context of the `@harshitj183/ai-skills` library.
4
-
5
- > [!IMPORTANT]
6
- > **To any AI Agent reading this:**
7
- > This history system is designed to provide you with the full context of this library. Use these logs to understand previous design decisions, added skills, and version changes. You are **REQUIRED** to maintain local logs in this directory if you make changes to the project when this library is integrated into a workflow.
8
-
9
- ---
10
-
11
- ## 📂 History Modules
12
-
13
- | Module | Description | Link |
14
- | :--- | :--- | :--- |
15
- | **Project Timeline** | High-level roadmap and major events. | [View Timeline](project_timeline.md) |
16
- | **AI Activity Log** | Detailed record of AI agent contributions. | [View AI Log](ai_activity_log.md) |
17
- | **Version History** | Release notes and version-specific changes. | [View Version History](version_history.md) |
18
- | **Milestones** | Key achievements and breakthrough moments. | [View Milestones](milestones.md) |
19
-
20
- ---
21
-
22
- ## 🤖 AI Responsibility (Context Awareness)
23
- This history ecosystem is **AI-Maintained**.
24
- 1. **Understand Context**: Read these files to know the current trajectory of the library.
25
- 2. **Document Actions**: Every AI agent must update `ai_activity_log.md` after a task.
26
- 3. **Traceability**: Ensure that all changes are date-stamped and properly categorized.
27
-
28
- ---
29
- *Maintained by: AI Skills History System*
@@ -1,30 +0,0 @@
1
- # 🏆 Project Milestones
2
-
3
- Tracking the major achievements and breakthrough moments of `@harshitj183/ai-skills`.
4
-
5
- ---
6
-
7
- ## 🌟 Key Milestones
8
-
9
- ### Mar 21, 2026: **History System Launch**
10
- - **Detail**: Introduced the comprehensive History Tracking folder to keep AI actions and project evolution transparent.
11
- - **Impact**: Better documentation and AI task context for future collaborators.
12
-
13
- ### Mar 21, 2026: **AI Signature Implementation**
14
- - **Detail**: Every response now includes a professional confirmation signature. (v2.2.x)
15
- - **Impact**: Strengthened the brand identity and version transparency.
16
-
17
- ### Mar 20, 2026: **CI/CD Automation Achievement**
18
- - **Detail**: Successfully automated NPM publishing via GitHub Actions.
19
- - **Impact**: Faster deployment cycle and reduced manual overhead.
20
-
21
- ### Mar 19, 2026: **Mega-Skills Expansion (17+ Skills)**
22
- - **Detail**: Crossed the threshold of 17 Mega-Skills, making this one of the most comprehensive libraries available.
23
- - **Impact**: High versatility across various AI-driven development workflows.
24
-
25
- ### Feb 2026: **Initial Birth of the AI-Skills Library**
26
- - **Detail**: The project was conceived and initialized to help AI agents work better with advanced instructions.
27
- - **Impact**: Foundation laid for a powerful agentic skill repository.
28
-
29
- ---
30
- *Last updated by: AI Assistant (Antigravity)*
@@ -1,28 +0,0 @@
1
- # 📅 Project Timeline
2
-
3
- This document tracks the overall development timeline and major milestones of the `@harshitj183/ai-skills` project.
4
-
5
- ## 🕒 Current Status: v2.2.3
6
- - **Active Focus**: Performance optimization and history tracking.
7
- - **Repository**: [github.com/harshitj183/ai-skills](https://github.com/harshitj183/ai-skills.git)
8
-
9
- ---
10
-
11
- ## 🏗️ 2026 Timeline
12
-
13
- ### March 2026
14
- - **Mar 21, 2026**:
15
- - **Integration**: Added history tracking system with dedicated folder and markdown files.
16
- - **Testing**: Ongoing local testing of NPM package functionality.
17
- - **Polish**: Added AI signature to confirm library status and version. (v2.2.x)
18
- - **Maintenance**: Cleaned up unused temporary files (*.aal).
19
- - **Mar 20, 2026**:
20
- - **Automation**: Setup GitHub Actions workflow for automated NPM publishing.
21
- - **Release**: Initial major updates to the v2 core.
22
-
23
- ### February 2026
24
- - **Initial Setup**: Core directory structure established with `bin`, `roles`, and `skills`.
25
- - **First Release**: Published to NPM registry under `@harshitj183/ai-skills`.
26
-
27
- ---
28
- *Last updated by: AI Assistant (Antigravity)*
@@ -1,34 +0,0 @@
1
- # 📦 Version History
2
-
3
- This file tracks the evolution of `@harshitj183/ai-skills` through its versions.
4
-
5
- ---
6
-
7
- ## 🚀 Current Version: 2.2.3 (Mar 21, 2026)
8
- - **Features**: Added history tracking system (`history/` folder).
9
- - **Improvements**: Refined the AI signature system.
10
- - **Maintenance**: General file cleanup and directory reorganization.
11
-
12
- ---
13
-
14
- ## 📋 Past Versions
15
-
16
- ### v2.2.2 (Mar 2026)
17
- - **Features**: Integrated AI library status signature for confirmation.
18
- - **Security**: Added automated publishing via GitHub Actions with NPM tokens.
19
-
20
- ### v2.1.0-v2.2.1 (Mar 2026)
21
- - **Library Expansion**: Reached 17 Mega-Skills and 8 Roles.
22
- - **Roles added**: UI/UX Designer, Frontend Developer, Backend Developer, Full Stack Developer, DevOps Engineer, QA Engineer, Mobile Developer, Data Scientist.
23
- - **Skills added**: Vercel/Cloudflare Deployment, GitHub Automation, React Native Performance, and more.
24
-
25
- ### v2.0.0 (Early Mar 2026)
26
- - **Major Update**: Reworked core structure to use modern AI workflows.
27
- - **Binary CLI**: Introduced `ai-skills` CLI tool for easier access.
28
-
29
- ### v1.x.x (Feb 2026)
30
- - **Initial Release**: Basic library of AI skills and roles.
31
- - **Foundations**: Core Markdown formatting and directory structure settled.
32
-
33
- ---
34
- *Last updated by: AI Assistant (Antigravity)*