@hasna/skills 0.1.25 → 0.1.27
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 +21 -0
- package/bin/index.js +16142 -15610
- package/bin/mcp.js +3 -1
- package/dist/cli/commands/registry.d.ts +2 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +14297 -192
- package/dist/lib/config.d.ts +1 -0
- package/dist/lib/registry-sync.d.ts +53 -0
- package/dist/lib/registry.d.ts +1 -1
- package/dist/lib/remote-registry.d.ts +19 -0
- package/dist/lib/skill-validation.d.ts +45 -0
- package/dist/types/api.d.ts +1 -0
- package/package.json +3 -1
- package/skills/consolelog/exports/products-2025-12-14T13-50-53-041Z.csv +0 -16
- package/skills/consolelog/exports/products-2025-12-14T13-50-53-041Z.json +0 -227
package/bin/mcp.js
CHANGED
|
@@ -38745,7 +38745,7 @@ init_adapter();
|
|
|
38745
38745
|
// package.json
|
|
38746
38746
|
var package_default = {
|
|
38747
38747
|
name: "@hasna/skills",
|
|
38748
|
-
version: "0.1.
|
|
38748
|
+
version: "0.1.27",
|
|
38749
38749
|
description: "Skills library for AI coding agents",
|
|
38750
38750
|
type: "module",
|
|
38751
38751
|
bin: {
|
|
@@ -38765,6 +38765,8 @@ var package_default = {
|
|
|
38765
38765
|
"skills/",
|
|
38766
38766
|
"!skills/**/node_modules",
|
|
38767
38767
|
"!skills/**/.skills",
|
|
38768
|
+
"!skills/**/exports",
|
|
38769
|
+
"!skills/scaffold-project/my-app",
|
|
38768
38770
|
"LICENSE",
|
|
38769
38771
|
"README.md"
|
|
38770
38772
|
],
|
package/dist/index.d.ts
CHANGED
|
@@ -11,5 +11,8 @@ export { SKILLS, BASIC_SKILL_NAMES, CATEGORIES, getSkill, getSkillsByCategory, s
|
|
|
11
11
|
export { installSkill, installSkills, installSkillForAgent, removeSkillForAgent, getInstalledSkills, removeSkill, skillExists, getSkillPath, getAgentSkillsDir, getAgentSkillPath, AGENT_TARGETS, type InstallResult, type InstallOptions, type AgentTarget, type AgentScope, type AgentInstallOptions, getInstallMeta, disableSkill, enableSkill, getDisabledSkills, } from "./lib/installer.js";
|
|
12
12
|
export { getSkillDocs, getSkillBestDoc, getSkillRequirements, runSkill, generateEnvExample, generateSkillMd, type SkillDocs, type SkillRequirements, } from "./lib/skillinfo.js";
|
|
13
13
|
export { loadConfig, saveConfig, getConfigPath, type SkillsConfig, type ConfigScope, } from "./lib/config.js";
|
|
14
|
+
export { buildSkillsApiUrl, getConfiguredApiUrl, loadRemoteRegistry, parseRemoteRegistryPayload, type RemoteRegistryOptions, } from "./lib/remote-registry.js";
|
|
14
15
|
export { addSchedule, listSchedules, removeSchedule, setScheduleEnabled, getDueSchedules, recordScheduleRun, validateCron, getNextRun, type SkillSchedule, } from "./lib/scheduler.js";
|
|
16
|
+
export { parseSkillFrontmatter, validateRegistryConsistency, validateSkillDirectory, type RegistryConsistencyResult, type SkillFrontmatter, type SkillValidationMessage, type SkillValidationResult, } from "./lib/skill-validation.js";
|
|
17
|
+
export { createRegistrySyncArtifact, writeRegistrySyncArtifact, type RegistrySyncArtifact, type RegistrySyncOptions, type RegistrySyncSkill, } from "./lib/registry-sync.js";
|
|
15
18
|
export type { SkillResponse, SkillDetailResponse, CategoryResponse, TagResponse, InstallResponse, RemoveResponse, VersionResponse, ExportResponse, ImportResponse, SearchResponse, CategoryInstallResponse, ErrorResponse, } from "./types/api.js";
|