Agent skill · Code Review & Quality

bio-primer-design-primer-basics

Design PCR primers for a target sequence using primer3-py. Specify target regions, product size, melting temperature, and other constraints. Returns ranked primer pairs with quality metrics. Use when designing standard PCR primers.

BioTender-maxgithub.com/BioTender-maxGitHub ↗
claude-codeships scriptsNOASSERTION
Install
npx skills add BioTender-max/awesome-bio-agent-skills --skill primer-basics --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 3
SKILL.md size: 9 KB
Bundled scripts: yes
Path: skills/bioskills/primer-basics/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 135
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

## Version Compatibility Reference examples tested with: BioPython 1.83+, pandas 2.2+, primer3-py 2.0+ Before using code patterns, verify installed versions match. If versions differ: - Python: `pip show <package>` then `help(module.function)` to check signatures If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying. # PCR Primer Design **"Design primers for this sequence"** → Given a template sequence and constraints (product size, Tm, GC%), find ranked primer pairs that amplify the target region. - Python: `primer3.design_primers()` (primer3-py) - CLI: `primer3_core` (Primer3) Design PCR primers using primer3-py, the Python binding for Primer3. ## Required Imports ```python import primer3 from primer3 import p3helpers from Bio import SeqIO from Bio.Seq import Seq ``` ## Sequence Preparation (p3helpers) ```python # Sanitize sequence (uppercase, remove whitespace) raw_seq = ' atgc gatc GATC ' clean_seq = p3helpers.sanitize_sequence(raw_seq) print(f'Cleaned: {clean_seq}') # 'ATGCGATCGATC' # Reverse complement for designing reverse primers seq = 'ATGCGATCGATC' rc_seq = p3helpers.re

What's inside
Steps it walks through
  1. Version Compatibility
  2. Required Imports
  3. Sequence Preparation (p3helpers)
  4. Basic Primer Design
  5. Extract Primer Results
  6. Target a Specific Region
  7. Primers Must Span a Region
  8. Exclude Regions
  9. Constrain Primer Positions
  10. Design for Sequencing
  11. Full Parameter Control
  12. Load Sequence from FASTA
  13. Calculate Tm Directly
  14. Tm Calculation Defaults
Ships with 2 files
  • examples/primer_design.py
  • usage-guide.md
More from awesome-bio-agent-skills
All skills →
About this skill
What does the bio-primer-design-primer-basics skill do?

Design PCR primers for a target sequence using primer3-py. Specify target regions, product size, melting temperature, and other constraints. Returns ranked primer pairs with quality metrics. Use when designing standard PCR primers.

How do I install it?

Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill primer-basics --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From BioTender-max/awesome-bio-agent-skills, a repository with 135 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going