Skip to content

refactor(api): normalize directory names to lowercase hyphen-case#4

Open
gaurav0107 wants to merge 1 commit intoLambdaTest:mainfrom
gaurav0107:feat/api-directory-normalization
Open

refactor(api): normalize directory names to lowercase hyphen-case#4
gaurav0107 wants to merge 1 commit intoLambdaTest:mainfrom
gaurav0107:feat/api-directory-normalization

Conversation

@gaurav0107
Copy link
Copy Markdown

Summary

  • Renames all 18 api/ directories from mixed-case with spaces to consistent lowercase hyphen-case
  • Renames references/ (plural) to reference/ (singular) for 2 api skills to match repo convention
  • Updates api/README.md with accurate directory tree and fixes broken links
  • Fixes typo 'dcoumentation' → 'documentation' in postman-to-newman SKILL.md

Directory renames

Before After
API Analyzer api-analyzer
API Designer api-designer
API Documentation api-documentation
API Health Monitoring api-health-monitoring
API Inference From Files api-inference-from-files
API-SDK Generator api-sdk-generator
API-To-Test Case Generator api-to-testcase-generator
AI-Based-API ai-based-api
API-Compliance api-compliance
API-Integration-Helper api-integration-helper
API-Mocking api-mocking
API-Ratelimit-Helper api-ratelimit-helper
API-Security-Patterns api-security-patterns
API-Versioning-Helper api-versioning-helper
OpenAPI-Spec-Generator openapi-spec-generator
Popular-API-Fetcher popular-api-fetcher
Newman newman
Postman postman

Test plan

  • Verify ls api/ shows all lowercase hyphen-case names with no spaces
  • Verify find api/ -type d -name "references" returns nothing
  • Verify api/README.md directory tree matches actual structure

🤖 Generated with Claude Code

@harishrajora
Copy link
Copy Markdown
Contributor

Thank you very much. @SparshKesari, this is good to merge.

@harishrajora
Copy link
Copy Markdown
Contributor

Check once whether api-skill doesn't roll back to api again after @gaurav0107 changes.

…-case

Addresses the review comment on PR LambdaTest#4 about rebasing onto api-skill/
after upstream's api/ -> api-skill/ rename (PR LambdaTest#6).

- Renames all 18 api-skill/ subdirectories from mixed-case with spaces
  to lowercase hyphen-case
- Renames references/ (plural) to reference/ (singular) for the 2 api
  skills that had playbook reference directories, matching repo convention
- Updates api-skill/README.md directory tree to reflect new structure
  and fixes relative links to CONTRIBUTING.md and LICENSE
- Fixes typo 'dcoumentation' -> 'documentation' in postman-to-newman

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@gaurav0107 gaurav0107 force-pushed the feat/api-directory-normalization branch from 5de63ae to 37e8393 Compare May 6, 2026 19:22
gaurav0107 added a commit to gaurav0107/agent-skills that referenced this pull request May 6, 2026
… in index

Rebased onto upstream's api/ -> api-skill/ rename (PR LambdaTest#6), applied on
top of PR LambdaTest#4's subdirectory normalization.

- Add languages, category (api-testing), license (MIT), and metadata
  to all 24 api-skill/ SKILL.md files to match the test-skill frontmatter
  standard already enforced by scripts/validate_skills.py for 46 non-api skills
- Update validate_skills.py to scan api-skill/ (was api/) and add
  api-design to VALID_CATEGORIES
- Add 'api-skill' to SKIP_DIRS so nested skills aren't double-counted
- Register all 24 api-skill entries in skills_index.json with full
  descriptions and trigger keywords
- Sort all 70 skills alphabetically, update total_skills to 70

Validation:
  Skills found: 70
  Errors: 0
  Warnings: 47 (expected — api-skills are single-file, no playbooks)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants