file-name-wizard

cygnusfear/agent-skills · updated Apr 8, 2026

MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.

$npx skills add https://github.com/cygnusfear/agent-skills --skill file-name-wizard
0 commentsdiscussion
summary

Systematic audit of filenames and naming conventions against AGENTS.md standards and codebase patterns.

  • Discovers all source, config, documentation, and test files, then extracts explicit naming rules from AGENTS.md files and identifies implicit patterns within each directory
  • Analyzes each file for convention violations (wrong case, mixed patterns, missing suffixes), clarity issues (vague or misleading names), and anti-patterns (temporary names, version suffixes, generic names)
  • Ident
skill.md

Filename & Naming Convention Audit

Instructions

Perform systematic audit of all filenames and naming conventions in the codebase to identify inconsistencies, anti-patterns, and violations of naming standards.

Phase 1: Discovery & Standard Extraction

Step 1: Find All Files

Use Glob to identify all files in the codebase:

  • Source files (.ts, .tsx, .js, .jsx, etc.)
  • Config files
  • Documentation files
  • Test files

Create comprehensive todo list of all files to audit.

Step 2: Extract Naming Standards

Read all AGENTS.md files in the repository:

  • Root AGENTS.md if exists
  • Directory-specific AGENTS.md files

Extract naming conventions:

  • File naming patterns (kebab-case, PascalCase, etc.)
  • Directory structure rules
  • Component naming rules
  • Utility/helper naming rules
  • Test file naming rules
  • Config file naming rules
  • Constant/enum file naming rules

Step 3: Identify Implicit Patterns

Even without explicit AGENTS.md rules, identify patterns:

  • Most common naming convention in each directory
  • Grouping patterns (e.g., *.service.ts, *.controller.ts)
  • Organizational patterns (e.g., components/, utils/, lib/)

Phase 2: Systematic File Audit

For EACH file in the todo list:

Step 1: Analyze Filename

  • What is the current filename?
  • What naming convention does it use?
  • Is it descriptive and clear?
  • Does it match its purpose/content?

Step 2: Check Against Standards

Compare to:

  • Explicit AGENTS.md rules for this directory
  • Implicit patterns in the same directory
  • Common naming conventions for file type
  • Best practices for the framework/language

Step 3: Identify Issues

Naming Convention Violations:

  • Wrong case (e.g., PascalCase when should be kebab-case)
  • Mixed conventions (e.g., userAuth.service.ts mixing camelCase and dot notation)
  • Inconsistent with directory pattern

