GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - priticolours/hermes-fashion-design-plugin: Fashion design plugin for Hermes Agent: pattern drafting, size sheets, fabric calc, manufacturing notes

BranchesTags
Open more actions menu

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
data
data
 
 
skills/fashion-design-workflow
skills/fashion-design-workflow
 
 
templates
templates
 
 
README.md
README.md
 
 
__init__.py
__init__.py
 
 
demo-script.md
demo-script.md
 
 
plugin.yaml
plugin.yaml
 
 
schemas.py
schemas.py
 
 
test_fashion_plugin.py
test_fashion_plugin.py
 
 
tools.py
tools.py
 
 

Repository files navigation

Fashion Design Plugin for Hermes Agent

A Hermes Agent plugin that turns Hermes into a complete fashion design workspace. Draft garment ideas, compute pattern measurements, generate size sheets across a size range, estimate fabric yardage, and write manufacturing notes — all from conversation, with everything persisted to a local data directory.

What it does

Feature Tool
Create a design record design_create
Load / list / delete designs design_load, design_list, design_delete
Add body measurements measurement_add, measurement_list
Draft a pattern piece pattern_draft
Render pattern pieces as SVG pattern_svg
Generate a full size sheet size_sheet, size_sheet_preview
Estimate fabric yardage fabric_calc
Write a manufacturing note manufacturing_note
Export a production dossier design_export

The bundled fashion-design-workflow skill guides the agent through the end-to-end process: concept → measurements → pattern → size sheet → fabric → manufacturing note → dossier.

File structure

fashion-design-plugin/
├── plugin.yaml          # Manifest: tools, hooks, config schema, capabilities
├── __init__.py          # Registration: tool wiring + skill + hook
├── schemas.py           # Tool schemas (what the LLM sees)
├── tools.py             # Tool handlers (pattern math, size grading, fabric calc)
├── skills/
│   └── fashion-design-workflow/
│       └── SKILL.md     # Bundled workflow skill
├── templates/
│   ├── blank_pattern_sheet.csv
│   ├── size_chart.csv
│   └── manufacturing_note.md
├── data/
│   ├── pattern_symbols.csv
│   └── grading_curves.json
└── README.md

Install

  1. Clone the repository:

    git clone https://github.com/priticolours/hermes-fashion-design-plugin.git
    cd hermes-fashion-design-plugin
  2. Install the plugin in Hermes:

    hermes plugins install /path/to/fashion-design-plugin
    hermes plugins enable fashion-design
  3. Verify:

    hermes plugins validate /path/to/fashion-design-plugin --install-deps
    hermes plugins doctor /path/to/fashion-design-plugin

Quick start

  1. Create a design:

    design_create: name="Summer Shift Dress", garment_type="dress", silhouette="relaxed"
    
  2. Add measurements (bust, waist, hip, shoulder width, rise):

    measurement_add: design_id=<id>, name="bust", value=36
    
  3. Draft a pattern:

    pattern_draft: design_id=<id>, part="front_bodice", base_measurement="bust", method="flat_block"
    
  4. Generate a size sheet:

    size_sheet: design_id=<id>, size_range="XS,S,M,L,XL,2XL,3XL"
    
  5. Estimate fabric:

    fabric_calc: design_id=<id>, size="M", fabric_width_in=60
    
  6. Write a manufacturing note:

    manufacturing_note: design_id=<id>, size="M", fabric_type="cotton voile"
    
  7. Export the dossier:

    design_export: design_id=<id>, format="text"
    
  8. Render a visual mockup:

    pattern_svg: design_id=<id>, parts="front_bodice,back_bodice"
    

Configuration

Settings are managed through the plugin settings form in Desktop under Settings → Plugins → fashion-design (or via ctx.get_config/ctx.set_config):

Key Type Default Description
unit_system str imperial imperial or metric
default_fit str regular Default fit: slim / regular / relaxed / oversized / bodycon
ease_bust float 4.0 Default bust ease in inches
precision int 2 Decimal places for computed measurements

How it works

The plugin consults the grading_curves.json data file for per-size gradients and the size_chart.csv template for base measurements. Pattern drafting formulas implement standard US pattern-cut blocks. Fabric estimation sums pattern piece lengths and divides by fabric width, applying a waste factor and flags for directional fabrics, naps, and stripes.

Demo script (hackathon)

The demo is under 90 seconds. Show the plugin in action:

  1. 0–10s — Open Hermes, type a design request: "Draft a relaxed fit sundress for summer."
  2. 10–20s — The plugin creates the design record and lists the tools.
  3. 20–35s — The agent adds measurements (asking the user, or using defaults).
  4. 35–50s — Pattern pieces are drafted and the size sheet is generated (XS → 3XL). Show the SVG rendering of the block.
  5. 50–70s — Fabric calculation returns yardage + flags for a directional print.
  6. 70–85s — Manufacturing note is generated for size M, exported as full dossier.

Use pattern_svg to show a visual mockup — the judge should see a real working plugin, not a text-only demo.

Hackathon submission

This entry is submitted via pull request to the Hermes plugin catalog:

  1. PR: NousResearch/hermes-agent → plugin-catalog/fashion-design.yaml
  2. Demo video on X, tagged @NousResearch
  3. Submission form: form.typeform.com/to/FwJLvOln

Disclosure notes

  • Network: The plugin only calls the LLM. It has no third-party network calls.
  • Data: Designs are stored locally in the plugin data directory only.
  • Shell commands: None invoked by this plugin.
  • Long-running processes: None. All tools are synchronous and fast.
  • Credentials: None required. DESIGN_NOTEBOOK_TOKEN is declared as requires_env but unused by the plugin.

Testing

# Local validation (same check CI runs)
hermes plugins validate /path/to/fashion-design-plugin --install-deps

# Doctor
hermes plugins doctor /path/to/fashion-design-plugin

# Unit test
python test_fashion_plugin.py

License

MIT

About

Fashion design plugin for Hermes Agent: pattern drafting, size sheets, fabric calc, manufacturing notes

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.