Skip to content

fix: standardize skill naming with autocomplete and normalization#1311

Open
Pcmhacker-piro wants to merge 2 commits into
JiyaBatra:mainfrom
Pcmhacker-piro:fix/skill-naming-normalization
Open

fix: standardize skill naming with autocomplete and normalization#1311
Pcmhacker-piro wants to merge 2 commits into
JiyaBatra:mainfrom
Pcmhacker-piro:fix/skill-naming-normalization

Conversation

@Pcmhacker-piro

Copy link
Copy Markdown
Contributor

Description

Skills entry uses free-text fields leading to inconsistent naming (e.g., "JS", "Javascript", "javaScript") which breaks accurate matching. This PR adds skill normalization and autocomplete to standardize skill entries.

Changes Made

Backend:

  • Add Skill model with category and aliases for master skill list
  • Create utils/skills.js with common skills list and normalization logic
  • Add skills field to User model
  • Update profile controller to validate and normalize skills on save
  • Create /api/skills endpoint for autocomplete/search

Frontend:

  • Create reusable SkillsInput component with antd AutoComplete
  • Fetches skill suggestions from backend API
  • Renders selected skills as removable tags
  • Prevents duplicates and normalizes input

Testing

  • Skills input normalizes "js" → "JavaScript", "reactjs" → "React", etc.
  • Autocomplete shows matching skills from master list
  • Duplicate entries are prevented

Fixes #1245

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • My changes generate no new warnings or errors
  • I have verified the fix works correctly

- Add Skill model with category and aliases support
- Create skills utility with common skills list and normalization
- Add skills field to user model
- Update profile controller to validate and normalize skills
- Add skills API endpoint for autocomplete/search
- Create SkillsInput frontend component with antd AutoComplete
- Wire skills routes into server route index

Fixes JiyaBatra#1245
@vercel

vercel Bot commented Jun 22, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the jiya's projects Team on Vercel.

A member of the Team first needs to authorize it.

@netlify

netlify Bot commented Jun 22, 2026

Copy link
Copy Markdown

Deploy Preview for codevibeforyou ready!

Name Link
🔨 Latest commit 66d8361
🔍 Latest deploy log https://app.netlify.com/projects/codevibeforyou/deploys/6a39f4b706cb6400087acd45
😎 Deploy Preview https://deploy-preview-1311--codevibeforyou.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@Pcmhacker-piro

Copy link
Copy Markdown
Contributor Author

heyy @JiyaBatra
i fix the issue so pls check it

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.

Inconsistent skill naming due to free-text fields

1 participant