All files / template/definitions en.ts

100% Statements 3/3
100% Branches 0/0
100% Functions 0/0
100% Lines 3/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259                          3x                                                                                                                                       3x                                                                                                                                                                                                                                                                                                                                                       3x          
/**
 * English template definitions
 */
 
import type {
  FrontmatterFieldTemplate,
  SectionTemplate,
  TemplateDefinition,
} from '../../types/template.js';
 
/**
 * English frontmatter field templates
 */
export const EN_FRONTMATTER_FIELDS: readonly FrontmatterFieldTemplate[] = [
  {
    key: 'name',
    example: 'John Doe',
    description: 'Your full name as it should appear on the CV',
    required: true,
  },
  {
    key: 'email_address',
    example: 'john.doe@example.com',
    description: 'Your primary email address for professional contact',
    required: true,
  },
  {
    key: 'phone_number',
    example: '+1-555-123-4567',
    description: 'Your phone number with country code',
    required: true,
  },
  {
    key: 'home_address',
    example: 'San Francisco, CA',
    description:
      'Your location (city, state/country) - full address not recommended for privacy',
    required: false,
  },
  {
    key: 'linkedin',
    example: 'https://linkedin.com/in/johndoe',
    description: 'Your LinkedIn profile URL for professional networking',
    required: false,
  },
  {
    key: 'job_title',
    example: 'Software Engineer',
    description: 'Your current job title (used in cover letter header)',
    required: false,
  },
  {
    key: 'recipient_name',
    example: 'Hiring Manager',
    description: 'Name of the person you are addressing the cover letter to',
    required: false,
  },
  {
    key: 'recipient_company',
    example: 'Acme Corp',
    description: 'Company name for the cover letter recipient',
    required: false,
  },
  {
    key: 'subject',
    example: 'Software Engineer Position',
    description: 'Subject line for the cover letter (e.g., position title)',
    required: false,
  },
  {
    key: 'date',
    example: 'February 13, 2026',
    description:
      'Date of the cover letter (defaults to current date if omitted)',
    required: false,
  },
] as const;
 
/**
 * English section templates
 */
