@hasna/skills 0.1.25 → 0.1.26
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 +16140 -15610
- package/bin/mcp.js +1 -1
- package/dist/cli/commands/registry.d.ts +2 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +14295 -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 +1 -1
- package/skills/scaffold-project/my-app/.env.example +2 -0
- package/skills/scaffold-project/my-app/README.md +72 -0
- package/skills/scaffold-project/my-app/package.json +29 -0
- package/skills/scaffold-project/my-app/src/index.ts +23 -0
- package/skills/scaffold-project/my-app/tsconfig.json +33 -0
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.26",
|
|
38749
38749
|
description: "Skills library for AI coding agents",
|
|
38750
38750
|
type: "module",
|
|
38751
38751
|
bin: {
|
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";
|