ワンクリックで
new-tool
A set of resources to help agents create new tools and integrate them into the site build process for successful deployment
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
A set of resources to help agents create new tools and integrate them into the site build process for successful deployment
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
| name | new-tool |
| description | A set of resources to help agents create new tools and integrate them into the site build process for successful deployment |
For guidance on what a tool is and design guidelines for tools in this repository, please refer to the Tool Design Guidelines section of Tools Repository Instructions.
Use this skill when you need to:
Each "tool" is a Hugo page bundle within the content/tools/ directory.
The bundle contains a file (usually HTML/JS) that performs a specific function or task and the supporting metadata and documentation to make it easy to find, use, and understand.
The entire process of creating a new tool and getting it integrated into the site can be summarized in the following phases/steps:
Clarify requirements
html or python or other; strong bias towards HTML/JS).Create the tool bundle
If the hugo binary is available, the steps below can be automated with the command:
# This assumes that this will be a HTML tool; adjust `html` to `python` or other as needed
❯ hugo new tools/html/new-tool-slug-here
Content dir "$repoRoot/content/tools/html/new-tool-slug-here" created
Else, follow these manual steps:
Create folder: content/tools/<language>/<new-tool-slug-here>/.
Add index.md with front matter (title/description/tags/resources). See existing tools for examples.
date field only needs YYYY-MM-DD (time is not required).date command to confirm the current date before setting it.Regardless of method used to create the bundle, ensure the front matter includes:
Add tool file as a page resource:
resources: - name: tool-file src: tool.html (or tool.py).Add icon as a page resource if instructed to create one or one was provided:
resources: - name: tool-icon src: images/tool-icon.png.Build the tool file
tool.html with inline JS/CSS as per design guidelines.<script src="/analytics.js"></script> before </body> so usage is tracked.tool.py with necessary functionality and PEP-723 header.Test the tool
tool.html in a browser to verify functionality.
playwright can be used for this if automated testing is needed.pytest can be used for automated testing if needed.Add documentation
index.md.Add icon/image
images/ within the tool bundle.images/.tool-icon.{{< tool-image >}} to index.md so the icon renders on the page.Add page content
{{< tool-link >}} for links.{{< tool-image >}} to render the icon.{{< py-usage >}} inside a fenced code block.Test locally
hugo server and verify the tool page renders.Generate changelog from git history
unreleased section:
uv run ci/build_tool_changelogs.py --tool <language>/<slug> --init## \` - `.Generate data
ci/build_tools_data.py to refresh data/tools.yaml.Verify landing page
hugo server -D does not return any errors.SOC 職業分類に基づく