Clarity Issues:

  • Vague names (e.g., utils.ts, helpers.ts, stuff.ts)
  • Overly verbose names
  • Misleading names (content doesn't match name)
  • Abbreviations without context

Anti-Patterns:

  • Temporary names (e.g., temp.ts, test.ts, new-*.ts, *-v2.ts)
  • Generic names (e.g., index2.ts, common.ts)
  • Dated names (e.g., old-*.ts, legacy-*.ts)
  • Feature flag names (e.g., *-new.ts, *-enhanced.ts)

Organizational Issues:

  • File in wrong directory
  • Missing grouping suffix (e.g., should be *.service.ts)
  • Inconsistent with sibling files

Step 4: Check File Contents

Read the file to verify:

  • Does filename accurately describe contents?
  • Would a better name exist based on what's inside?
  • Are there naming conventions violations inside (class names, etc.)?

Step 5: Record Findings

Store in memory:

File: path/to/filename.ts
Convention Used: camelCase
Should Be: kebab-case
Pattern: Violates directory convention
Issues:
- [Specific issue]
Suggested Name: [better-name.ts]
Severity: [HIGH|MEDIUM|LOW]

Step 6: Update Todo

Mark file as audited in todo list.

Phase 3: Pattern Analysis

After auditing all files:

Step 1: Identify Systemic Issues

  • Which directories have most inconsistencies?
  • What naming patterns are most violated?
  • Are there clusters of similar violations?

Step 2: Find Outliers

  • Files that don't match any pattern
  • One-off naming schemes
  • Orphaned file types

Step 3: Detect Missing Standards

  • Directories lacking clear naming conventions
  • File types without established patterns
  • Areas needing AGENTS.md documentation

Phase 4: Generate Report

Create a tk ticket tagged audit with the report as its body. Use todos_oneshot(title: "Audit: Naming conventions", description: "<report content>", tags: "audit", type: "task").

# Filename & Naming Convention Audit
**Date**: [timestamp]
**Files Audited**: X
**Issues Found**: Y

---

## Executive Summary
- **Critical Issues**: X (blocks consistency)
- **High Priority**: Y (major violations)
- **Medium Priority**: Z (minor inconsistencies)
- **Low Priority**: W (suggestions)

**Most Problematic Directory**: [path] (X issues)

---

## Issues by Severity

### CRITICAL: Convention Violations

#### Temporary/Migration Filenames
- `src/services/auth-v2.ts` - Migration file still in use
  - **Violates**: No version suffixes rule
  - **Suggested**: `src/services/auth.ts` (replace old one)

- `src/utils/new-logger.ts` - Temporary naming
  - **Violates**: No "new-" prefix rule
  - **Suggested**: `src/utils/logger.ts`

#### Wrong Case Convention
- `src/components/UserProfile.tsx` - PascalCase
  - **Directory Standard**: kebab-case
  - **Suggested**: `src/components/user-profile.tsx`

### HIGH: Consistency Violations

#### Inconsistent with Directory Pattern
- `src/services/database.ts` - Missing `.service.ts` suffix
  - **Pattern**: All files in directory use `*.service.ts`
  - **Suggested**: `src/services/database.service.ts`

#### Vague/Generic Names
- `src/utils/helpers.ts` - Too generic
  - **Contains**: String manipulation functions
  - **Suggested**: `src/utils/string-helpers.ts`

### MEDIUM: Clarity Issues

#### Misleading Names
- `src/lib/validator.ts` - Named as single purpose
  - **Contains**: Multiple validators and formatters
  - **Suggested**: Split or rename to `validators.ts`

### LOW: Suggestions

#### Verbose Names
- `src/components/user-authentication-form-component.tsx`
  - **Redundant**: "component" suffix in components dir
  - **Suggested**: `src/components/user-auth-form.tsx`

---

## Issues by Directory

### src/services/ (12 issues)
- **Pattern**: Should use `*.service.ts` suffix
- **Violations**:
  - `database.ts` (missing suffix)
  - `auth-helper.ts` (wrong suffix)
  - `userService.ts` (wrong case)

### src/components/ (8 issues)
- **Pattern**: kebab-case without suffix
- **Violations**:
  - `UserProfile.tsx` (PascalCase)
  - `button-component.tsx` (redundant suffix)

[Continue for all directories]

---

## Pattern Analysis

### Most Common Violations
1. **Mixed case conventions** - 15 files
2. **Missing pattern suffixes** - 12 files
3. **Generic names** - 8 files
4. **Temporary names** - 5 files

### Directories Lacking Standards
- `src/lib/` - No clear convention (mix of all patterns)
- `src/shared/` - Inconsistent organization
- `tools/` - No established pattern

### Emerging Anti-Patterns
- Version suffixes appearing (`*-v2`, `*-new`)
- Component files with "component" in name
- Service files without `.service.ts` suffix

---

## AGENTS.md Coverage

### Documented Standards
-`src/components/` - Documented in `src/AGENTS.md`
-`src/services/` - Documented in `src/AGENTS.md`
-`src/lib/` - No documentation
-`src/utils/` - No documentation
-`tools/` - No documentation

### Missing Documentation Needed
- File naming conventions for `src/lib/`
- Grouping patterns for utilities
- Test file naming standards
- Config file organization rules

---

## Statistics

**By Issue Type**:
- Case Violations: X
- Pattern Violations: Y
- Generic Names: Z
- Temporary Names: W
- Misleading Names: V

**By Severity**:
- Critical: X
- High: Y
how to use file-name-wizard

How to use file-name-wizard on Cursor

AI-first code editor with Composer

1

Prerequisites

Before installing skills in Cursor, ensure your development environment meets these requirements:

  • Cursor installed and configured on your development machine
  • Node.js version 16.0+ with npm package manager (verify with node --version)
  • Active project directory or workspace where you want to add file-name-wizard
2

Execute installation command

Execute the skills CLI command in your project's root directory to begin installation:

$npx skills add https://github.com/cygnusfear/agent-skills --skill file-name-wizard

The skills CLI fetches file-name-wizard from GitHub repository cygnusfear/agent-skills and configures it for Cursor.

3

Select Cursor when prompted

The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:

◆ Which agents do you want to install to?
│ ── Universal (.agents/skills) ── always included ────
│ • Amp
│ • Antigravity
│ • Cline
│ • Codex
│ ●Cursor(selected)
│ • Cursor
│ • Windsurf
4

Verify installation

Confirm successful installation by checking the skill directory location:

.cursor/skills/file-name-wizard

Reload or restart Cursor to activate file-name-wizard. Access the skill through slash commands (e.g., /file-name-wizard) or your agent's skill management interface.

Security & Verification Notice

We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.

Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.

List & Monetize Your Skill

Submit your Claude Code skill and start earning

GET_STARTED →

Use Cases

User Story & Requirements Generation

Create detailed user stories, acceptance criteria, and feature specs

Example

Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios

Reduce spec writing time by 50%, ensure comprehensive coverage

Competitive Analysis

Research competitors, compare features, identify gaps

Example

Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities

Complete competitive research in 2 hours instead of 2 days

Roadmap Prioritization

Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs

Example

Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale

Make data-driven prioritization decisions faster

Stakeholder Communication

Draft PRDs, status updates, and stakeholder presentations

Example

Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement

Save 3-5 hours/week on communication overhead

Implementation Guide

Prerequisites

  • Claude Desktop or compatible AI client
  • Access to product documentation and roadmap tools (Jira, Notion, etc.)
  • Understanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
  • Stakeholder contact information and communication channels

Time Estimate

30-60 minutes to see productivity improvements

Installation Steps

  1. 1.Install product management skill
  2. 2.Start with user story generation for known feature
  3. 3.Progress to competitive analysis: research 2-3 competitors
  4. 4.Use for roadmap prioritization: apply RICE/ICE scoring
  5. 5.Draft stakeholder communications and refine based on feedback
  6. 6.Build template library for recurring PM tasks
  7. 7.Share effective prompts with product team

Common Pitfalls

  • Not validating competitive research—verify facts before sharing
  • Accepting user stories without involving engineering team
  • Over-relying on frameworks without qualitative judgment
  • Not customizing outputs to company culture and communication style
  • Skipping stakeholder validation of generated requirements

Best Practices

✓ Do

  • +Validate research and competitive analysis with real data
  • +Collaborate with engineering when generating technical requirements
  • +Customize frameworks and templates to your company context
  • +Use skill for first drafts, refine with stakeholder input
  • +Document successful prompt patterns for PM tasks
  • +Combine AI efficiency with human judgment and intuition

✗ Don't

  • Don't publish competitive analysis without fact-checking
  • Don't finalize user stories without engineering review
  • Don't make prioritization decisions solely on AI scoring
  • Don't skip customer validation of generated requirements
  • Don't ignore company-specific context and culture

💡 Pro Tips

  • Provide context: company goals, constraints, customer feedback
  • Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
  • Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
  • Use skill for 70% generation + 30% customization to company needs

When to Use This

✓ Use When

Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.

✗ Avoid When

Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.

Learning Path

  1. 1Basic: user stories, feature specs, status updates
  2. 2Intermediate: competitive analysis, prioritization frameworks, PRDs
  3. 3Advanced: product strategy, go-to-market planning, OKR setting
  4. 4Expert: product vision, market positioning, business model innovation

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.441 reviews
  • Layla Reddy· Dec 12, 2024

    Solid pick for teams standardizing on skills: file-name-wizard is focused, and the summary matches what you get after install.

  • Kwame Iyer· Dec 8, 2024

    file-name-wizard is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Isabella Li· Nov 27, 2024

    Solid pick for teams standardizing on skills: file-name-wizard is focused, and the summary matches what you get after install.

  • Ren Desai· Nov 3, 2024

    file-name-wizard is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Evelyn Harris· Oct 22, 2024

    file-name-wizard fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Arya Diallo· Oct 18, 2024

    We added file-name-wizard from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Fatima Wang· Sep 13, 2024

    file-name-wizard is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Rahul Santra· Sep 9, 2024

    Solid pick for teams standardizing on skills: file-name-wizard is focused, and the summary matches what you get after install.

  • Aditi Flores· Sep 1, 2024

    Registry listing for file-name-wizard matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Pratham Ware· Aug 28, 2024

    We added file-name-wizard from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

showing 1-10 of 41

1 / 5