export const EN_SECTIONS: readonly SectionTemplate[] = [
  {
    id: 'summary',
    title: 'Summary',
    description:
      'A brief professional summary (2-4 sentences) highlighting your key qualifications, years of experience, and career objectives. This is the first thing recruiters read, so make it compelling and tailored to your target role.',
    usage: 'cv',
    content: `Write a compelling summary of your professional background, key skills, and what you bring to potential employers.
Focus on your unique value proposition and career highlights.
 
Example:
Experienced software engineer with 8+ years of expertise in building scalable web applications.
Passionate about clean code, mentoring junior developers, and delivering high-quality solutions.`,
  },
  {
    id: 'experience',
    title: 'Experience',
    description:
      'Your work history with companies, roles, dates, and achievements. List in reverse chronological order (most recent first). Use action verbs and quantify achievements where possible (e.g., "Increased sales by 25%", "Reduced load time by 40%").',
    usage: 'both',
    content: `\`\`\`resume:experience
- company: Company Name
  location: City, Country
  roles:
    - title: Job Title
      team: Team Name (optional)
      start: 2022-01
      end: present
      summary:
        - Brief description of your role and responsibilities
      highlights:
        - Key achievement with measurable impact (e.g., "Reduced deployment time by 50%")
        - Another significant accomplishment
        - Quantifiable result (e.g., "Managed team of 5 engineers")
      projects:
        - name: Project Name (optional)
          start: 2022-06
          end: 2023-01
          bullets:
            - Project contribution or outcome
\`\`\``,
  },
  {
    id: 'education',
    title: 'Education',
    description:
      'Your educational background including degrees, institutions, graduation dates, and relevant details. Include GPA if above 3.5, relevant coursework, honors, or thesis topics if applicable.',
    usage: 'both',
    content: `\`\`\`resume:education
- school: University Name
  degree: Bachelor of Science in Computer Science
  location: City, Country
  start: 2014-09
  end: 2018-06
  details:
    - GPA: 3.8/4.0 (include if above 3.5)
    - Relevant coursework: Data Structures, Algorithms, Machine Learning
    - Honors: Dean's List, Summa Cum Laude
\`\`\``,
  },
  {
    id: 'skills',
    title: 'Skills',
    description:
      'Your technical and professional skills organized by category. Be specific and honest about your proficiency levels. Include programming languages, frameworks, tools, and soft skills relevant to your target role.',
    usage: 'both',
    content: `\`\`\`resume:skills
categories:
  - category: Programming Languages
    items: [JavaScript, TypeScript, Python, Go]
  - category: Frameworks & Libraries
    items: [React, Node.js, Django, Express]
  - category: Tools & Platforms
    items: [AWS, Docker, Kubernetes, Git, CI/CD]
  - category: Databases
    items: [PostgreSQL, MongoDB, Redis]
\`\`\``,
  },
  {
    id: 'certifications',
    title: 'Certifications',
    description:
      'Professional certifications and licenses you have obtained. Include the certification name, issuing organization, date obtained, and expiration date if applicable. Prioritize certifications relevant to your target role.',
    usage: 'both',
    content: `\`\`\`resume:certifications
- name: AWS Solutions Architect Professional
  issuer: Amazon Web Services
  date: 2023-06
  url: https://aws.amazon.com/certification/ (optional)
- name: Certified Kubernetes Administrator
  issuer: CNCF
  date: 2022-11
\`\`\``,
  },
  {
    id: 'languages',
    title: 'Languages',
    description:
      'Languages you speak and your proficiency level. Use standard proficiency levels: Native, Fluent, Professional working proficiency, Limited working proficiency, Elementary. Include certifications like TOEFL, IELTS, JLPT if applicable.',
    usage: 'cv',
    content: `\`\`\`resume:languages
- language: English
  level: Native
- language: Spanish
  level: Professional working proficiency
- language: Japanese
  level: Conversational (JLPT N2)
\`\`\``,
  },
  {
    id: 'competencies',
    title: 'Core Competencies',
    description:
      'Key strengths and competencies that set you apart. Focus on transferable skills and leadership qualities. Provide brief descriptions with concrete examples of how you have demonstrated each competency.',
    usage: 'both',
    content: `\`\`\`resume:competencies
- header: Technical Leadership
  description: Led cross-functional teams of 10+ engineers, delivering projects on time and within budget.
- header: Problem Solving
  description: Strong analytical skills with a track record of solving complex technical challenges.
- header: Communication
  description: Excellent written and verbal communication skills, experienced in stakeholder management.
\`\`\``,
  },
  {
    id: 'motivation',
    title: 'Motivation',
    description:
      'Your motivation for applying to this position (rirekisho format only). Explain why you are interested in the company/role, what attracts you to the opportunity, and how your background makes you a good fit.',
    usage: 'rirekisho',
    content: `Write your motivation for applying to this specific position or company.
Explain why you are interested and what you hope to contribute.
 
Tips:
- Research the company and mention specific aspects that attract you
- Connect your experience and skills to the role requirements
- Show enthusiasm while remaining professional`,
  },
  {
    id: 'notes',
    title: 'Notes',
    description:
      'Additional notes such as availability, salary expectations, work preferences, or special requests (rirekisho format only). Be clear and professional about any constraints or preferences.',
    usage: 'rirekisho',
    content: `Add any additional information such as:
- Earliest start date: Available immediately / After 2 weeks notice
- Preferred work location: Remote / Hybrid / On-site
- Work authorization status if relevant
- Other relevant notes for the employer`,
  },
  {
    id: 'cover_letter_body',
    title: 'Cover Letter',
    description:
      'The body of your cover letter. Write 3-5 paragraphs: opening (why you are writing), body (your qualifications and fit), and closing (call to action). Set recipient_name, recipient_company, subject, job_title, and date in frontmatter.',
    usage: 'cover_letter',
    content: `I am writing to express my strong interest in the [Position] at [Company].
With [X] years of experience in [field], I am excited about the opportunity to contribute to your team.
 
In my current role at [Current Company], I [key achievement with measurable impact].
My experience directly aligns with your needs: [specific connection to job requirements].
 
I am eager to bring my expertise in [skills] to help [Company] achieve [goal].
I look forward to discussing how my experience can contribute to your team.
 
Thank you for considering my application.`,
  },
] as const;
 
/**
 * Complete English template definition
 */
export const EN_TEMPLATE: TemplateDefinition = {
  language: 'en',
  frontmatterFields: EN_FRONTMATTER_FIELDS,
  sections: EN_SECTIONS,
} as const;