Agent skill

Skill Forge

by techygarg in techygarg/lattice

Create a new Lattice skill — atom, molecule, or refiner — following all framework conventions.

MITAuto-check passedAgent Workflows

Install Skill Forge

skills CLI
$ npx skills add techygarg/lattice --skill skill-forge -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install techygarg/lattice skill-forge --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/techygarg/lattice.git skills-src && mkdir -p .claude/skills && cp -r skills-src/dev-skills/skill-forge .claude/skills/skill-forge && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
skill-forge
GitHub stars
198
Token cost
~2k tokens
SKILL.md length
906 words
Files
1
Skills in repo
33
Repo updated
First seen
Licence
MIT

At a glance

Create a new Lattice skill — atom, molecule, or refiner — following all framework conventions.

  • Works in 5 steps: Understand intent and select tier → Requirements alignment (molecules and… → Read current conventions → …
  • Adding any new atom
  • SKILL.md covers Step 1: Understand intent and…, Step 2: Requirements alignment…, Step 3: Read current conventions and Step 4: Write the skill files, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Skill Forge is an agent skill from techygarg/lattice. Create a new Lattice skill — atom, molecule, or refiner — following all framework conventions. Writing skill files manually almost always produces convention violations: wrong section order, missing confirmation gates, defaults.md without the right structure. This skill knows all of that and guides you through it. Use whenever adding any new atom, molecule, or refiner to Lattice, or when the user says 'create a new skill', 'add an atom', 'add a molecule', 'add a refiner', 'build X for Lattice', 'new lattice…

Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Skill authoring. The repository describes itself as: Install engineering discipline into any AI coding assistant. Composable skills for design, implementation, review, and team standards. Better process, not just better prompts. The licence is MIT.

When your agent uses it

  • Adding any new atom
  • Refiner to Lattice
  • The user says create a new skill
  • Build X for Lattice

Example prompts

  • “create a new skill”
  • “add an atom”
  • “add a molecule”
  • “/skill-forge”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Understand intent and select tier
  2. Requirements alignment (molecules and refiners only)
  3. Read current conventions
  4. Write the skill files
  5. Confirm files are complete

What it can do on your machine

Read from SKILL.md and the folder at commit 4d6c35f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Skill Forge loads about 2k tokens when it runs. Until then it costs about 159 tokens; SKILL.md has 906 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~159
When it runs · the whole SKILL.md, loaded when a task matches
~2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from techygarg/lattice at commit 4d6c35f, republished under its MIT licence (© techygarg). 906 words, ~1,966 tokens.

Download SKILL.mdSave it as .claude/skills/skill-forge/SKILL.md (or your agent's skills folder).
name
skill-forge
description
Create a new Lattice skill — atom, molecule, or refiner — following all framework conventions. Writing skill files manually almost always produces convention violations: wrong section order, missing confirmation gates, defaults.md without the right structure. This skill knows all of that and guides you through it. Use whenever adding any new atom, molecule, or refiner to Lattice, or when the user says 'create a new skill', 'add an atom', 'add a molecule', 'add a refiner', 'build X for Lattice', 'new lattice skill', or 'skill forge'. Does not validate, align docs, or deploy — those are separate skills you run after.

Lattice Skill Forge

Core responsibility: Create the right files with the right structure for a new Lattice skill.

Input: A description of what the skill should do and when it should trigger.

Output: One or more skill files written to the correct path:

  • Atom → source/atoms/{name}/SKILL.md + source/atoms/{name}/references/defaults.md
  • Molecule → source/molecules/{name}/SKILL.md
  • Refiner → source/refiners/{name}/SKILL.md + source/refiners/{name}/assets/template.md

How to verify this skill did its job:

  • All required files exist at the correct paths
  • Folder name matches name: frontmatter exactly
  • All tier-required sections are present in correct order
  • No placeholder content — all sections contain real, specific content

Step 1: Understand intent and select tier

Ask the user: "What should this skill do, and when should it trigger? Describe it briefly."

From the description, determine the tier:

The skill...Tier
Enforces ONE principle with a checklist and anti-pattern scanAtom
Orchestrates multiple atoms into a multi-step workflowMolecule
Runs a guided interview to produce a .lattice/standards/*.md fileRefiner

State your read and confirm with the user. Get explicit tier agreement before proceeding.


Step 2: Requirements alignment (molecules and refiners only)

Before writing a single line of SKILL.md, agree on the design.

Check knowledge-base/ for an existing requirements doc:

bash
ls knowledge-base/ | grep -i {name}

If found → read it, summarise key design decisions, confirm they still reflect intent.

If not found → resolve these questions through conversation before writing:

For a molecule:

  • Which atoms does it compose? (Read source/atoms/ to see what exists.)
  • Is it generative (produces code/artifacts, linear flow) or planning/interactive (produces living documents, confirmation gates at each phase)?
  • What does it write to .lattice/? Which subfolder? (Must be a named subfolder, never the root.)
  • What is the session resume behavior — how does it handle an interrupted session?

For a refiner:

  • Which atom does it configure? (A refiner must have an atom that reads its output.)
  • What paths.{snake_case_key} config key does it add to .lattice/config.yaml?
  • What sections does the interview template cover?
  • Overlay/override — which is the default mode?

Write a one-paragraph design summary and confirm with the user.

Do NOT write SKILL.md until design is confirmed.


Step 3: Read current conventions

Read PROJECT.md — the Skill Conventions section. Always read it fresh; never rely on memory.

Note the current skill counts (atoms/molecules/refiners) — they will need updating in PROJECT.md after creation, but that is skill-align's job.


Step 4: Write the skill files

Writing an Atom

source/atoms/{name}/SKILL.md — sections in this exact order:

  1. YAML frontmatter — name (lowercase-hyphenated), description (include trigger phrases)
  2. Config Resolution — always this pattern:
    • Check .lattice/config.yaml for paths.{config_key}
    • If found: read doc, check mode: overlay (merge with defaults) or mode: override (replace)
    • If not found: read ./references/defaults.md
  3. Self-Validation Checklist — numbered items, bold label, imperative STOP language, clear pass/fail condition and fix per item
  4. Active Anti-Pattern Scan — checkbox format (- [ ] **Name**: what it looks like → fix), minimum 5 items
  5. Ambiguity Signals — genuine gray areas where two valid approaches exist; resolution guidance for each
  6. Core Principle — what the atom governs, what it does NOT govern (boundary with other atoms)

source/atoms/{name}/references/defaults.md — the embedded defaults:

  • Numbered sections (§1, §2...) matching what a future refiner would produce
  • Opinionated, specific content — not placeholders
  • End with an attribution line
Show full SKILL.md (398 more words)Show less
Writing a Molecule

source/molecules/{name}/SKILL.md:

  1. YAML frontmatter — name, description with trigger phrases
  2. Required Skills — list every atom as framework:{name} with always/conditional qualifier
  3. Mode Detection (if the molecule has modes) — how modes are invoked, what each changes
  4. Workflow — numbered steps with clear inputs and outputs per step

Generative molecule conventions (code-forge, bug-fix, refactor-safely pattern):

  • Linear numbered steps, no confirmation gates
  • Pause only on genuine judgment calls via framework:collaborative-judgment
  • No session resume check needed

Planning/interactive molecule conventions (design-blueprint, requirement-forge pattern):

  • Step 1 MUST check for an existing output document. If found: read it, determine earliest incomplete step, resume from there
  • Every phase MUST have three things: (1) present the output, (2) ask a specific targeted question, (3) hard gate: "Do NOT advance to Step N until the user explicitly confirms."
  • Can exit early — partial output is a valid outcome
  • Always writes to a named .lattice/{subfolder}/ — never to .lattice/ root
Writing a Refiner

source/refiners/{name}/SKILL.md — cover all of these:

  • What it produces (output path, two modes, config key, which atom reads it)
  • Scope clarification (what this refiner does NOT configure)
  • Check for existing doc before starting interview
  • Mode selection conversation (overlay vs override, when to use each)
  • Facilitation approach (one section at a time, defaults-first, record decisions not discussion)
  • Section-by-section guide (reference ./assets/template.md and its Interview Guidance comments)
  • Output assembly rules (overlay: only changed sections; override: all sections)
  • Config update instructions (write paths.{key} to .lattice/config.yaml)
  • Document quality checks (one checklist per mode)

source/refiners/{name}/assets/template.md:

  • Full document structure with <!-- INTERVIEW GUIDANCE: --> comments per section
  • Each guidance block contains: default content, what to ask, probing questions, what is customisable vs. fixed
  • Overlay preamble and override preamble (separate blocks, clearly labeled)
  • Footer with project/date/mode placeholders
  • INTERVIEW GUIDANCE comments are stripped from the final produced document

Step 5: Confirm files are complete

Before finishing, verify:

  • All required files exist at the correct paths
  • Folder name = name: frontmatter field (exactly, character by character)
  • description: contains trigger phrases — what a user would actually type to invoke this
  • All tier-specific sections are present in the correct order
  • For atoms: defaults.md exists and has §-numbered sections with real content
  • For refiners: template.md exists with Interview Guidance comments in every section
  • For planning molecules: every phase has the three-part confirmation gate pattern
  • No section contains placeholder text ("TBD", "TODO", "add content here")

Report what was created and where. Do not run validation, sync, or deploy — those are separate steps.

© techygarg, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in dev-skills/skill-forge of techygarg/lattice.

Open the folder on GitHubat commit 4d6c35f

Compare with similar skills

Skill Forge next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Skill Forge compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Skill Forge this skilltechygarg/lattice198—~2kAutomated safety check: PassMIT
Skill CreatorAzure/azqr79489 repos~8.2kAutomated safety check: PassApache-2.0
Claude Code Skill Developer Guidediet103/claude-code-infrastructure-showcase10k10 repos~3.5kAutomated safety check: PassMIT
Darwin Skill Optimizeralchaincyf/darwin-skill6.2k1 repos~4.7kAutomated safety check: PassMIT
Claude Code Command Developmentanthropics/claude-plugins-official37k10 repos~4.8kAutomated safety check: PassApache-2.0
Claude Code Plugin Structureanthropics/claude-plugins-official37k10 repos~3.4kAutomated safety check: PassApache-2.0

Similar skills

  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    794 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Skill Developer Guide

    diet103/claude-code-infrastructure-showcase

    A guide to creating and managing Claude Code skills with auto-activation: skill-rules.json triggers, hooks, enforcement levels, YAML frontmatter and progressive disclosure.

    10k GitHub starsUsed in 10 repos~3.5k tokens
    Agent WorkflowsAuto-check passed
  • Darwin Skill Optimizer

    alchaincyf/darwin-skill

    Scores SKILL.md files on a nine-dimension rubric, then improves them in a keep-or-revert loop with independent judge agents, test prompts, git history and human checkpoints.

    6.2k GitHub starsUsed in 1 repo~4.7k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Command Development

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code slash commands: Markdown files with YAML frontmatter, arguments, file references, bash context and interactive prompts.

    37k GitHub starsUsed in 10 repos~4.8k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Plugin Structure

    anthropics/claude-plugins-official

    Official

    Explains the directory layout, plugin.json manifest and component organization of a Claude Code plugin, including auto-discovery and portable paths.

    37k GitHub starsUsed in 10 repos~3.4k tokens
    Agent WorkflowsAuto-check passed
  • Skill Release Gate

    rohitg00/ai-engineering-from-scratch

    Evaluates an Agent Skill bundle before release for structure, trigger quality, artifact improvement, script correctness, safety, installed-tree integrity and host portability.

    65k GitHub stars~1k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from techygarg/lattice

All 33 skills in this repo
  • Architecture Compass

    techygarg/lattice

    Architectural thinking partner for an existing repository — scans the codebase, conducts a structured interview, agrees on current architectural state and recommended direction, and produces a…

    198 GitHub stars~4.4k tokensUpdated yesterday
    Auto-check passed
  • Lattice Init

    techygarg/lattice

    Guided setup and upgrade-check experience for Lattice projects -- scans the repository, detects existing configuration and outdated conventions, suggests refiners and available upgrades in priority…

    198 GitHub stars~3.3k tokensUpdated yesterday
    Auto-check passed
  • Skill Align

    techygarg/lattice

    Audit and fix all Lattice documentation, README, docs/, PROJECT.md, GitHub issue templates, and CLAUDE.md to ensure they are fully aligned with the current skill inventory.

    198 GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • Skill Validate

    techygarg/lattice

    Validate any Lattice SKILL.md against all tier conventions — atoms, molecules, and refiners.

    198 GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • Architecture Refiner

    techygarg/lattice

    Facilitate a structured conversation to define architecture principles for a repository.

    198 GitHub stars~3.7k tokensUpdated yesterday
    Auto-check passed
  • Clean Code Refiner

    techygarg/lattice

    Facilitate a structured conversation to define clean code principles for a repository.

    198 GitHub stars~3k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Skill Forge

What does Skill Forge do?

Create a new Lattice skill — atom, molecule, or refiner — following all framework conventions. Skill Forge is an agent skill from techygarg/lattice. Create a new Lattice skill — atom, molecule, or refiner — following all framework conventions.

When should I use Skill Forge?

Skill Forge fits situations like: adding any new atom; refiner to Lattice; the user says create a new skill; build X for Lattice.

How do I install Skill Forge in Claude Code?

Run `npx skills add techygarg/lattice --skill skill-forge -a claude-code`. Or copy the skill folder (dev-skills/skill-forge in techygarg/lattice) into .claude/skills/skill-forge in your project. Claude Code loads it when a task matches its description.

How do I install Skill Forge in Codex?

Run `npx skills add techygarg/lattice --skill skill-forge -a codex`. Or copy the skill folder (dev-skills/skill-forge in techygarg/lattice) into .agents/skills/skill-forge in your project. Codex loads it when a task matches its description.

Can I use Skill Forge in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add techygarg/lattice --skill skill-forge -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/skill-forge, .gemini/skills/skill-forge, .github/skills/skill-forge and .opencode/skills/skill-forge in your project.

What does Skill Forge need to run?

SKILL.md names no scripts, command-line tools or credentials: Skill Forge is instructions for the agent only.

Does Skill Forge access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Skill Forge safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Skill Forge use?

Skill Forge is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Skill Forge use?

About 2k tokens (SKILL.md is roughly 7.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Skill Forge?

Skills that share tags, products or a category with Skill Forge: Skill Creator (Azure/azqr, 794 stars), Claude Code Skill Developer Guide (diet103/claude-code-infrastructure-showcase, 10k stars), Darwin Skill Optimizer (alchaincyf/darwin-skill, 6.2k stars) and Claude Code Command Development (anthropics/claude-plugins-official, 37k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Skill Forge?

techygarg (a GitHub user) maintains it in techygarg/lattice, which has 198 GitHub stars. The repository holds 33 skills in this directory. The repository was last updated on October 6, 2026.

Source: techygarg/lattice on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.