Employee Handbook Generator
Run ID: 69cc87ba3e7fb09ff16a2bc82026-04-01HR
PantheraHive BOS
BOS Dashboard

Generate a comprehensive employee handbook with company policies, benefits overview, code of conduct, leave policies, and compliance sections.

Step 1 of 3: Analyze Requirements - Employee Handbook Generator

This document outlines the comprehensive requirements, design specifications, wireframe descriptions, color palettes, and user experience (UX) recommendations for the "Employee Handbook Generator." The goal is to create an intuitive, efficient, and robust tool that enables businesses to generate professional, legally compliant, and customized employee handbooks.


1. Detailed Design Specifications

The Employee Handbook Generator will be a web-based application designed to guide users through the process of creating a complete employee handbook.

1.1 Functional Requirements

  • User Authentication & Authorization (Optional but Recommended): Secure login for administrators/HR personnel, potentially with role-based access if multiple users are involved.
  • Project Management:

* Ability to start a new handbook project.

* Save and load in-progress handbook drafts.

* Duplicate existing handbooks for quick modifications.

* Version control for published handbooks (optional, but valuable).

  • Content Generation Workflow: A clear, step-by-step process for inputting information and generating the handbook.
  • Company Information Input: Dedicated fields for company name, logo upload, mission statement, values, address, and contact details.
  • Section Selection & Customization:

* Pre-defined list of essential handbook sections (see 1.3 Content Sections).

* Option to enable/disable specific sections.

* Ability to reorder sections via drag-and-drop.

* Option to add custom sections with free-form content.

  • Policy Input Forms:

* Structured input fields for specific policy details (e.g., for Leave Policies: type of leave, duration, eligibility criteria).

* Rich Text Editor (WYSIWYG) for general policy descriptions and custom content, allowing for formatting (bold, italics, lists, links).

* Pre-populated template text for common policies, with clear indicators for customizable fields.

  • Branding Customization:

* Logo upload functionality with preview.

* Primary color selection (via color picker or hex code) for branding elements within the handbook.

* Font selection for headings and body text (limited professional options).

  • Preview Functionality:

* Real-time or dedicated preview mode displaying the handbook as it's being built.

* Ability to navigate through the previewed handbook via an auto-generated table of contents.

  • Output & Export:

* Generate handbook in PDF format (high-quality, printable, with clickable table of contents).

* Option to generate a web-viewable version (HTML) that can be hosted or shared as a link.

* Optional: Export to editable document formats (e.g., DOCX) for further external customization.

  • Compliance & Legal Guidance:

* Contextual tips and warnings regarding common legal requirements (e.g., FMLA eligibility, EEO statements).

* Disclaimer section automatically included, advising users to consult legal counsel.

  • Help & Support: Integrated tooltips, FAQs, and access to support resources.

1.2 Technical Considerations (Brief)

  • Platform: Web-based, responsive design.
  • Backend: Robust content management system (CMS) to store handbook data.
  • PDF Generation: Utilize a reliable PDF generation library that supports complex layouts and branding.
  • Security: Data encryption, secure authentication, and regular security audits.

1.3 Content Sections (Detailed Breakdown)

The generator will offer comprehensive sections, allowing users to populate or customize them:

  1. Welcome & Introduction:

* Welcome Message from Leadership

* Company Mission, Vision, and Values

* Purpose of the Handbook

* Disclaimer (At-Will Employment, Handbook is not a contract, right to modify)

  1. Company Culture & Values:

* Organizational Structure

* Diversity, Equity, and Inclusion Statement

* Communication Guidelines

  1. Employment Policies:

* Equal Employment Opportunity (EEO) Statement

* At-Will Employment Statement

* Recruitment & Hiring Practices

* Onboarding & Orientation

* Employment Classifications (Full-time, Part-time, Exempt, Non-Exempt, Contractor)

* Promotions & Transfers

* Performance Management & Reviews

* Employee Records & Privacy

  1. Compensation & Benefits:

* Pay Periods & Overtime Policy

* Wage Garnishments

* Health Insurance (Medical, Dental, Vision)

* Life & Disability Insurance

* Retirement Plans (e.g., 401k)

* Employee Perks & Discounts

* Workers' Compensation

  1. Time Off & Leave Policies:

* Paid Time Off (PTO) / Vacation Policy

* Sick Leave Policy

* Company Holidays

* Family and Medical Leave Act (FMLA)

* Bereavement Leave

* Jury Duty Leave

* Military Leave

* Other Leaves of Absence (Personal, Educational)

  1. Workplace Conduct & Expectations:

* Code of Conduct

* Anti-Harassment & Anti-Discrimination Policy

* Workplace Violence Prevention

* Drug-Free Workplace Policy

* Dress Code & Appearance

* Attendance & Punctuality

* Conflict of Interest

* Confidentiality & Non-Disclosure

* Solicitation & Distribution

* Smoking Policy

  1. IT & Communication Policies:

* Company Property & Equipment Use

* Email & Internet Usage

* Social Media Policy

* Data Security & Privacy

* Electronic Communications Monitoring

  1. Safety & Security:

* Emergency Procedures (Fire, Evacuation)

* Accident Reporting

* Workplace Safety Rules

* Building Security & Access Control

  1. Employee Development & Training:

* Training & Professional Development Opportunities

* Performance Improvement Plans (PIPs)

  1. Separation of Employment:

* Resignation Procedures

* Termination Procedures

* Exit Interviews

* Return of Company Property

* Final Paycheck & Benefits Continuation

  1. Disciplinary Action:

* Progressive Discipline Policy

* Investigative Procedures

  1. Employee Acknowledgment Form:

* A customizable form for employees to sign, acknowledging receipt and understanding of the handbook.


2. Wireframe Descriptions

The user interface will be designed for clarity and ease of use, following a logical flow.

2.1 Dashboard / Home Screen

  • Layout: Clean, minimalist.
  • Elements:

* "Create New Handbook" button (prominent).

* "My Handbooks" section listing saved drafts/published handbooks (table with Name, Last Modified, Status, Actions).

* Optional: "Templates" section with pre-designed handbook structures.

* Help/Support links.

2.2 Step-by-Step Handbook Generator Flow

The generator will utilize a multi-step form, likely with a persistent sidebar or top navigation indicating progress.

  • Step 1: Company Information & Branding

* Layout: Single page form.

* Elements:

* Text fields for: Company Name, Address, Website, Contact Email.

* File upload for Company Logo (with preview thumbnail).

* Color picker/hex code input for Primary Brand Color.

