Hellolet's talk about this Blueprint Skills package today
I usually write blog posts quite casuallywriting whatever comes to mindRecentlywhile working on project scaffoldingI stumbled upon an interesting little tool—the Blueprint Skills packageAlthough its name sounds a bit formalit's actually quite down-to-earthIt's essentially a set of ready-made code templates and configurations that help you quickly set up the framework for a skill projectYou might askwhat is a "skill project"? Wellit can be understood as an interactive module that runs on a certain platformsuch as a chatbot pluginan automation scriptetcThis package saves you the hassle of configuring everything from scratch.
To be honestI was also quite confused when I first saw itOn GitHubthere is a repository called nimitbhargava/blueprintwhich has a directory packages/skillClicking into ityou see files like examplespromptsSKILL.mdpackage.jsonAt that momentI thought"Isn't this just a standard Node project setup?" But after studying it carefullyI realized there is a set of conventions behind it specifically designed for quickly developing skill componentsFor instanceSKILL.md contains metadata such as skill namedescriptionand entry file; the prompts directory holds conversation promptsIf you want to create a skill with AI dialogueyou can directly modify the provided prompt templatesThe examples directory includes two samples: a simple "Hello World" and a slightly more complex demo with form interaction.
Installation Experience: One Command Solves Everything
The installation process is super easyAs long as you have Node.js installed locallyopen a terminal and type a single line command:
npx skills add <repository> --skill skill
Note that the --skill parameter is followed by the directory name skillbecause the entire package is located under packages/skill in the repositorynpx will automatically download the entire repository and extract that directoryThe first time you run ityou may be prompted to install some dependencies—just follow the instructions.
After installationyou'll notice a new folder called blueprint-skill (the name might vary slightly) in your current directoryOpen itand you'll see the same structure as on GitHubNow you can start experimentingWant to run it and see the result? Firstmake sure you have theCLI installed (this CLI is the environment for running skills)then simply type npx skills run skill to startAlternativelyyou can run astro run in the project root (I think it supports that)The interface will show a simple interactive page where you can input somethingclick buttonsetc.—depending on which example you chose.
What's Inside? Let's Take a Look
Opening the folderhere are some parts worth noting:
- examples/: Contains two example directorieseach with
index.htmlandapp.jsOne is a basic message displayand the other is a form with input fields and buttonsThe code is clean and well-commentedfriendly for beginners. - prompts/: This is the soul of the skill—if you want the skill to have conversational capabilitiesyou put prompts hereI took a look and currently there is a default system prompt and a user prompt templateYou can modify them according to your scenariosuch as adding role settingstask descriptionsetc.
- SKILL.md: This is the "identity card" of the skillrecording nameauthorversionentry fileetcIt must be maintained properly when publishing the skill.
- package.json: Standard Node project configuration with minimal dependenciesbasically just something like
astro-sdkYou can add other libraries as needed.
What surprised me most was the prompt design in prompts/It uses a fairly general structure that you can directly connect to a large modelFor exampleif I want to create a "Travel Guide Assistant" skillI only need to modify the system prompt to define the role as "senior tour guide" and replace the placeholders in the user prompt with the user's questionand it's basically ready to useThis saves me the trial-and-error time of writing prompts from scratch.
Practical Tips
After using it a few timesI've summarized some pitfalls (I stepped into them the first time):
Firstdon't forget to install theCLI firstAlthough the npx command pulls the codewithout a local runtime environmentit won't runThe installation command is simple: npm install -g @/cli (the exact package name might differcheck the official documentation).
Secondafter modifying the code in examplesyou need to restart the skillUnlike some frameworks with hot reloadthis package currently works in manual modeHoweverfor the learning stagerestarting is not a big hassle.
Thirdthe prompts files support JSON formatWhen I first edited themI wrote them as plain textand the skill failed to loadLaterreading SKILL.mdI realized that files under the prompts directory need to be JSONcontaining role and content fieldsSo pay attention to the format when writing prompts.
What Problem Does It Solve?
Simply putthis Skills package makes skill development modular and reusableIn the pastif I wanted to create a conversational mini-toolI had to set up the project structure from scratchwrite the entry fileconfigure APIsetcNow I can directly clone this packagereplace the examples with my own logicand I'm a few steps closer to finishing