Add a UUID Generator & Inspector tool (v4 and v7)
メンテナーはふだん 1 日以内に返信
@harshit-exe-dev がすでに取り組んでいます。
2026年10月19日 から。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 61/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- nextjs, react, typescript
調査の方向性
Start with lib/tools.ts and the Tool interface, then use app/(tools)/base64/ as the route and UI reference; read the README's "Add a tool" section for the checklist. Implement and test pure UUID logic in lib/uuid.ts and lib/__tests__/uuid.test.ts, then build the route /uuid-generator and its client UI. Done means the scoped v4/v7 generation and inspection work, the listed tests pass, and npm run lint && npm run test && npm run build succeeds.
索引モデルが issue の本文から書いたものです。
説明
Generate random (v4) and time-ordered (v7, RFC 9562) UUIDs locally, and inspect a pasted UUID to see its version, its variant and, for v7, the timestamp inside it.
Route: /uuid-generator
Suggested registry values: title UUID Generator & Inspector, tagline Identifiers, heroHeading UUID Generator & Inspector with heroDim &, features ["UUID v4", "UUID v7", "Bulk", "Inspect", "No hyphens"].
Core logic in lib/uuid.ts
uuidV4(random: Uint8Array)anduuidV7(nowMs: number, random: Uint8Array). They take randomness and time as arguments so they're easy to test; the UI passes bytes fromcrypto.getRandomValues.- v7 layout: a 48-bit big-endian Unix timestamp in milliseconds, version bits
0111, variant bits10, and the rest random formatUuid(bytes, { uppercase, hyphens })inspectUuid(text)returning{ ok, version, variant, timestampMs? }, recognising the nil and max UUIDs; malformed input returnsok: false
v1 scope
- Generate 1 to 100 UUIDs with a v4 / v7 toggle
- Uppercase and no-hyphens toggles
- Copy all
- An inspector input
Out of scope for v1: v1, v3, v5, v6, ULID and nanoid (good follow-up issues).
Where to look
lib/tools.ts(the registry and theToolinterface)app/(tools)/base64/(a complete tool to copy the structure from)- The "Add a tool" section of the README
Acceptance criteria
- Tests: correct version nibble and variant bits for v4 and v7, the v7 timestamp round-trips through
inspectUuidfor a fixednowMs, two v7 UUIDs with increasing time sort in order, formatting options, malformed input rejected, and the nil UUID detected - UI as scoped above
- The standard new-tool checklist below is complete
Standard new-tool checklist
Everything (home grid, metadata, JSON-LD, OG image, sitemap, manifest, command palette) is driven by the registry in lib/tools.ts, so a new tool is mostly one registry entry plus a route.
- Add an entry to
TOOLSinlib/tools.tsfilling every field of theToolinterface (lib/tools.ts:19-50). UseapplicationCategory: "DeveloperApplication", reuse theCTA_PROJECTS/CTA_CONTACTconstants for the CTA links, and setsitemapPriority: 0.9like the other tools. - Pick
accentVarfrom the accent variables inapp/globals.css(the list is under "Adding a tool" in CONTRIBUTING.md). Take one that no tool uses yet, or the one the fewest tools have if they're all taken. Don't use--rose, it's the color of error messages. SetaccentHexto that variable's dark-theme value.heroDimmust be""or a substring ofheroHeading. - Write 3 or 4 FAQs (3 renders as a 3-column grid, see
components/shared/ToolPageLayout.tsx:25). KeepmetaTitleunder 60 characters andmetaDescriptionaround 150 to 160. - Keep
featuresandogDescriptionto plain Latin text and punctuation. The social card font is a subset with no arrow or symbol glyphs (lib/og.tsx:33-36). - Create
app/(tools)/<slug>/page.tsx,<Name>Client.tsx(with"use client"), andopengraph-image.tsx. Copypage.tsxandopengraph-image.tsxfromapp/(tools)/base64/and change the slug. - Put all pure logic in
lib/<name>.ts(no React, no DOM) with tests inlib/__tests__/<name>.test.ts. Tests can import with@/like the app does (vitest.config.tshas the alias). - Nothing leaves the browser: no network calls with user input, no analytics, no third-party scripts (the CSP in
middleware.tsblocks external scripts anyway). - Reuse shared pieces:
CopyButton,useToast, and optionallyuseRegisterCommandsfor command palette actions (example inapp/(tools)/base64/Base64Client.tsx:43-53). - Every input has a visible label or an
aria-label, the tool works with the keyboard alone, and it looks right in both light and dark themes. - Add the tool to the "Which tool?" dropdown in
.github/ISSUE_TEMPLATE/bug_report.yml. -
npm run lint && npm run test && npm run buildpasses.
One new tool per contributor, so more people get a chance. Add your registry entry at the end of TOOLS and rebase on develop before asking for review, since other new tools will touch the same file.
Want to work on this? Comment below and I'll assign it to you. Please take one issue at a time, branch off develop, and open your PR against develop with Closes #83 in the description.
- 主要言語
- TypeScript
- スター
- 1
- フォーク
- 9
- 平均マージ
- 10時間 24分
- マージ済み PR(30日)
- 93
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
codercops/toolbelt のほかの issue
-
bug good first issue hacktoberfest
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
bug good first issue hacktoberfest
難易度 2/5 1〜3時間 初心者へのやさしさ 94/100
メンテナーはふだん 1 日以内に返信
-
bug good first issue hacktoberfest
難易度 2/5 1〜3時間 初心者へのやさしさ 92/100
メンテナーはふだん 1 日以内に返信
-
Stop the JSON formatter's Find bar from typing into the JSON対応中かも @kudala-bharani が 2 日前に担当しました。 オープンbug hacktoberfest help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
codercops/toolbelt#121 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
JSON formatter: a duplicate key crashes the whole tool対応中かも @lb1192176991-lab が 1 日前に担当しました。 オープンbug good first issue hacktoberfest
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
codercops/toolbelt#218 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
codercops/toolbelt の issue をすべて見る
似ている issue
-
ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
xavxyz/bei-shan-lin-shui#57 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] rag: sentence content can cross the reported sentence boundaries対応中かも @LJK-ikun が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
README: the Resource URI Schemas example's file://documents/* pattern only matches that literal URIオープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
platformatic/mcp#361 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
siyuan-note/siyuan#20799 · コメント 7 件 ·
メンテナーはふだん 1 日以内に返信