Skip to content

💃 Free CC0 mannequin pose reference library for AI image tools (Nano Banana, ChatGPT, ComfyUI, Midjourney) — 250+ poses × 5 angles in line art, names in ja/zh/en/ko

docs: add contributing guide, security policy, code of conduct and templates

wqugurube1ee59a3a23
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
new file mode 100644
index 00000000..df982d93
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -0,0 +1,39 @@
+name: Bug report
+description: A wrong image, a catalog or translation mistake, or the gallery misbehaving
+labels: [bug]
+body:
+ - type: textarea
+ id: what
+ attributes:
+ label: What happened
+ description: What you did, what you expected and what you saw instead.
+ validations:
+ required: true
+ - type: dropdown
+ id: area
+ attributes:
+ label: Area
+ options: [Image (wrong pose, artefact, wrong angle), Catalog / names / translation, Gallery page, Tools or release zip]
+ validations:
+ required: true
+ - type: input
+ id: pose
+ attributes:
+ label: Pose and view
+ description: ID and angle, or the deep link from the gallery
+ placeholder: e.g. P034 diag, or #P034-diag-photo
+ - type: textarea
+ id: repro
+ attributes:
+ label: How to reproduce
+ description: For the gallery, the URL (with query string) and the steps; a screenshot helps.
+ - type: input
+ id: version
+ attributes:
+ label: Version
+ description: Release tag or commit hash; the gallery footer shows the version
+ - type: input
+ id: env
+ attributes:
+ label: Browser / OS
+ placeholder: e.g. Safari 26 on iOS 26
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644
index 00000000..0086358d
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1 @@
+blank_issues_enabled: true
diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml
new file mode 100644
index 00000000..e30c46fb
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature_request.yml
@@ -0,0 +1,25 @@
+name: Pose or feature request
+description: A pose, angle or category you need, or something the gallery should do
+labels: [enhancement]
+body:
+ - type: textarea
+ id: need
+ attributes:
+ label: What are you trying to make?
+ description: The image or scene you have in mind, and where Shisei stops you today.
+ validations:
+ required: true
+ - type: textarea
+ id: proposal
+ attributes:
+ label: What should Shisei add?
+ description: |
+ For a pose: describe the posture in words (body, arms, legs, weight, head) and the angles you need. A stick-figure
+ sketch of your own is fine. Please do not link or attach images from other pose collections.
+ validations:
+ required: true
+ - type: input
+ id: names
+ attributes:
+ label: Suggested name (optional)
+ description: In any of ja / zh / en / ko, in the `動作・手の位置` shape
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
new file mode 100644
index 00000000..f7f245b9
--- /dev/null
+++ b/.github/pull_request_template.md
@@ -0,0 +1,20 @@
+## What and why
+
+<!-- One or two sentences. Link the issue and name the pose IDs (e.g. P034) if there are any. -->
+
+## How it was verified
+
+- [ ] `python3 -I tools/verify.py`
+- [ ] `python3 -I tools/build_site.py --link-images` and the gallery checked in a browser (web changes)
+- [ ] `node --check web/app.js web/i18n.js` (web changes)
+- [ ] Catalog names in ja / zh / en / ko and `desc_en` (data changes); UI strings in all four languages (web changes)
+- [ ] Web UI: screenshot attached, 390×844 checked
+- [ ] CHANGELOG line under `[Unreleased]`; image rebuilds in their own commit
+
+## Images
+
+- [ ] Every new image was made for this project (say how below); nothing copied, traced or re-encoded from other pose
+ sites or collections
+- [ ] Mannequins or AI-generated adults only; no real people, minors or explicit content; metadata stripped
+
+<!-- How the images were made: -->
diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md
new file mode 100644
index 00000000..587a5a33
--- /dev/null
+++ b/CODE_OF_CONDUCT.md
@@ -0,0 +1,28 @@
+# Code of Conduct
+
+Shisei is a small library for people who draw and make images, many of them beginners with AI tools. We want it to be
+a place where asking a basic question is normal and nobody is made to feel small for it.
+
+## Expected
+
+- Be kind and patient, especially with beginners and with people writing in a second language.
+- Discuss the work, not the person. Disagree with reasons: a pose that reads wrong, an image, a failing check.
+- Assume good faith, and accept correction gracefully when you are wrong.
+- Respect people's time: search existing issues first and say which pose and view you mean (for example `P034 diag`).
+
+## Not acceptable
+
+- Harassment, insults, threats, or discriminatory jokes and language, about anyone, for any reason.
+- Sexual language or imagery, and unwelcome personal attention. Pose requests and discussions stay about posture and
+ camera angle.
+- Publishing someone's private information, or their likeness, without their explicit permission.
+- Deliberately disrupting discussions, or encouraging others to do any of the above.
+
+## Scope and enforcement
+
+This applies in the repository, issues, pull requests, discussions and any other project space, and when you
+represent the project elsewhere.
+
+Report problems privately to the maintainers at **[email protected]**. Reports are handled confidentially. Maintainers
+may edit or remove contributions and warn, temporarily ban or permanently ban anyone whose behaviour breaks this code,
+in proportion to what happened.
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
new file mode 100644
index 00000000..20e59c75
--- /dev/null
+++ b/CONTRIBUTING.md
@@ -0,0 +1,77 @@
+# Contributing to Shisei
+
+Thanks for helping. Shisei is a pose reference library, so most changes are judged by one question: does the catalog
+still describe exactly the images in the repository, in all four languages? This file covers how to propose a change
+and what "done" means here. Coding agents (Claude Code, Codex, …) also follow [AGENTS.md](AGENTS.md).
+
+## Before you start
+
+- **Typos, translations, gallery bugs**: open a pull request directly, or an issue if you are not sure.
+- **New poses or a new series**: open an issue first (there is a "Pose request" template) so we can agree on the
+ pose, its category and its four names. IDs are stable and never reused.
+- **Security issues**: do not open a public issue; see [SECURITY.md](SECURITY.md).
+
+## The one hard rule: no outside images
+
+Every image in this repository is made for the project. Do not add, trace, re-encode or derive images from other pose
+sites or collections (including ai-pose-gallery and its mirrors), even if their front-end code is open source: their
+terms forbid redistributing the images. A pull request that adds an image must say how it was made.
+
+Figures are mannequins or AI-generated adults. Nothing that reads as a minor, a real person or explicit content is
+accepted.
+
+## Setup
+
+Requirements: Python 3.9+ for the tools, `cwebp` 1.6+ (`brew install webp`) only to rebuild image tiers. The gallery
+has no runtime dependencies and no build step beyond `build_site.py`.
+
+```bash
+python3 -I tools/verify.py # catalog ↔ files, known gaps, orphans
+python3 -I tools/build_site.py --link-images # writes site/ with symlinked images
+python3 -m http.server 8000 -d site # http://localhost:8000
+tools/build_images.sh ~/path/to/source-set # (re)build w300 + w900 from full-size sources
+```
+
+## What a pull request needs
+
+1. **`tools/verify.py` passes.** Never weaken it to make it pass. A view that could not be made is `null` in the
+ catalog, listed in `KNOWN_GAPS`, and explained in [docs/GENERATION.md](docs/GENERATION.md) — never filled with a
+ mirrored, flipped or low-quality drawing.
+2. **Catalog entries are complete**: `class_*` and `name_*` in ja / zh / en / ko and an English `desc_en`. Japanese is
+ the original naming; change all four names together and keep them short (`動作・手の位置`).
+3. **Images**: only the `w300` and `w900` tiers are committed, built by `tools/build_images.sh` (metadata stripped).
+ Full-size originals ship in the Release zip. Image rebuilds go in their own commit.
+4. **Web changes** follow [docs/DESIGN.md](docs/DESIGN.md), include a screenshot, work at 390×844 without horizontal
+ scroll, and add every user-visible string to `web/i18n.js` in all four languages. Check with
+ `node --check web/app.js web/i18n.js`.
+5. **A CHANGELOG line** under `[Unreleased]` for every user-visible change.
+6. **Code style**: comments in English, explaining why. No runtime dependencies in the gallery.
+
+## Commit messages
+
+Use [Conventional Commits](https://www.conventionalcommits.org) in English:
+
+```
+feat(data): add 6 squatting poses
+
+Explain why the change is needed and how it was verified.
+```
+
+Scopes: `data`, `images`, `web`, `tools`, `docs`, `ci`. Keep the subject under 72 characters, one logical change per
+commit. Pull requests are squash-merged, so the PR title becomes the commit subject.
+
+## AI-assisted contributions
+
+AI-assisted work is welcome; much of this repository was made with coding agents and image models. You are responsible
+for everything you submit: look at every image, run the checks above, and make sure it follows the rules on this page.
+Credit the tool with a `Co-Authored-By:` trailer if you like.
+
+## Licence
+
+Shisei — code, catalog, documentation and images — is licensed under the [Apache License 2.0](LICENSE). By submitting a
+contribution you agree that it is licensed under the same terms (Apache-2.0 §5); there is no separate CLA. Make sure
+you have the right to submit it.
+
+## Code of conduct
+
+Everyone taking part follows the [Code of Conduct](CODE_OF_CONDUCT.md).
diff --git a/SECURITY.md b/SECURITY.md
new file mode 100644
index 00000000..31fc0523
--- /dev/null
+++ b/SECURITY.md
@@ -0,0 +1,27 @@
+# Security Policy
+
+## Supported versions
+
+Shisei is an early release (v0.1.x). Only the latest release and the `main` branch receive fixes.
+
+## Reporting a vulnerability
+
+Please **do not** open a public issue for security problems.
+
+- Preferred: use GitHub's **private vulnerability reporting** ("Security" tab → "Report a vulnerability").
+- Or email **[email protected]** with "Shisei security" in the subject.
+
+Include what you found, how to reproduce it (a URL, a deep link or a file) and the impact you expect. We aim to
+acknowledge reports within 7 days and to agree on a fix and disclosure date with you.
+
+## What is in scope
+
+- The static gallery: cross-site scripting through deep links, query strings or catalog fields, and anything that
+ makes the page load content from somewhere other than its own origin.
+- The tools in `tools/` and the CI workflow: unsafe handling of paths or input files.
+- Release assets: a zip whose checksum does not match the published `.sha256`.
+
+## Also report privately
+
+Images are part of the product. If you find an image that seems to depict a real, identifiable person or a minor, or
+that still carries metadata, report it the same way; we treat it with the same priority as a security issue.