* Font selectors (dropdowns) for Heading and Body text.

* Rich Text Editor for Mission/Vision Statement.

* "Next" button.

  • Step 2: Section Selection & Ordering

* Layout: Two-column or drag-and-drop interface.

* Elements:

* Left Column: List of "Available Sections" (e.g., Employment Policies, Time Off). Each item has a toggle/checkbox to include.

* Right Column: List of "Included Sections" (drag-and-drop enabled for reordering).

* "Add Custom Section" button which opens a modal for title and initial content.

* "Next" button.

  • Step 3: Detailed Policy Input (Section-by-Section)

* Layout: Dynamic content area, possibly with a left-hand navigation specific to the current section's sub-policies.

* Elements:

* Section Navigation: A sub-menu/accordion on the left listing all sub-policies within the current main section (e.g., under "Time Off & Leave Policies": Vacation, Sick Leave, FMLA).

* Content Area: Displays a dedicated form or Rich Text Editor for the selected sub-policy.

* Form Fields: Specific to the policy (e.g., for Vacation: "Accrual Rate," "Maximum Carryover," "Eligibility").

* Rich Text Editor: For general policy descriptions, allowing for detailed explanations.

* Template Text: Placeholder text or suggested policy language, clearly editable.

* Contextual Help: Tooltips or small info icons next to complex fields.

* "Save & Continue" or "Next Policy" buttons.

* "Previous Section" and "Next Section" navigation buttons.

  • Step 4: Review & Preview

* Layout: Full-page preview of the generated handbook.

* Elements:

* Interactive Table of Contents: On the left or as a sticky element, allowing quick navigation to any section.

* Handbook Content: Scrollable display of the complete handbook, with applied branding, fonts, and user-entered content.

* "Edit Section" button next to each section in the preview, linking back to Step 3 for quick revisions.

* "Previous" and "Generate Handbook" buttons.

  • Step 5: Generate & Download

* Layout: Confirmation and download options.

* Elements:

* Confirmation message: "Your handbook is ready!"

* "Download PDF" button.

* "View Web Version" button (opens in new tab).

* Optional: "Email Link" or "Print" options.

* Optional: "Save as New Template" button.

* "Back to Dashboard" button.


3. Color Palettes

The color palette should convey professionalism, trustworthiness, and approachability.

  • Primary Brand Color: A strong, professional color, often blue or green, to be used for primary buttons, active states, and key headings.

* Example: #0056B3 (Deep Blue) or #28A745 (Forest Green)

  • Secondary Accent Color: A complementary color for secondary actions, highlights, and icons. Should contrast well with the primary.

* Example (for Deep Blue primary): #FFC107 (Amber) or #17A2B8 (Teal)

* Example (for Forest Green primary): #6F42C1 (Purple) or #DC3545 (Red - sparingly)

  • Neutral Colors: Essential for background, text, borders, and inactive states.

* Backgrounds: #F8F9FA (Light Gray), #FFFFFF (White)

* Text: #212529 (Dark Gray for primary text), #6C757D (Medium Gray for secondary text/labels)

* Borders/Dividers: #DEE2E6 (Light Border Gray)

  • System Colors: For specific feedback.

* Success: #28A745 (Green)

* Warning: #FFC107 (Yellow/Amber)

* Error: #DC3545 (Red)

* Information: #17A2B8 (Light Blue/Teal)

General Color Scheme Recommendation:

A base of cool blues and grays for professionalism and trust, with a subtle accent color (e.g., a muted orange or teal) for interactive elements and highlights.


4. UX Recommendations

User experience is paramount for this

gemini Output

This document outlines a comprehensive Employee Handbook, ready for customization and publishing. It covers essential company policies, benefits, code of conduct, leave policies, and compliance sections, designed to provide clarity and set expectations for all employees.


Employee Handbook: Your Guide to Working at [Company Name]

Welcome to the [Company Name] Team!

A Message from Our Leadership

Dear Valued Employee,

On behalf of the entire leadership team, I extend a warm welcome to you! We are thrilled to have you join [Company Name] and become a part of our growing family. Your skills, dedication, and unique perspective are invaluable to our collective success.

At [Company Name], we believe that our employees are our greatest asset. We are committed to fostering an inclusive, innovative, and supportive environment where everyone can thrive, grow, and contribute their best work. We are proud of our mission to [briefly state company mission, e.g., "revolutionize X industry," "provide exceptional Y service," "create Z products that impact lives"] and we know that with your help, we will continue to achieve great things.

This Employee Handbook serves as your guide to understanding our company culture, policies, benefits, and expectations. It's designed to provide you with the information you need to navigate your role, understand your rights and responsibilities, and feel confident in your journey with us. Please take the time to read through it carefully, as it contains important information that applies to all employees.

We are excited about what we will accomplish together and look forward to your contributions. Welcome aboard!

Sincerely,

[CEO Name/Company Leadership]

[Company Name]


1. Introduction and Purpose

1.1. Purpose of This Handbook

This Employee Handbook is designed to provide a clear and comprehensive overview of the policies, procedures, benefits, and expectations that govern employment at [Company Name]. It serves as a valuable resource to help you understand your role within the company, our commitment to a positive work environment, and the standards we uphold.

This handbook is not an employment contract, express or implied. Employment at [Company Name] is "at-will," meaning that either the employee or the company can terminate the employment relationship at any time, for any or no reason, with or without notice, subject to applicable laws.

1.2. How to Use This Handbook

We encourage you to read this handbook thoroughly and refer to it whenever you have questions about company policies or procedures. While this handbook covers a broad range of topics, it cannot address every possible situation. For specific questions or further clarification, please do not hesitate to contact your manager or the Human Resources Department.

1.3. Handbook Updates and Revisions

[Company Name] reserves the right to modify, revoke, suspend, or terminate any or all of the policies, procedures, and benefits described in this handbook, in whole or in part, at any time, with or without notice, at its sole discretion, subject to applicable laws. All employees will be informed of significant changes as they occur. The most current version of this handbook will always supersede any prior versions.


2. Our Company Culture & Values

