← Back to list

nxs-sq-name-generator
by sameera
⭐ 2🍴 0📅 Jan 24, 2026
SKILL.md
name: nxs-sq-name-generator description: Generate the next sequential file or folder name for directories with numbered prefixes (e.g., 01-setup.md, 02-init.md). Use when creating a new file or folder that should follow an existing numbering sequence, when adding to a sequentially-named series, or when the user asks for the "next" numbered item in a directory.
Sequential Name Generator
Generate the next sequential file or folder name given a path and target name.
Usage
python ./scripts/next_sequential_name.py <path> <target_name>
Arguments:
path- Directory to scan for existing sequential files/folderstarget_name- Unnumbered target name (e.g.,cleanup.mdfor files,chapterfor folders)
Type detection: If target_name has an extension (.md, .txt, etc.), it scans for files. Otherwise, it scans for folders.
Examples
# Files: Given 01-setup.md, 02-init.md, 04-teardown.md exist
python ./scripts/next_sequential_name.py ./docs cleanup.md
# Output: 05-cleanup.md
# Folders: Given 01-chapter, 02-chapter exist
python ./scripts/next_sequential_name.py ./book chapter
# Output: 03-chapter
# Empty directory
python ./scripts/next_sequential_name.py ./empty notes.md
# Output: 01-notes.md
Behavior
- Scans directory for files or folders matching the target type
- Extracts numeric prefixes from names matching pattern
NN-* - Finds highest prefix (handles gaps:
01,02,04→ highest is4) - Returns
(highest + 1)padded to 2 digits with target name
Score
Total Score
60/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon