"Which skills do these companies ask for?" sounds like a one-line search. Look for "Python" in every job description, count the hits, done. On real postings, that approach counted "Go" in 180 of 384 jobs, because job ads say "go-to-market" and "go-live" a lot. It also said 78 of Supabase's 82 open jobs require Postgres, including Senior Accountant and Commercial Counsel.
This tutorial builds a small skill extractor that avoids those mistakes. It downloads job descriptions from five public job boards, matches a keyword list safely, and counts only the parts of each description that list requirements.
Who this is for: developers and analysts who want to tag job postings with skills, for example for a niche job board, a hiring report, or a "which stack does this company use?" lookup.
What you need: Python 3.9 or later and Node 18 or later. The scripts use only the standard library and built-in fetch, so there's nothing to install. Some basic knowledge of regular expressions helps.
Terms used in this post
- ATS (applicant tracking system): the software a company uses to post jobs and collect applications. Greenhouse, Lever and Ashby each have a public, read-only job board API that needs no key.
- Keyword list: a fixed list of skills you look for, each with its aliases (other ways to write it, such as "Golang" for Go).
- False hit: a match that isn't the skill, such as "go" in "go-to-market".
- Word boundary: the edge of a word. A match must start and end at one, so "Java" doesn't match inside "JavaScript".
- Boilerplate: text that a company repeats in every posting, such as an "About us" paragraph.
- Requirement section: the part of a description under a heading such as "Who you are" or "Nice to have".
This post doesn't use machine learning. A keyword list is less clever than a language model, but you can read it, test it, and explain every count it produces.
1. Download job descriptions as lines of text (Python)
jobs.py reads five job boards and saves every job's description to jobs.json. It keeps each description as a list of lines rather than one long string. Headings such as "Who you are" sit on their own lines, and step 4 needs them.
Each ATS sends descriptions differently:
- Greenhouse sends HTML only when you add
content=true, and escapes it, so<p>arrives as<p>. The script unescapes it before removing tags. - Lever splits a posting into an intro, titled lists ("Who You Are") and a closing part.
- Ashby sends
descriptionHtmlanddescriptionPlain. The script uses the HTML, so all three ATSs go through the samehtml_to_linesfunction.
# jobs.py: download open jobs with descriptions from five public job boards. # Python 3.9+, standard library only. Run: python3 jobs.py (writes jobs.json) import html, json, re, time, urllib.error, urllib.request BOARDS = [("greenhouse", "discord"), ("greenhouse", "figma"), ("lever", "spotify"), ("ashby", "linear"), ("ashby", "supabase")] URLS = { "greenhouse": "https://boards-api.greenhouse.io/v1/boards/{}/jobs?content=true", "lever": "https://api.lever.co/v0/postings/{}?mode=json", "ashby": "https://api.ashbyhq.com/posting-api/job-board/{}", } def get_json(url, tries=4): req = urllib.request.Request(url, headers={"User-Agent": "skills-demo/1.0 (you@example.com)"}) for attempt in range(1, tries + 1): try: with urllib.request.urlopen(req, timeout=60) as r: return json.load(r) except urllib.error.HTTPError as e: if e.code != 429 or attempt == tries: raise wait = int(e.headers.get("Retry-After") or 10 * attempt) print(f" 429 Too Many Requests, waiting {wait}s") time.sleep(wait) def html_to_lines(text): """HTML -> list of plain-text lines. Block tags (p, li, h1-h6, br, div) end a line.""" for _ in range(3): # Greenhouse sends HTML as escaped text: <p>... if "<" not in text: break text = html.unescape(text) text = re.sub(r"<(br|/p|/li|/h\d|/div|/ul)\b[^>]*>", "\n", text, flags=re.I) text = re.sub(r"<li\b[^>]*>", "\n• ", text, flags=re.I) text = html.unescape(re.sub(r"<[^>]+>", "", text)) lines = (re.sub(r"\s+", " ", line).strip() for line in text.split("\n")) return [line for line in lines if line] def description_lines(platform, job): if platform == "greenhouse": return html_to_lines(job["content"]) if platform == "ashby": return html_to_lines(job["descriptionHtml"]) lines = html_to_lines(job["description"]) # Lever: intro, then titled lists for section in job.get("lists", []): lines += [section["text"]] + html_to_lines(section["content"]) return lines + html_to_lines(job.get("additional", "")) jobs = [] for platform, slug in BOARDS: data = get_json(URLS[platform].format(slug)) board = data if platform == "lever" else data["jobs"] for job in board: title = job.get("title") or job.get("text") jobs.append({"company": slug, "title": title, "lines": description_lines(platform, job)}) print(f"{slug:<10} {len(board):>4} jobs") with open("jobs.json", "w") as f: json.dump(jobs, f) print(f"total {len(jobs):>4} jobs, {sum(len(j['lines']) for j in jobs)} lines -> jobs.json") Output:
discord 31 jobs figma 137 jobs spotify 103 jobs linear 31 jobs supabase 82 jobs total 384 jobs, 15087 lines -> jobs.json On one rerun, Greenhouse answered 429 Too Many Requests after a few quick calls. That's why get_json waits and retries on a 429.
2. Match a keyword list without false hits
skills.py holds the keyword list and one function, find_skills. Two rules prevent most false hits:
- Boundaries that understand symbols. The standard regex boundary
\bdoesn't work for skills like "C++" or "C#", because+and#aren't word characters. Instead, the pattern says "not touching a letter, digit,_,+or#" on each side. - Exact case for everyday words. "Go", "Excel", "React", "Spark" and "Swift" are also English words. Write an alias with capitals, and it matches only that exact case. Write it in lowercase, and it matches any case.
# skills.py: find skills in job description text with a keyword list. # Python 3.9+, standard library only. Run: python3 skills.py (runs the self-check) import re # Canonical name -> aliases. A lowercase alias matches in any case ("python", # "Python", "PYTHON"). An alias with capitals matches only that exact case, for # skills that are also everyday words: "Go" but not "go-to-market", "Excel" but # not "you excel at", "React" but not "react quickly". SKILLS = { "Python": ["python"], "JavaScript": ["javascript"], "TypeScript": ["typescript"], "Java": ["java"], "Go": ["Go", "golang"], "Rust": ["rust"], "Ruby": ["ruby"], "C++": ["c++"], "C#": ["c#"], "Kotlin": ["kotlin"], "Swift": ["Swift"], "Scala": ["scala"], "PHP": ["php"], "SQL": ["sql"], "Postgres": ["postgres", "postgresql"], "MySQL": ["mysql"], "React": ["React"], "Node.js": ["node.js", "nodejs"], "GraphQL": ["graphql"], "Kubernetes": ["kubernetes", "k8s"], "Docker": ["docker"], "Terraform": ["terraform"], "AWS": ["aws"], "GCP": ["gcp", "google cloud"], "Azure": ["azure"], "Kafka": ["kafka"], "Spark": ["Spark"], "Snowflake": ["snowflake"], "dbt": ["dbt"], "Airflow": ["airflow"], "Salesforce": ["salesforce"], "Excel": ["Excel"], "Tableau": ["tableau"], "Looker": ["looker"], } def alias_pattern(alias): # Not touching a letter, digit, _, + or # on either side, so "Java" doesn't # match inside "JavaScript" and "C" would not match inside "C++". body = re.escape(alias) if alias != alias.lower() else "(?i:" + re.escape(alias) + ")" return r"(?<![\w+#])" + body + r"(?![\w+#])" PATTERNS = {name: re.compile("|".join(alias_pattern(a) for a in aliases)) for name, aliases in SKILLS.items()} def find_skills(text): """Return the sorted canonical names of every skill mentioned in text.""" return sorted(name for name, pattern in PATTERNS.items() if pattern.search(text)) if __name__ == "__main__": for sentence in [ "We use Go, TypeScript and PostgreSQL.", "Partner with Marketing on go-to-market plans and go/no-go calls.", "Strong Java skills; JavaScript is a plus.", "Experience with C++ or C#, and Node.js or nodejs.", "You excel in fast teams and can react quickly. Advanced Excel skills.", "Familiarity with Typescript/Javascript/React and SQL (not just NoSQL).", ]: print(f"{sentence}\n -> {find_skills(sentence)}") Output of python3 skills.py:
We use Go, TypeScript and PostgreSQL. -> ['Go', 'Postgres', 'TypeScript'] Partner with Marketing on go-to-market plans and go/no-go calls. -> [] Strong Java skills; JavaScript is a plus. -> ['Java', 'JavaScript'] Experience with C++ or C#, and Node.js or nodejs. -> ['C#', 'C++', 'Node.js'] You excel in fast teams and can react quickly. Advanced Excel skills. -> ['Excel'] Familiarity with Typescript/Javascript/React and SQL (not just NoSQL). -> ['JavaScript', 'React', 'SQL', 'TypeScript'] Note that "SQL" doesn't match inside "PostgreSQL" or "NoSQL". That's usually what you want, because a Postgres job and a "SQL" requirement aren't the same thing. If you want PostgreSQL to count as SQL too, add the alias.
3. Check the matches in real postings
Test sentences only catch the traps you already know about. To find the others, print each match with the text around it. context.py does this for one skill. With --any-case, it matches every alias in any case, which is what my first version did.
# context.py: show where a skill matched, so you can spot false hits. # Run: python3 context.py Go (rules from skills.py) # python3 context.py Go --any-case (every alias matched in any case) import json, re, sys from skills import SKILLS, PATTERNS, alias_pattern name = sys.argv[1] pattern = PATTERNS[name] if "--any-case" in sys.argv: pattern = re.compile("|".join(alias_pattern(a.lower()) for a in SKILLS[name])) jobs = json.load(open("jobs.json")) hits = [] for job in jobs: text = " | ".join(job["lines"]) match = pattern.search(text) if match: hits.append(f"{job['company']}: ...{text[max(0, match.start() - 40):match.end() + 25]}...") print(f"{name}: {len(hits)} of {len(jobs)} jobs") for line in hits[:4]: print(" " + line) Output:
Go: 180 of 384 jobs discord: ... readouts that shape prioritization and go/no-go calls, and measure... discord: .... | • Partner with Marketing to develop go-to-market strategies, ca... discord: ...d Engineering from early design through go-live. | • Monitor legisl... discord: .... You write production code (we lean on Go, Python, and TypeScript)... Go: 25 of 384 jobs discord: .... You write production code (we lean on Go, Python, and TypeScript)... figma: ...Figma, one of our values is Grow As You Go. We believe in hiring sm... figma: ...rontend such as TypeScript, C++, React, Go, Rust, or Python | • Exp... figma: ...• Familiarity with our stack, including Golang, Python, SQL, frameworks... Excel: 3 of 384 jobs spotify: ...and efficiencies. | • You have advanced Excel skills, experience with ... spotify: ...us. | • | Organized & Self-Reliant: You excel in a dynamic environment... spotify: ...ex financial models in Google Sheets or Excel. Experience with SQL, Py... Excel: 2 of 384 jobs spotify: ...and efficiencies. | • You have advanced Excel skills, experience with ... spotify: ...ex financial models in Google Sheets or Excel. Experience with SQL, Py... Matching any case, "Go" appears in 180 of 384 jobs. The first three examples are "go/no-go", "go-to-market" and "go-live". With the exact-case rule, it drops to 25. "Excel" drops from 3 to 2, because "You excel in a dynamic environment" no longer counts.
The exact-case rule doesn't catch everything. I printed all 25 hits (change hits[:4] to hits). 22 were the language, including "Go-based". Three were not: Figma's company value "Grow As You Go" (the second hit above), and "Go-To-Market" written with capitals in two postings. The next step removes the two "Go-To-Market" hits.
4. Count only the requirement sections
Many postings start with the same paragraph about the company. Supabase's postings start with "Supabase is the Postgres development platform, built by developers for developers." Some postings also list the company's whole stack. Six of Linear's engineering postings have an "Our tech" section that says "You’re not expected to have experience with everything listed".
Neither of these is a requirement. To skip them, count.py splits each description at its headings and counts skills only under requirement headings:
- A heading is a short line: not a bullet point, at most 12 words, and no full stop at the end.
- If the heading matches a bonus pattern ("nice to have", "bonus", "added plus", "preferred"), the lines under it are bonus skills. Bonus patterns are checked first, because some headings match both kinds. For example, Discord's "Preferred Qualifications" contains "qualifications", which is also a required pattern.
- If it matches a required pattern ("who you are", "you bring", "love to hear from you"), the lines under it are required skills.
- Any other heading that ends with a colon or has six words or fewer, such as "What you'll do" or "Our tech", starts a section that isn't counted. So does the intro before the first heading.
Some boards write "you'll" with a curly apostrophe (’) and others with a straight one ('), so the code replaces curly apostrophes before matching.
# count.py: count the skills each company asks for, by section of the description. # Python 3.9+, standard library only. Needs jobs.json (from jobs.py) and skills.py. # Run: python3 count.py (requirement sections only) # python3 count.py --whole (whole description, for comparison) import json, re, sys from collections import Counter, defaultdict from skills import find_skills # Heading text -> section kind. The first match wins, so "bonus" comes before # "required": "Preferred Qualifications" is a bonus, not a requirement. HEADING_KINDS = [ ("bonus", r"nice to have|bonus|added plus|preferred|strong signal|not required"), ("required", r"who you are|you bring|you'll bring|love to hear from you|looking for|" r"should have|requirements|qualifications|must have|fit if|you are|look for|" r"expect you"), ] def heading_kind(line): """Return 'required', 'bonus' or 'other' for a heading line, None for body text.""" text = line.replace("’", "'").lower().strip() if line.startswith("•") or len(text.split()) > 12 or text.endswith("."): return None for kind, pattern in HEADING_KINDS: if re.search(pattern, text): return kind # Any other line that ends with ":" or has six words or fewer starts some # other section ("What you'll do", "Our tech", "About us"). return "other" if text.endswith(":") or len(text.split()) <= 6 else None def split_sections(lines): """Group description lines into {'intro'|'required'|'bonus'|'other': [lines]}.""" sections, kind = defaultdict(list), "intro" for line in lines: new_kind = heading_kind(line) if new_kind: kind = new_kind else: sections[kind].append(line) return sections if __name__ == "__main__": whole = "--whole" in sys.argv jobs = json.load(open("jobs.json")) per_company, totals = defaultdict(Counter), Counter() no_reqs, required, bonus_only = Counter(), Counter(), Counter() for job in jobs: sections = split_sections(job["lines"]) totals[job["company"]] += 1 if whole: per_company[job["company"]].update(find_skills("\n".join(job["lines"]))) continue req = set(find_skills("\n".join(sections["required"]))) bonus = set(find_skills("\n".join(sections["bonus"]))) per_company[job["company"]].update(sorted(req | bonus)) required.update(sorted(req)) bonus_only.update(sorted(bonus - req)) no_reqs[job["company"]] += not (sections["required"] or sections["bonus"]) print("company jobs no req. section top skills (jobs that mention each)") for company, counts in per_company.items(): top = ", ".join(f"{name} {n}" for name, n in countsSource:https://dev.to/neorhapsody/extract-the-skills-a-job-asks-for-from-its-description-keyword-lists-word-boundaries-and-sections-4dekRelated posts

Know any place in India before you decide: I built EarthDepth, solo, with Claude Code
Build a Zero-Upload 9:16 Video Clipper with Canvas and MediaRecorder
Build a Bubble Shooter Game in Flutter
