Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 40 additions & 40 deletions cli/utils/keyword_density.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,45 @@

console = Console()

_TECH_KEYWORDS = {
"python",
"javascript",
"typescript",
"react",
"vue",
"angular",
"node.js",
"django",
"flask",
"fastapi",
"kubernetes",
"docker",
"aws",
"gcp",
"azure",
"sql",
"mongodb",
"postgresql",
"redis",
"ci/cd",
"devops",
"machine learning",
"ai",
"llm",
"pytorch",
"tensorflow",
"graphql",
"rest api",
"microservices",
"java",
"go",
"rust",
"c++",
"c#",
".net",
"spring",
}


@dataclass
class KeywordInfo:
Expand Down Expand Up @@ -398,46 +437,7 @@ def _suggest_sections_for_keyword(
suggestions = []

# Check if keyword is tech-related
tech_keywords = [
"python",
"javascript",
"typescript",
"react",
"vue",
"angular",
"node.js",
"django",
"flask",
"fastapi",
"kubernetes",
"docker",
"aws",
"gcp",
"azure",
"sql",
"mongodb",
"postgresql",
"redis",
"ci/cd",
"devops",
"machine learning",
"ai",
"llm",
"pytorch",
"tensorflow",
"graphql",
"rest api",
"microservices",
"java",
"go",
"rust",
"c++",
"c#",
".net",
"spring",
]

if keyword.lower() in tech_keywords:
if keyword.lower() in _TECH_KEYWORDS:
suggestions.append("Skills section")

# Check experience bullets
Expand Down
Loading