2.1. Mission, Vision, and Values

  • Our Mission: [State your company's mission – why you exist and what you do. E.g., "To empower businesses with innovative software solutions that drive efficiency and growth."]
  • Our Vision: [State your company's vision – what you aspire to be or achieve in the future. E.g., "To be the global leader in cloud-based business intelligence, recognized for our cutting-edge technology and exceptional customer service."]
  • Our Core Values: These values guide our actions, decisions, and interactions every day:

* Integrity: We act with honesty, transparency, and ethical conduct in all our dealings.

* Innovation: We embrace creativity, continuous improvement, and forward-thinking solutions.

* Collaboration: We foster teamwork, mutual respect, and open communication.

* Excellence: We strive for the highest standards in our work and commit to delivering quality.

* Customer Focus: We are dedicated to understanding and exceeding the expectations of our customers.

* Respect: We value diversity, treat everyone with dignity, and promote an inclusive environment.

2.2. Diversity, Equity, and Inclusion (DEI)

[Company Name] is committed to creating and maintaining a diverse, equitable, and inclusive workplace where all employees feel valued, respected, and empowered to contribute their unique perspectives and talents. We believe that a diverse workforce fosters innovation, strengthens problem-solving, and enriches our company culture. We are dedicated to fair treatment and equal opportunity for all.


3. Company Policies

3.1. Employment at Will

Employment with [Company Name] is voluntary and "at-will." This means that either you or [Company Name] may terminate the employment relationship at any time, for any or no reason, with or without notice, provided it does not violate applicable law. No representative of [Company Name] has the authority to enter into any agreement with you for employment for a specified period of time, or to make any agreement contrary to the at-will employment relationship, unless such agreement is in writing and signed by the CEO or a designated executive.

3.2. Equal Employment Opportunity (EEO)

[Company Name] is an Equal Opportunity Employer. We are committed to providing a workplace free from discrimination and harassment. All employment decisions are based on business needs, job requirements, and individual qualifications, without regard to race, color, religion, sex (including pregnancy, childbirth, or related medical conditions), gender identity, gender expression, sexual orientation, national origin, age, disability, genetic information, veteran status, or any other characteristic protected by federal, state, or local law.

3.3. Anti-Harassment and Anti-Discrimination Policy

[Company Name] maintains a strict policy prohibiting harassment and discrimination of any kind, including sexual harassment, in the workplace. This applies to all employees, applicants, customers, and vendors. Harassment includes unwelcome conduct that is based on protected characteristics and creates a hostile, intimidating, or offensive work environment. Any employee who believes they have been subjected to harassment or discrimination, or who witnesses such behavior, should immediately report it to their manager, Human Resources, or any member of the leadership team. All complaints will be investigated promptly and thoroughly, and appropriate corrective action will be taken. Retaliation against anyone who reports harassment or discrimination in good faith is strictly prohibited.

3.4. Workplace Safety

The safety and well-being of our employees are paramount. [Company Name] is committed to providing a safe and healthy work environment in compliance with all applicable federal, state, and local safety regulations. Employees are responsible for:

  • Following all safety rules and procedures.
  • Reporting any unsafe conditions, equipment, or practices immediately to their supervisor or HR.
  • Reporting all work-related injuries, illnesses, or accidents, no matter how minor, to their supervisor and HR as soon as possible.
  • Participating in safety training programs.

3.5. Drug-Free Workplace Policy

[Company Name] is committed to maintaining a drug-free and alcohol-free workplace to ensure the safety, health, and productivity of all employees. The unlawful manufacture, distribution, dispensation, possession, or use of controlled substances or alcohol in the workplace or while on company business is strictly prohibited. Employees found in violation of this policy may be subject to disciplinary action, up to and including termination of employment.

3.6. Confidentiality and Data Protection

During your employment, you may have access to confidential and proprietary information belonging to [Company Name], our customers, or our partners. This includes, but is not limited to, trade secrets, financial data, customer lists, marketing strategies, product designs, software code, and employee information. All such information must be treated with the utmost confidentiality. Employees are prohibited from disclosing, using, or reproducing confidential information outside the scope of their employment, both during and after their employment with [Company Name]. Violations of this policy may result in disciplinary action, up to and including termination, and legal action.

3.7. Use of Company Property and Equipment

Company-provided equipment, including computers, software, phones, vehicles, and other tools, are intended for business use. While incidental personal use may be permitted, employees must ensure that such use does not interfere with their work duties, violate company policies, or incur significant costs to the company. Employees are responsible for the proper care, maintenance, and security of all company property. Any damage, loss, or theft of company property must be reported immediately. All company property must be returned upon termination of employment.

3.8. Internet, Email, and Social Media Usage

  • Company Systems: Company-provided internet access, email, and communication systems are for business purposes. While limited personal use is permitted, employees should have no expectation of privacy when using company systems. [Company Name] reserves the right to monitor usage of all company systems and data.
  • Prohibited Content: Use of company systems for illegal activities, harassment, transmission of offensive or inappropriate material, or accessing sexually explicit or hateful content is strictly prohibited.
  • Social Media: Employees are encouraged to exercise good judgment and professionalism when engaging in social media, whether on personal or company time. Do not disclose confidential company information, make disparaging remarks about the company, its employees, customers, or competitors, or engage in activities that could negatively impact [Company Name]'s reputation. When identifying as a [Company Name] employee on social media, make it clear that your views are your own and not necessarily those of the company.

3.9. Attendance and Punctuality

Regular attendance and punctuality are essential for the efficient operation of [Company Name]. Employees are expected to report to work on time, as scheduled, and to remain at work for their entire scheduled shift. If you anticipate being late or absent, you must notify your supervisor as soon as possible, ideally before your scheduled start time. Unapproved absences or excessive tardiness may result in disciplinary action.

3.10. Dress Code

[Company Name] promotes a professional yet comfortable work environment. Employees are expected to dress in a manner appropriate for our business operations, which typically means business casual attire. Clothing should be clean, neat, and in good repair. Specific departments or roles may have additional dress code requirements, which will be communicated by your manager.

3.11. Performance Management

[Company Name] is committed to supporting employee growth and development. Our performance management process includes regular feedback, goal setting, performance reviews, and opportunities for professional development. Managers will work with employees to set clear expectations, provide ongoing coaching, and conduct formal performance evaluations to discuss achievements, areas for improvement, and career goals.

3.12. Disciplinary Action

When an employee's performance or conduct does not meet company standards, [Company Name] may implement a progressive disciplinary process. This typically involves warnings, performance improvement plans, and in more severe cases, suspension or termination. The specific action taken will depend on the nature and severity of the infraction, prior disciplinary history, and other relevant factors.

3.13. Grievance Procedure / Open Door Policy

[Company Name] encourages open communication and constructive dialogue. If you have a concern, complaint, or grievance regarding your work, your manager, a colleague, or company policy, we encourage you to discuss it openly.

  • Step 1: Discuss the issue with your immediate supervisor. Many issues can be resolved at this level.
  • Step 2: If the issue remains unresolved or if you are uncomfortable discussing it with your supervisor, contact the Human Resources Department.
  • Step 3: If the issue is still not resolved, HR may escalate it to senior management.

[Company Name] has an "Open Door Policy," meaning employees are encouraged to speak with their managers or HR at any time about concerns, suggestions, or questions without fear of retaliation.

3.14. Work Hours and Overtime

The standard workweek at [Company Name] is [e.g., 40 hours, Monday through Friday, 9:00 AM to 5:00 PM]. Specific work schedules may vary by department or role. Non-exempt employees are eligible for overtime pay for hours worked over [e.g., 40 hours] in a workweek, in accordance with applicable federal and state laws. All overtime work must be pre-approved by your supervisor. Exempt employees are not eligible for overtime pay.

3.15. Remote Work Policy (If Applicable)

[Company Name] may offer remote work opportunities for certain roles or in specific circumstances. Remote work arrangements must be approved by management and HR. Employees working remotely are expected to maintain the same level of productivity, adhere to all company policies, and ensure a secure and suitable remote workspace. Details regarding equipment, communication, and expectations for remote employees will be outlined in a separate Remote Work Agreement.


4. Compensation & Benefits Overview

4.1. Pay Periods and Direct Deposit

Employees are paid [e.g., bi-weekly/semi-monthly] on [specific days, e.g., the 15th and last day of each month]. Pay is distributed via direct deposit. All employees are required to set up direct deposit. Pay stubs are accessible online through [Payroll System Name/Link].

4.2. Health Insurance

[Company Name] offers comprehensive health insurance benefits to eligible employees and their dependents. This typically includes:

  • Medical Insurance: [Briefly describe options, e.g., "PPO and HMO plans with various deductible options."]
  • Dental Insurance: [Briefly describe, e.g., "Covers preventative, basic, and major services."]
  • Vision Insurance: [Briefly describe, e.g., "Covers eye exams, glasses, and contact lenses."]

Eligibility requirements, enrollment periods, and plan details are available through the Human Resources Department and during new hire orientation.

4.3. Life and Disability Insurance

  • Life Insurance: [Company Name] provides a basic life insurance policy for eligible employees at no cost. Employees may have the option to purchase supplemental life insurance.
  • **Short-Term
gemini Output

Employee Handbook: [Company Name]

Effective Date: [Date, e.g., January 1, 2024]

Version: 1.0


Welcome to [Company Name]!

On behalf of the entire team, welcome to [Company Name]! We are thrilled to have you join our growing family. This handbook has been created to introduce you to our company culture, values, policies, and the benefits available to you as an employee.

At [Company Name], we believe that our success is built upon the dedication, talent, and hard work of our employees. We are committed to fostering a supportive, inclusive, and dynamic work environment where everyone can thrive, contribute their best work, and grow professionally.

This handbook is a guide, not a contract. It outlines the general expectations and guidelines for working at [Company Name]. We encourage you to read it carefully and familiarize yourself with its contents. Should you have any questions, please do not hesitate to contact [HR Department/Manager Name] for clarification.

We look forward to a successful and rewarding journey together!

Sincerely,

The Leadership Team

[Company Name]


1. About [Company Name]

1.1 Our Mission

[Company Name]'s mission is to [State your company's core purpose and what it aims to achieve, e.g., "innovate sustainable solutions that empower communities and protect our planet."].

1.2 Our Vision

Our vision is to [Describe your long-term aspirations and ideal future state, e.g., "be the global leader in eco-friendly technology, inspiring a healthier, more sustainable world."].

1.3 Our Core Values

At [Company Name], our values guide our actions, decisions, and interactions. We are committed to:

  • Integrity: Acting with honesty, transparency, and ethical conduct in all we do.
  • Innovation: Continuously seeking new and better ways to solve problems and create value.
  • Collaboration: Working together, leveraging diverse perspectives to achieve common goals.
  • Excellence: Striving for the highest quality in our work, products, and services.
  • Respect: Treating everyone with dignity, fostering an inclusive environment.
  • Customer Focus: Prioritizing the needs and satisfaction of our customers.
  • Sustainability: Committing to environmentally responsible practices.

[Adjust these values to reflect your company's specific ethos.]


2. Employment Basics

2.1 Equal Employment Opportunity

[Company Name] is an Equal Opportunity Employer. We are committed to providing a workplace free of discrimination and harassment. All employment decisions are based on business needs, job requirements, and individual qualifications, without regard to race, color, religion, sex (including pregnancy, gender identity, and sexual orientation), national origin, age, disability, genetic information, veteran status, or any other status protected by federal, state, or local law. We encourage all qualified individuals to apply and succeed.

2.2 At-Will Employment

Employment with [Company Name] is "at-will." This means that either you or [Company Name] may terminate the employment relationship at any time, with or without cause, and with or without notice, subject to applicable laws. Nothing in this handbook, or in any company policy, should be construed as creating a contract of employment for a definite term.

2.3 Employment Classifications

Employees are generally classified as follows:

  • Full-Time Exempt: Typically salaried employees who meet specific legal tests for exemption from overtime pay, working a standard schedule of [e.g., 40 hours] per week.
  • Full-Time Non-Exempt: Typically hourly employees who are eligible for overtime pay, working a standard schedule of [e.g., 40 hours] per week.
  • Part-Time Non-Exempt: Hourly employees working less than [e.g., 30-40 hours] per week, eligible for overtime pay when applicable.
  • Temporary/Contract: Individuals hired for a specific project or period, often through an agency. Their benefits and terms of employment are defined by their specific contract.

Your employment classification will be communicated to you upon hire and may impact your eligibility for certain benefits.

2.4 Onboarding & Orientation

New employees will participate in an onboarding and orientation program designed to introduce them to [Company Name]'s culture, policies, procedures, and the specific requirements of their role. This includes essential paperwork, benefits enrollment, and initial training.

2.5 Performance Reviews

Regular performance reviews are conducted to provide constructive feedback, recognize achievements, identify areas for development, and discuss career goals. Typically, reviews occur [e.g., annually, semi-annually] or at the conclusion of an initial probationary period.

2.6 Personnel Files

[Company Name] maintains a personnel file for each employee, containing employment-related documents such as applications, offer letters, performance reviews, and compensation history. Employees may review their personnel file by submitting a written request to [HR Department] with reasonable notice.

2.7 Confidentiality

Employees are entrusted with confidential and proprietary information belonging to [Company Name], its clients, and partners. This includes, but is not limited to, trade secrets, financial data, customer lists, marketing strategies, product designs, and personnel information. Employees are required to maintain strict confidentiality both during and after their employment. Unauthorized disclosure of confidential information may result in disciplinary action, up to and including termination, and legal action.


3. Workplace Conduct & Expectations (Code of Conduct)

3.1 Professionalism & Respect

All employees are expected to conduct themselves professionally and respectfully in all interactions with colleagues, clients, partners, and the public. This includes maintaining a positive attitude, effective communication, and a commitment to teamwork.

3.2 Anti-Harassment & Non-Discrimination

[Company Name] has zero tolerance for harassment or discrimination of any kind. This includes, but is not limited to, harassment based on race, color, religion, sex (including pregnancy, gender identity, and sexual orientation), national origin, age, disability, genetic information, veteran status, or any other protected characteristic. Harassment can include offensive jokes, slurs, epithets or name calling, physical assaults or threats, intimidation, ridicule or mockery, insults or put-downs, offensive objects or pictures, and interference with work performance.

Reporting Procedure: If you experience or witness any form of harassment or discrimination, you must immediately report it to your direct supervisor, [HR Department], or any member of management. All reports will be investigated promptly and confidentially to the extent possible, and appropriate corrective action will be taken. Retaliation against anyone who reports harassment or discrimination in good faith, or who cooperates in an investigation, is strictly prohibited.

3.3 Workplace Safety & Security

The safety and well-being of our employees are paramount.

  • Safety Procedures: Employees must adhere to all safety policies and procedures, including emergency evacuation plans, use of personal protective equipment (if applicable), and proper handling of equipment.
  • Reporting Hazards: Any unsafe conditions, accidents, or injuries must be reported immediately to your supervisor and/or [Safety Officer/HR].
  • Security: Employees are responsible for safeguarding company property and for reporting suspicious activities. Access to company premises is restricted to authorized personnel.

3.4 Drug-Free Workplace

[Company Name] is committed to maintaining a drug-free workplace to ensure the safety and productivity of all employees. The unlawful manufacture, distribution, dispensation, possession, or use of illegal drugs or controlled substances on company premises, during work hours, or while on company business is strictly prohibited. Employees under the influence of alcohol or illegal drugs during work hours are also prohibited. Violations of this policy will result in disciplinary action, up to and including termination.

3.5 Workplace Violence Prevention

[Company Name] is dedicated to providing a safe work environment free from violence. Threats, intimidation, harassment, physical assault, or any other acts of violence will not be tolerated. Employees who engage in such behavior will face severe disciplinary action, up to and including termination, and may be subject to legal prosecution. Any employee who feels threatened or observes potentially violent behavior should immediately report it to their supervisor, [HR Department], or law enforcement if an immediate threat exists.

3.6 Conflict of Interest

Employees must avoid situations where their personal interests conflict, or appear to conflict, with the interests of [Company Name]. This includes, but is not limited to, engaging in outside employment or business activities that compete with the company, using company property for personal gain, or accepting gifts of significant value from clients or vendors. Any potential conflicts of interest must be disclosed to [HR Department/Management] for review.

3.7 Data Security & Privacy

Employees are responsible for protecting the privacy and security of company data, client information, and employee personal data. This includes using strong passwords, locking computers when away from desks, avoiding phishing scams, and adhering to all data protection protocols. Unauthorized access or disclosure of data is a serious breach of policy.

3.8 Use of Company Property & Resources

Company property, including equipment, vehicles, software, and supplies, is provided for business use. While incidental personal use may be permitted if it does not interfere with work or violate other policies, employees must treat company property with care and ensure its security. Unauthorized removal, misuse, or damage of company property is prohibited.

3.9 Social Media Policy

Employees are expected to use good judgment and maintain professionalism when engaging in social media, whether for personal or business purposes.

  • Do not post confidential or proprietary company information.
  • Do not post discriminatory, harassing, or defamatory content regarding [Company Name], its employees, clients, or partners.
  • Remember that anything posted online can be public and permanent.
  • Clarify that your personal opinions do not represent those of [Company Name] when discussing work-related topics.

3.10 Dress Code

Employees are expected to dress in a professional, neat, and appropriate manner for their role and the work environment. The general dress code is [e.g., "business casual," "smart casual"]. Specific guidelines may be provided by department managers. Clothing should be clean, well-maintained, and not contain offensive or inappropriate imagery or text.

3.11 Attendance & Punctuality

Regular attendance and punctuality are essential to the smooth operation of [Company Name].

  • Work Schedule: Employees are expected to adhere to their assigned work schedules.
  • Absences/Tardiness: If you anticipate being late or absent, you must notify your supervisor as soon as possible, ideally [e.g., at least one hour] before your scheduled start time. Unexcused absences or excessive tardiness may result in disciplinary action.
  • Breaks: Employees are entitled to [e.g., a 30-minute unpaid lunch break for shifts over 5 hours, and two 15-minute paid rest breaks for full-time employees]. Breaks should be taken in consultation with your supervisor to ensure coverage.

4. Compensation & Benefits Overview

4.1 Pay Periods & Deductions

Employees are paid [e.g., bi-weekly/semi-monthly] on [e.g., Friday/15th and 30th of the month]. Paychecks are issued via [e.g., direct deposit]. Mandatory deductions include federal, state, and local taxes, and social security. Other deductions may include health insurance premiums, 401(k) contributions, or other voluntary benefits.

4.2 Overtime Policy

Non-exempt employees are eligible for overtime pay at a rate of one and one-half times their regular hourly rate for all hours worked over [e.g., 40 hours] in a single workweek. All overtime must be pre-approved by your supervisor. Working unauthorized overtime may result in disciplinary action. Exempt employees are not eligible for overtime pay.

4.3 Benefits Eligibility

Eligibility for specific benefits may vary based on employment classification (e.g., full-time, part-time) and length of service. Detailed information on eligibility and enrollment procedures will be provided by [HR Department].

4.4 Health & Wellness Benefits (Overview)

[Company Name] is committed to supporting the health and well-being of our employees and their families. Eligible employees may enroll in our comprehensive benefits package, which typically includes:

  • Medical Insurance: [Briefly mention provider or type, e.g., "PPO and HMO options through [Carrier Name]"].
  • Dental Insurance: [Briefly mention details, e.g., "Comprehensive dental coverage"].
  • Vision Insurance: [Briefly mention details, e.g., "Vision care plans"].
  • Life Insurance: [Briefly mention details, e.g., "Company-paid basic life insurance with options for supplemental coverage"].
  • Disability Insurance: [Briefly mention details, e.g., "Short-term and long-term disability"].
  • Employee Assistance Program (EAP): Confidential counseling and referral services for personal and work-related issues.

4.5 Retirement Plans (Overview)

Eligible employees have the opportunity to participate in our retirement savings plan:

  • 401(k) Plan: [Company Name] offers a 401(k) plan with [e.g., a company match of 100% on the first 3% of contributions and 50% on the next 2%]. Employees can contribute pre-tax dollars to save for retirement. Details on eligibility and enrollment are available from [HR Department/Plan Administrator].

4.6 Paid Time Off (PTO) / Vacation / Sick Leave (Overview)

  • Vacation/PTO: [Company Name] provides paid time off for vacation, personal appointments, or other needs. Accrual rates and carryover policies are detailed in Section 6.1.
  • Sick Leave: Paid sick leave is provided for illness, injury, or medical appointments. Details are in Section 6.2.
  • Paid Holidays: [Company Name] observes [Number] paid holidays per year. A list of observed holidays will be distributed annually.

4.7 Other Perks & Programs

  • Professional Development: Opportunities for training, workshops, and educational assistance to support career growth.
  • Wellness Programs: Initiatives to promote employee health and well-being.
  • Employee Recognition: Programs to acknowledge outstanding performance and contributions.

[List other company-specific perks like gym memberships, commuter benefits, etc.]


5. Leave Policies

5.1 Paid Time Off (PTO) / Vacation Policy

  • Accrual: Full-time employees accrue [e.g., 10 days (80 hours)] of PTO annually, accrued on a [e.g.,
employee_handbook_generator.md
Download as Markdown
Copy all content
Full output as text
Download ZIP
IDE-ready project ZIP
Copy share link
Permanent URL for this run
Get Embed Code
Embed this result on any website
Print / Save PDF
Use browser print dialog
"); var hasSrcMain=Object.keys(extracted).some(function(k){return k.indexOf("src/main")>=0;}); if(!hasSrcMain) zip.file(folder+"src/main."+ext,"import React from 'react' import ReactDOM from 'react-dom/client' import App from './App' import './index.css' ReactDOM.createRoot(document.getElementById('root')!).render( ) "); var hasSrcApp=Object.keys(extracted).some(function(k){return k==="src/App."+ext||k==="App."+ext;}); if(!hasSrcApp) zip.file(folder+"src/App."+ext,"import React from 'react' import './App.css' function App(){ return(

"+slugTitle(pn)+"

Built with PantheraHive BOS

) } export default App "); zip.file(folder+"src/index.css","*{margin:0;padding:0;box-sizing:border-box} body{font-family:system-ui,-apple-system,sans-serif;background:#f0f2f5;color:#1a1a2e} .app{min-height:100vh;display:flex;flex-direction:column} .app-header{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:40px} h1{font-size:2.5rem;font-weight:700} "); zip.file(folder+"src/App.css",""); zip.file(folder+"src/components/.gitkeep",""); zip.file(folder+"src/pages/.gitkeep",""); zip.file(folder+"src/hooks/.gitkeep",""); Object.keys(extracted).forEach(function(p){ var fp=p.startsWith("src/")?p:"src/"+p; zip.file(folder+fp,extracted[p]); }); zip.file(folder+"README.md","# "+slugTitle(pn)+" Generated by PantheraHive BOS. ## Setup ```bash npm install npm run dev ``` ## Build ```bash npm run build ``` ## Open in IDE Open the project folder in VS Code or WebStorm. "); zip.file(folder+".gitignore","node_modules/ dist/ .env .DS_Store *.local "); } /* --- Vue (Vite + Composition API + TypeScript) --- */ function buildVue(zip,folder,app,code,panelTxt){ var pn=pkgName(app); var C=cc(pn); var extracted=extractCode(panelTxt); zip.file(folder+"package.json",'{ "name": "'+pn+'", "version": "0.0.0", "type": "module", "scripts": { "dev": "vite", "build": "vue-tsc -b && vite build", "preview": "vite preview" }, "dependencies": { "vue": "^3.5.13", "vue-router": "^4.4.5", "pinia": "^2.3.0", "axios": "^1.7.9" }, "devDependencies": { "@vitejs/plugin-vue": "^5.2.1", "typescript": "~5.7.3", "vite": "^6.0.5", "vue-tsc": "^2.2.0" } } '); zip.file(folder+"vite.config.ts","import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' import { resolve } from 'path' export default defineConfig({ plugins: [vue()], resolve: { alias: { '@': resolve(__dirname,'src') } } }) "); zip.file(folder+"tsconfig.json",'{"files":[],"references":[{"path":"./tsconfig.app.json"},{"path":"./tsconfig.node.json"}]} '); zip.file(folder+"tsconfig.app.json",'{ "compilerOptions":{ "target":"ES2020","useDefineForClassFields":true,"module":"ESNext","lib":["ES2020","DOM","DOM.Iterable"], "skipLibCheck":true,"moduleResolution":"bundler","allowImportingTsExtensions":true, "isolatedModules":true,"moduleDetection":"force","noEmit":true,"jsxImportSource":"vue", "strict":true,"paths":{"@/*":["./src/*"]} }, "include":["src/**/*.ts","src/**/*.d.ts","src/**/*.tsx","src/**/*.vue"] } '); zip.file(folder+"env.d.ts","/// "); zip.file(folder+"index.html"," "+slugTitle(pn)+"
"); var hasMain=Object.keys(extracted).some(function(k){return k==="src/main.ts"||k==="main.ts";}); if(!hasMain) zip.file(folder+"src/main.ts","import { createApp } from 'vue' import { createPinia } from 'pinia' import App from './App.vue' import './assets/main.css' const app = createApp(App) app.use(createPinia()) app.mount('#app') "); var hasApp=Object.keys(extracted).some(function(k){return k.indexOf("App.vue")>=0;}); if(!hasApp) zip.file(folder+"src/App.vue"," "); zip.file(folder+"src/assets/main.css","*{margin:0;padding:0;box-sizing:border-box}body{font-family:system-ui,sans-serif;background:#fff;color:#213547} "); zip.file(folder+"src/components/.gitkeep",""); zip.file(folder+"src/views/.gitkeep",""); zip.file(folder+"src/stores/.gitkeep",""); Object.keys(extracted).forEach(function(p){ var fp=p.startsWith("src/")?p:"src/"+p; zip.file(folder+fp,extracted[p]); }); zip.file(folder+"README.md","# "+slugTitle(pn)+" Generated by PantheraHive BOS. ## Setup ```bash npm install npm run dev ``` ## Build ```bash npm run build ``` Open in VS Code or WebStorm. "); zip.file(folder+".gitignore","node_modules/ dist/ .env .DS_Store *.local "); } /* --- Angular (v19 standalone) --- */ function buildAngular(zip,folder,app,code,panelTxt){ var pn=pkgName(app); var C=cc(pn); var sel=pn.replace(/_/g,"-"); var extracted=extractCode(panelTxt); zip.file(folder+"package.json",'{ "name": "'+pn+'", "version": "0.0.0", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "test": "ng test" }, "dependencies": { "@angular/animations": "^19.0.0", "@angular/common": "^19.0.0", "@angular/compiler": "^19.0.0", "@angular/core": "^19.0.0", "@angular/forms": "^19.0.0", "@angular/platform-browser": "^19.0.0", "@angular/platform-browser-dynamic": "^19.0.0", "@angular/router": "^19.0.0", "rxjs": "~7.8.0", "tslib": "^2.3.0", "zone.js": "~0.15.0" }, "devDependencies": { "@angular-devkit/build-angular": "^19.0.0", "@angular/cli": "^19.0.0", "@angular/compiler-cli": "^19.0.0", "typescript": "~5.6.0" } } '); zip.file(folder+"angular.json",'{ "$schema": "./node_modules/@angular/cli/lib/config/schema.json", "version": 1, "newProjectRoot": "projects", "projects": { "'+pn+'": { "projectType": "application", "root": "", "sourceRoot": "src", "prefix": "app", "architect": { "build": { "builder": "@angular-devkit/build-angular:application", "options": { "outputPath": "dist/'+pn+'", "index": "src/index.html", "browser": "src/main.ts", "tsConfig": "tsconfig.app.json", "styles": ["src/styles.css"], "scripts": [] } }, "serve": {"builder":"@angular-devkit/build-angular:dev-server","configurations":{"production":{"buildTarget":"'+pn+':build:production"},"development":{"buildTarget":"'+pn+':build:development"}},"defaultConfiguration":"development"} } } } } '); zip.file(folder+"tsconfig.json",'{ "compileOnSave": false, "compilerOptions": {"baseUrl":"./","outDir":"./dist/out-tsc","forceConsistentCasingInFileNames":true,"strict":true,"noImplicitOverride":true,"noPropertyAccessFromIndexSignature":true,"noImplicitReturns":true,"noFallthroughCasesInSwitch":true,"paths":{"@/*":["src/*"]},"skipLibCheck":true,"esModuleInterop":true,"sourceMap":true,"declaration":false,"experimentalDecorators":true,"moduleResolution":"bundler","importHelpers":true,"target":"ES2022","module":"ES2022","useDefineForClassFields":false,"lib":["ES2022","dom"]}, "references":[{"path":"./tsconfig.app.json"}] } '); zip.file(folder+"tsconfig.app.json",'{ "extends":"./tsconfig.json", "compilerOptions":{"outDir":"./dist/out-tsc","types":[]}, "files":["src/main.ts"], "include":["src/**/*.d.ts"] } '); zip.file(folder+"src/index.html"," "+slugTitle(pn)+" "); zip.file(folder+"src/main.ts","import { bootstrapApplication } from '@angular/platform-browser'; import { appConfig } from './app/app.config'; import { AppComponent } from './app/app.component'; bootstrapApplication(AppComponent, appConfig) .catch(err => console.error(err)); "); zip.file(folder+"src/styles.css","* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: system-ui, -apple-system, sans-serif; background: #f9fafb; color: #111827; } "); var hasComp=Object.keys(extracted).some(function(k){return k.indexOf("app.component")>=0;}); if(!hasComp){ zip.file(folder+"src/app/app.component.ts","import { Component } from '@angular/core'; import { RouterOutlet } from '@angular/router'; @Component({ selector: 'app-root', standalone: true, imports: [RouterOutlet], templateUrl: './app.component.html', styleUrl: './app.component.css' }) export class AppComponent { title = '"+pn+"'; } "); zip.file(folder+"src/app/app.component.html","

"+slugTitle(pn)+"

Built with PantheraHive BOS

"); zip.file(folder+"src/app/app.component.css",".app-header{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60vh;gap:16px}h1{font-size:2.5rem;font-weight:700;color:#6366f1} "); } zip.file(folder+"src/app/app.config.ts","import { ApplicationConfig, provideZoneChangeDetection } from '@angular/core'; import { provideRouter } from '@angular/router'; import { routes } from './app.routes'; export const appConfig: ApplicationConfig = { providers: [ provideZoneChangeDetection({ eventCoalescing: true }), provideRouter(routes) ] }; "); zip.file(folder+"src/app/app.routes.ts","import { Routes } from '@angular/router'; export const routes: Routes = []; "); Object.keys(extracted).forEach(function(p){ var fp=p.startsWith("src/")?p:"src/"+p; zip.file(folder+fp,extracted[p]); }); zip.file(folder+"README.md","# "+slugTitle(pn)+" Generated by PantheraHive BOS. ## Setup ```bash npm install ng serve # or: npm start ``` ## Build ```bash ng build ``` Open in VS Code with Angular Language Service extension. "); zip.file(folder+".gitignore","node_modules/ dist/ .env .DS_Store *.local .angular/ "); } /* --- Python --- */ function buildPython(zip,folder,app,code){ var title=slugTitle(app); var pn=pkgName(app); var src=code.replace(/^```[w]* ?/m,"").replace(/ ?```$/m,"").trim(); var reqMap={"numpy":"numpy","pandas":"pandas","sklearn":"scikit-learn","tensorflow":"tensorflow","torch":"torch","flask":"flask","fastapi":"fastapi","uvicorn":"uvicorn","requests":"requests","sqlalchemy":"sqlalchemy","pydantic":"pydantic","dotenv":"python-dotenv","PIL":"Pillow","cv2":"opencv-python","matplotlib":"matplotlib","seaborn":"seaborn","scipy":"scipy"}; var reqs=[]; Object.keys(reqMap).forEach(function(k){if(src.indexOf("import "+k)>=0||src.indexOf("from "+k)>=0)reqs.push(reqMap[k]);}); var reqsTxt=reqs.length?reqs.join(" "):"# add dependencies here "; zip.file(folder+"main.py",src||"# "+title+" # Generated by PantheraHive BOS print(title+" loaded") "); zip.file(folder+"requirements.txt",reqsTxt); zip.file(folder+".env.example","# Environment variables "); zip.file(folder+"README.md","# "+title+" Generated by PantheraHive BOS. ## Setup ```bash python3 -m venv .venv source .venv/bin/activate pip install -r requirements.txt ``` ## Run ```bash python main.py ``` "); zip.file(folder+".gitignore",".venv/ __pycache__/ *.pyc .env .DS_Store "); } /* --- Node.js --- */ function buildNode(zip,folder,app,code){ var title=slugTitle(app); var pn=pkgName(app); var src=code.replace(/^```[w]* ?/m,"").replace(/ ?```$/m,"").trim(); var depMap={"mongoose":"^8.0.0","dotenv":"^16.4.5","axios":"^1.7.9","cors":"^2.8.5","bcryptjs":"^2.4.3","jsonwebtoken":"^9.0.2","socket.io":"^4.7.4","uuid":"^9.0.1","zod":"^3.22.4","express":"^4.18.2"}; var deps={}; Object.keys(depMap).forEach(function(k){if(src.indexOf(k)>=0)deps[k]=depMap[k];}); if(!deps["express"])deps["express"]="^4.18.2"; var pkgJson=JSON.stringify({"name":pn,"version":"1.0.0","main":"src/index.js","scripts":{"start":"node src/index.js","dev":"nodemon src/index.js"},"dependencies":deps,"devDependencies":{"nodemon":"^3.0.3"}},null,2)+" "; zip.file(folder+"package.json",pkgJson); var fallback="const express=require("express"); const app=express(); app.use(express.json()); app.get("/",(req,res)=>{ res.json({message:""+title+" API"}); }); const PORT=process.env.PORT||3000; app.listen(PORT,()=>console.log("Server on port "+PORT)); "; zip.file(folder+"src/index.js",src||fallback); zip.file(folder+".env.example","PORT=3000 "); zip.file(folder+".gitignore","node_modules/ .env .DS_Store "); zip.file(folder+"README.md","# "+title+" Generated by PantheraHive BOS. ## Setup ```bash npm install ``` ## Run ```bash npm run dev ``` "); } /* --- Vanilla HTML --- */ function buildVanillaHtml(zip,folder,app,code){ var title=slugTitle(app); var isFullDoc=code.trim().toLowerCase().indexOf("=0||code.trim().toLowerCase().indexOf("=0; var indexHtml=isFullDoc?code:" "+title+" "+code+" "; zip.file(folder+"index.html",indexHtml); zip.file(folder+"style.css","/* "+title+" — styles */ *{margin:0;padding:0;box-sizing:border-box} body{font-family:system-ui,-apple-system,sans-serif;background:#fff;color:#1a1a2e} "); zip.file(folder+"script.js","/* "+title+" — scripts */ "); zip.file(folder+"assets/.gitkeep",""); zip.file(folder+"README.md","# "+title+" Generated by PantheraHive BOS. ## Open Double-click `index.html` in your browser. Or serve locally: ```bash npx serve . # or python3 -m http.server 3000 ``` "); zip.file(folder+".gitignore",".DS_Store node_modules/ .env "); } /* ===== MAIN ===== */ var sc=document.createElement("script"); sc.src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.10.1/jszip.min.js"; sc.onerror=function(){ if(lbl)lbl.textContent="Download ZIP"; alert("JSZip load failed — check connection."); }; sc.onload=function(){ var zip=new JSZip(); var base=(_phFname||"output").replace(/.[^.]+$/,""); var app=base.toLowerCase().replace(/[^a-z0-9]+/g,"_").replace(/^_+|_+$/g,"")||"my_app"; var folder=app+"/"; var vc=document.getElementById("panel-content"); var panelTxt=vc?(vc.innerText||vc.textContent||""):""; var lang=detectLang(_phCode,panelTxt); if(_phIsHtml){ buildVanillaHtml(zip,folder,app,_phCode); } else if(lang==="flutter"){ buildFlutter(zip,folder,app,_phCode,panelTxt); } else if(lang==="react-native"){ buildReactNative(zip,folder,app,_phCode,panelTxt); } else if(lang==="swift"){ buildSwift(zip,folder,app,_phCode,panelTxt); } else if(lang==="kotlin"){ buildKotlin(zip,folder,app,_phCode,panelTxt); } else if(lang==="react"){ buildReact(zip,folder,app,_phCode,panelTxt); } else if(lang==="vue"){ buildVue(zip,folder,app,_phCode,panelTxt); } else if(lang==="angular"){ buildAngular(zip,folder,app,_phCode,panelTxt); } else if(lang==="python"){ buildPython(zip,folder,app,_phCode); } else if(lang==="node"){ buildNode(zip,folder,app,_phCode); } else { /* Document/content workflow */ var title=app.replace(/_/g," "); var md=_phAll||_phCode||panelTxt||"No content"; zip.file(folder+app+".md",md); var h=""+title+""; h+="

"+title+"

"; var hc=md.replace(/&/g,"&").replace(//g,">"); hc=hc.replace(/^### (.+)$/gm,"

$1

"); hc=hc.replace(/^## (.+)$/gm,"

$1

"); hc=hc.replace(/^# (.+)$/gm,"

$1

"); hc=hc.replace(/**(.+?)**/g,"$1"); hc=hc.replace(/ {2,}/g,"

"); h+="

"+hc+"

Generated by PantheraHive BOS
"; zip.file(folder+app+".html",h); zip.file(folder+"README.md","# "+title+" Generated by PantheraHive BOS. Files: - "+app+".md (Markdown) - "+app+".html (styled HTML) "); } zip.generateAsync({type:"blob"}).then(function(blob){ var a=document.createElement("a"); a.href=URL.createObjectURL(blob); a.download=app+".zip"; a.click(); URL.revokeObjectURL(a.href); if(lbl)lbl.textContent="Download ZIP"; }); }; document.head.appendChild(sc); }function phShare(){navigator.clipboard.writeText(window.location.href).then(function(){var el=document.getElementById("ph-share-lbl");if(el){el.textContent="Link copied!";setTimeout(function(){el.textContent="Copy share link";},2500);}});}function phEmbed(){var runId=window.location.pathname.split("/").pop().replace(".html","");var embedUrl="https://pantherahive.com/embed/"+runId;var code='';navigator.clipboard.writeText(code).then(function(){var el=document.getElementById("ph-embed-lbl");if(el){el.textContent="Embed code copied!";setTimeout(function(){el.textContent="Get Embed Code";},2500);}});}