Employee Handbook Generator
Run ID: 69ccb1cc3e7fb09ff16a43e42026-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: Analyze Requirements - Employee Handbook Generator

Workflow Step: gemini → analyze_requirements

Description: Analyze the comprehensive requirements for generating an employee handbook, including functional content, design specifications, user experience, and visual aesthetics.


1. Project Goal & Deliverable Overview

The primary goal of this step is to meticulously define the requirements for an "Employee Handbook Generator." The output will serve as the blueprint for subsequent steps, ensuring the generated handbook is comprehensive, professional, user-friendly, and aligned with modern HR best practices. The final deliverable will be a detailed, multi-sectioned employee handbook, adaptable for both digital and print formats.

2. Comprehensive Handbook Content Requirements

The employee handbook must include the following essential sections and sub-sections. Each policy should be clearly articulated, concise, and legally compliant (where applicable).

  • Welcome & Introduction

* Welcome Message from Leadership

* Company Vision, Mission, and Values

* Purpose of the Handbook

* Disclaimer (e.g., "at-will" employment, handbook is not a contract, subject to change)

  • Company Culture & Code of Conduct

* Professional Conduct & Ethics

* Diversity, Equity, and Inclusion (DEI) Policy

* Anti-Harassment and Discrimination Policy (including reporting procedures)

* Workplace Safety & Security

* Confidentiality & Data Protection

* Social Media Policy

* Drug-Free Workplace Policy

* Conflict of Interest

* Dress Code

  • Employment Basics

* Employment Classifications (Full-time, Part-time, Temporary, Contractor)

* Equal Employment Opportunity (EEO) Statement

* Recruitment & Onboarding Process Overview

* Performance Management & Reviews

* Disciplinary Action & Termination Procedures

* Resignation Procedures

* Employee Records & Privacy

  • Compensation & Benefits Overview

* Pay Periods & Overtime Policy

* Benefits Eligibility

* Health & Dental Insurance

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

* Life & Disability Insurance

* Employee Wellness Programs

* Other Perks (e.g., professional development, tuition reimbursement, employee discounts)

  • Working Hours & Leave Policies

* Standard Work Hours & Schedules

* Attendance & Punctuality

* Breaks & Meal Periods

* Paid Time Off (PTO) / Vacation Policy

* Sick Leave Policy

* Holiday Schedule

* Family and Medical Leave Act (FMLA) Policy

* Bereavement Leave

* Jury Duty Leave

* Military Leave

* Other Leaves (e.g., voting, volunteer)

  • Workplace Environment & Resources

* Use of Company Property & Equipment

* IT & Internet Usage Policy

* Communication Guidelines (Internal & External)

* Remote Work / Hybrid Work Policy (if applicable)

* Emergency Procedures

* Employee Assistance Program (EAP)

* Training & Development Opportunities

  • Compliance & Legal

* Whistleblower Policy

* Accommodation for Disabilities (ADA)

* Workplace Violence Prevention

* Child Labor Laws (if applicable)

* Acknowledgement of Handbook Receipt

  • Appendices (Optional but Recommended)

* Glossary of Terms

* Key Contacts & Departments

* Forms (e.g., leave request, incident report)

3. Design Specifications

The handbook's design must convey professionalism, clarity, and approachability.

  • Overall Aesthetic: Clean, modern, professional, and trustworthy. Avoid overly playful or corporate jargon-heavy design. It should feel inviting and easy to read.
  • Layout & Structure:

* Consistent Grid System: Utilize a clear, consistent grid for all pages to ensure uniformity and readability.

* White Space: Ample white space around text and images to reduce visual clutter and improve comprehension.

* Clear Hierarchy: Use distinct heading styles (H1, H2, H3) to establish a clear content hierarchy.

* Page Numbering: Consistent and clear page numbering.

* Table of Contents: Prominent and easy to navigate, with clickable links for digital versions.

  • Typography:

* Headings (H1, H2): A strong, sans-serif font (e.g., Montserrat, Open Sans, Lato) for impact and modern appeal.

* Body Text: A highly readable serif or sans-serif font with excellent legibility at smaller sizes (e.g., Merriweather, Georgia for serif; Roboto, Source Sans Pro for sans-serif). Aim for 10-12pt for print, 14-16px for digital.

* Line Spacing: 1.4 - 1.6 times the font size for optimal readability.

* Font Pairing: Limit to 2-3 font families for consistency.

  • Imagery & Graphics:

* Company Logo: Prominently featured on the cover and subtly integrated into internal pages (e.g., header/footer).

* Icons: Use a consistent set of simple, recognizable icons to represent different sections or key concepts (e.g., a clock for leave policies, a shield for safety).

* Illustrations/Photography: High-quality, professional, and inclusive imagery that reflects the company's culture and values. Avoid stock photos that feel generic. Abstract patterns or subtle textures can be used for visual interest without distraction.

  • Branding Integration: Ensure seamless integration of the company's brand identity, including logo, primary colors, and any specific brand guidelines.

4. Wireframe Descriptions (Conceptual)

These descriptions outline the conceptual layout of key pages within the handbook.

  • Cover Page:

* Top: Company Logo (prominent).

* Middle: Large, clear title "Employee Handbook" or "[Company Name] Employee Handbook."

* Below Title: Subtitle like "Guide to Our Culture, Policies & Benefits."

* Bottom: Version number and effective date.

* Background: Subtle company-branded pattern or abstract image.

  • Table of Contents Page:

* Top: "Table of Contents" heading.

* Main Body: List of main sections (e.g., Welcome, Code of Conduct, Benefits), with sub-sections indented. Each item linked to its respective page (for digital). Page numbers aligned to the right.

* Footer: Company logo, page number.

  • Section Introduction Page (e.g., "Company Culture & Code of Conduct"):

* Top: Large section title.

* Below Title: Brief, inviting introductory paragraph summarizing the section's purpose.

* Right/Left Sidebar (Optional): Key takeaways or a relevant quote.

* Main Body: List of sub-sections within the chapter, potentially with small icons.

* Footer: Company logo, page number.

  • Policy Detail Page (e.g., "Anti-Harassment Policy"):

* Top: Clear policy title (H2).

* Main Body:

* Policy Statement: Concise overview.

* Scope: Who the policy applies to.

* Definitions: Key terms explained.

* Procedures: Step-by-step instructions (e.g., reporting harassment).

* Consequences: What happens if the policy is violated.

* Contact Information: Who to contact for questions or to report issues.

* Sidebars (Optional): FAQs related to the policy, real-world examples (anonymized).

* Footer: Company logo, page number.

  • Benefits Overview Page:

* Top: "Your Benefits" heading.

* Main Body: Use of infographics, bullet points, and short paragraphs to summarize different benefits categories (Health, Retirement, PTO).

* Visuals: Small icons or charts to represent different benefits.

* Call to Action: "See HR for full details" or "Visit our Benefits Portal."

* Footer: Company logo, page number.

  • Acknowledgement Form Page:

* Top: "Employee Handbook Acknowledgement" heading.

* Main Body:

* Statement confirming receipt, understanding, and agreement to abide by the handbook.

* Space for Employee Name (Printed), Signature, and Date.

* Space for Witness/HR Representative (Optional).

* Footer: Company logo, page number.

5. Color Palettes

Three distinct color palette options are proposed to offer flexibility while maintaining a professional appearance. The choice will depend on the specific company's existing brand identity.

Palette 1: Professional Corporate (Classic & Trustworthy)

  • Primary: Navy Blue (#002060) - For headings, primary accents.
  • Secondary: Muted Teal (#007B80) - For sub-headings, key highlights.
  • Accent: Gold/Amber (#FFC000) - For call-outs, interactive elements.
  • Neutrals: Light Gray (#F8F8F8), Medium Gray (#666666), White (#FFFFFF) - For backgrounds, body text.
  • Purpose: Conveys stability, authority, and reliability.

Palette 2: Modern & Approachable (Clean & Engaging)

  • Primary: Deep Charcoal (#333333) - For main text, strong headings.
  • Secondary: Sky Blue (#007BFF) - For section headers, active elements.
  • Accent: Lime Green (#7CB342) - For success indicators, positive highlights.
  • Neutrals: Off-White (#FDFDFD), Light Gray (#E0E0E0), Dark Gray (#555555) - For backgrounds, subtle dividers.
  • Purpose: Modern, fresh, and slightly more dynamic while remaining professional.

Palette 3: Warm & Inclusive (Friendly & Welcoming)

  • Primary: Deep Plum (#6A0572) - For major headings, strong branding.
  • Secondary: Soft Peach (#FFDAB9) - For background accents, secondary highlights.
  • Accent: Terracotta (#E67E22) - For call-to-actions, important notes.
  • Neutrals: Cream (#FFFDD0), Warm Gray (#AAAAAA), Dark Brown (#4B3621) - For body text, backgrounds.
  • Purpose: Creates a softer, more inviting, and human-centric feel.

General Color Usage:

  • Backgrounds: Predominantly white or light neutral colors for maximum readability.
  • Text: Dark contrasting colors (charcoal, dark blue, black) against light backgrounds.
  • Highlights: Use accent colors sparingly for emphasis (e.g., bullet points, small icons, border accents).

6. UX Recommendations

User Experience (UX) is paramount for ensuring the handbook is not just informative but also accessible and easy to use.

  • Readability:

* Optimal Font Sizes: As mentioned in Typography, ensure font sizes are appropriate for both print and digital viewing.

* Line Length: Aim for 50-75 characters per line for optimal reading comfort.

* Paragraph Length: Break down long paragraphs into shorter, digestible chunks. Use bullet points and numbered lists where appropriate.

* Clear Language: Use plain language, avoiding excessive jargon. Explain technical or legal terms clearly.

  • Navigation & Accessibility:

* Interactive Table of Contents: For digital versions, ensure all entries are hyperlinked.

* Search Functionality: If hosted online, include a robust search bar.

* Consistent Headers & Footers: Include page numbers, company logo, and potentially the current section title for easy orientation.

* Accessibility Standards: Ensure high contrast ratios for text and background. Provide alternative text for images. Consider WCAG (Web Content Accessibility Guidelines) for digital formats.

* Print-Friendly: Design should consider ease of printing, with clear margins and minimal heavy background elements that consume excessive ink.

  • Engagement & Comprehension:

* FAQs: Include short FAQ sections after complex policies to address common questions.

* Examples: Provide anonymized, real-world examples to illustrate policy application.

* Infographics: Use simple infographics or flowcharts to explain complex processes (e.g., reporting an incident, benefits enrollment steps).

* Visual Cues: Use icons, color coding, or bolding to highlight critical information or action items.

  • Versioning & Updates:

* Clear Version Control: Include a version number and effective date on the cover and potentially in the footer of each page.

* Update Process: Briefly outline how employees will be notified of updates and where to find the latest version.

  • Call to Action / Resources:

* Contact Information: Clearly state who to contact for questions regarding specific policies or general HR inquiries.

* Resource Links: For digital handbooks, provide direct links to internal portals, forms, or external compliance resources.

By adhering to these detailed requirements and specifications, the "Employee Handbook Generator" will produce a high-quality, professional, and user-centric document that effectively serves its purpose of informing and guiding employees.

gemini Output

This comprehensive Employee Handbook is designed to provide you with a clear understanding of our company's mission, values, policies, and expectations. It serves as a vital resource for all employees, outlining our commitment to a fair, respectful, and productive workplace.


Employee Handbook: [Company Name]

Welcome to Our Team!

Welcome to [Company Name]! We are thrilled to have you join our dedicated team. This handbook is your essential guide to understanding our company culture, policies, benefits, and the standards of conduct that define our workplace.

At [Company Name], we believe our success is built on the talent, dedication, and collaboration of our employees. We are committed to fostering an environment where everyone feels valued, respected, and empowered to contribute their best work.

Please take the time to read through this handbook carefully. It's designed to answer many of your questions and provide clarity on what you can expect from us, and what we expect from you. If you have any questions after reviewing this document, please do not hesitate to reach out to your manager or the HR Department.

We look forward to a successful and rewarding journey together!

Sincerely,

The Leadership Team at [Company Name]


Table of Contents

  1. Our Company: Mission, Vision & Values
  2. Employment at [Company Name]

* Equal Employment Opportunity

* Anti-Harassment & Anti-Discrimination

* Workplace Violence Prevention

* At-Will Employment Statement

  1. Code of Conduct & Ethics

* Ethical Business Practices

* Respectful Workplace

* Confidentiality & Data Security

* Conflict of Interest

* Use of Company Property & Resources

* Social Media Policy

* Drug and Alcohol-Free Workplace

  1. Workplace Policies & Procedures

* Work Hours & Attendance

* Dress Code

* Performance Management

* Disciplinary Action

* Grievance Procedure

* Resignation & Termination

  1. Compensation & Benefits Overview

* Pay Periods & Direct Deposit

* Overtime Policy

* Health & Wellness Benefits

* Retirement Plans

* Life & Disability Insurance

* Employee Assistance Program (EAP)

* Other Perks & Professional Development

  1. Leave Policies

* Paid Time Off (PTO) / Vacation

* Sick Leave

* Company Holidays

* Family & Medical Leave Act (FMLA)

* Bereavement Leave

* Jury Duty Leave

* Military Leave

* Parental Leave

  1. Information Technology & Communication

* Email & Internet Usage

* Use of Company Devices

* Data Privacy & Security

  1. Workplace Health & Safety

* Safety Guidelines

* Emergency Procedures

* Injury Reporting

  1. Compliance & Reporting

* Reporting Misconduct & Whistleblower Protection

* Workplace Posters

* Americans with Disabilities Act (ADA)

  1. Handbook Acknowledgment

1. Our Company: Mission, Vision & Values

Our Mission

[Company Name]'s mission is to [Insert your company's mission statement - e.g., "innovate cutting-edge solutions that empower businesses to achieve sustainable growth."]. We are dedicated to [further elaborate on purpose, customers, and core business].

Our Vision

Our vision is to [Insert your company's vision statement - e.g., "be the leading provider of enterprise software solutions, recognized for our commitment to excellence, innovation, and customer success."].

Our Values

Our core values guide our actions, decisions, and interactions every day:

  • Integrity: We operate with honesty, transparency, and the highest ethical standards.
  • Innovation: We embrace creativity, continuous improvement, and forward-thinking solutions.
  • Collaboration: We foster teamwork, open communication, and mutual support to achieve shared goals.
  • Excellence: We strive for exceptional quality in everything we do, exceeding expectations.
  • Customer Focus: We prioritize understanding and meeting the needs of our customers.
  • Respect: We treat everyone with dignity, valuing diversity and individual contributions.

2. Employment at [Company Name]

Equal Employment Opportunity

[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, sexual orientation, gender identity, national origin, age, disability, veteran status, or any other status protected by federal, state, or local law. We encourage applicants of all ages.

Anti-Harassment & Anti-Discrimination

We are committed to maintaining a work environment free from harassment and discrimination. This policy applies to all employees, applicants, and contractors. Harassment or discrimination based on any protected characteristic is strictly prohibited. This includes, but is not limited to, verbal, physical, or visual harassment. Any employee who believes they have been subjected to harassment or discrimination should report it immediately to their manager or the HR Department. All reports will be investigated promptly and confidentially, and appropriate corrective action will be taken. Retaliation against anyone reporting harassment or discrimination, or participating in an investigation, is strictly prohibited.

Workplace Violence Prevention

[Company Name] is committed to providing a safe and secure work environment for all employees, clients, and visitors. Threats, threatening behavior, or acts of violence against employees, visitors, or company property will not be tolerated. Any employee who observes or experiences any form of workplace violence or threat should immediately report it to their manager or the HR Department. In cases of immediate danger, employees should contact local law enforcement (911).

At-Will Employment Statement

Employment with [Company Name] is "at-will." This means that either you or the company 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 is intended to create a contract of employment or to alter the at-will nature of employment.


3. Code of Conduct & Ethics

Ethical Business Practices

All employees are expected to conduct business with the highest level of integrity and ethics. This includes adhering to all applicable laws and regulations, avoiding deceptive practices, and competing fairly and honestly in the marketplace.

Respectful Workplace

We are committed to fostering a respectful and inclusive workplace where every individual is treated with dignity. This means:

  • Communicating professionally and courteously.
  • Valuing diverse perspectives and backgrounds.
  • Avoiding gossip, rumors, and disrespectful language.
  • Maintaining a positive and collaborative environment.

Confidentiality & Data Security

Employees may have access to confidential and proprietary information belonging to [Company Name], its clients, or partners. This includes, but is not limited to, financial data, client lists, marketing strategies, product designs, trade secrets, and employee records. All such information must be treated with the utmost confidentiality and used only for legitimate business purposes. Employees are prohibited from disclosing confidential information to unauthorized individuals or entities, both during and after their employment. Adherence to our data security protocols is mandatory.

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, accepting gifts of significant value from clients or vendors, or using company resources for personal gain. Any potential conflict of interest must be disclosed to your manager or the HR Department immediately.

Use of Company Property & Resources

Company property, including equipment, vehicles, facilities, and intellectual property, is provided for business use. While incidental personal use may be permitted if it does not interfere with work duties or violate other policies, employees are expected to treat company property with care and respect. Unauthorized use, removal, or damage of company property is prohibited.

Social Media Policy

Employees are encouraged to represent [Company Name] professionally and positively online. When using social media, whether for personal or professional purposes, employees must:

  • Be mindful that their online conduct can reflect on the company.
  • Refrain from posting confidential company information or trade secrets.
  • Avoid engaging in harassment, defamation, or discriminatory comments.
  • Clarify that personal opinions are not those of [Company Name] when discussing work-related topics.
  • Adhere to all other company policies, including those regarding harassment and confidentiality.

Drug and Alcohol-Free Workplace

[Company Name] is committed to maintaining a safe, healthy, and productive work environment. The use, possession, distribution, or sale of illegal drugs or alcohol on company premises, during work hours, or while operating company vehicles is strictly prohibited. Employees under the influence of drugs or alcohol that impair their ability to perform their job safely and effectively are also prohibited from working. We may conduct drug and alcohol testing in accordance with applicable laws.


4. Workplace Policies & Procedures

Work Hours & Attendance

Our standard work hours are [e.g., Monday to Friday, 9:00 AM to 5:00 PM]. Specific departmental hours may vary. Punctuality and consistent attendance are essential. If you anticipate being late or absent, you must notify your manager as soon as possible, ideally [e.g., at least one hour] before your scheduled start time. Excessive absenteeism or tardiness may result in disciplinary action.

Dress Code

[Company Name] maintains a [e.g., business casual / professional / casual] dress code. We expect employees to dress appropriately for their roles and the work environment, projecting a professional image. Clothing should be neat, clean, and well-maintained. Specific guidelines: [e.g., No ripped jeans, offensive slogans, or overly revealing attire. For client-facing roles, business professional may be required.] If you are unsure about the appropriateness of an outfit, please consult your manager.

Performance Management

We are committed to helping our employees succeed. Our performance management process includes:

  • Goal Setting: Collaboratively setting clear, measurable goals.
  • Regular Feedback: Ongoing discussions with your manager about performance and development.
  • Performance Reviews: Formal reviews conducted [e.g., annually/semi-annually] to assess performance, provide feedback, and identify areas for growth.
  • Development Plans: Creating plans to enhance skills and career progression.

Disciplinary Action

When an employee's conduct or performance does not meet company expectations, disciplinary action may be taken. The severity of the action will depend on the nature and frequency of the infraction. This may include, but is not limited to, verbal warnings, written warnings, performance improvement plans, suspension without pay, or termination of employment. [Company Name] reserves the right to determine the appropriate disciplinary action based on the specific circumstances.

Grievance Procedure

We encourage open communication and aim to resolve workplace issues fairly and promptly. If you have a grievance or concern, please follow these steps:

  1. Direct Supervisor: Discuss the issue with your immediate supervisor.
  2. HR Department: If the issue is unresolved or involves your supervisor, contact the HR Department.
  3. Senior Leadership: If the issue remains unresolved after engaging with HR, you may escalate it to a member of senior leadership.

All grievances will be treated with confidentiality to the extent possible, and no employee will face retaliation for raising legitimate concerns.

Resignation & Termination

Resignation: Employees are requested to provide at least [e.g., two weeks'] written notice to their manager and the HR Department when resigning. This allows for a smooth transition and proper finalization of benefits and pay.

Termination: Employment may be terminated by [Company Name] for various reasons, including but not limited to, poor performance, policy violations, misconduct, or business necessity. In such cases, employees will be informed of the reasons for termination and provided with information regarding final pay and benefits, in accordance with applicable laws.


5. Compensation & Benefits Overview

Pay Periods & Direct Deposit

Employees are paid [e.g., bi-weekly/semi-monthly] on [e.g., every other Friday/the 15th and last day of the month]. Wages are paid via direct deposit. All employees are required to set up direct deposit. Pay stubs are accessible through [e.g., our HRIS portal/payroll system].

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 40 in a workweek, in accordance with federal and state laws. All overtime must be pre-approved by your manager.

Health & Wellness Benefits

[Company Name] is committed to supporting the health and well-being of our employees and their families. Our benefits package includes:

  • Medical Insurance: [Briefly mention provider or key features, e.g., "Comprehensive medical plans through [Provider Name] with PPO and HMO options."].
  • Dental Insurance: [Briefly mention, e.g., "Dental coverage including preventative, basic, and major services."].
  • Vision Insurance: [Briefly mention, e.g., "Vision coverage for eye exams, glasses, and contacts."].
  • Employee Assistance Program (EAP): Confidential counseling and resources for personal and work-related issues.

Specific details regarding eligibility, enrollment, premiums, and coverage are available from the HR Department and in your benefits enrollment package.

Retirement Plans

We offer a [e.g., 401(k) / retirement savings plan] to help employees plan for their financial future.

  • Eligibility: [e.g., Employees are eligible to participate after 90 days of employment.]
  • Company Match: [e.g., We offer a generous company match of 100% on the first 3% of contributions and 50% on the next 2% of contributions.]

Detailed plan information, including vesting schedules and investment options, is available through [Retirement Plan Administrator Name].

Life & Disability Insurance

  • Basic Life Insurance: [Company Name] provides basic life insurance coverage for all eligible employees at no cost.
  • Short-Term & Long-Term Disability: We offer both short-term and long-term disability coverage to provide income protection in case of illness or injury that prevents you from working.

Additional voluntary life and disability options may be available for purchase.

Other Perks & Professional Development

  • Professional Development: We support continuous learning through [e.g., tuition reimbursement, internal training programs, conferences, online courses].
  • Wellness Programs: [e.g., On-site gym access, wellness challenges, healthy snacks].
  • Employee Recognition Programs: [e.g., Monthly awards, service anniversaries].
  • [Other relevant perks, e.g., Commuter benefits, flexible spending accounts, parental leave support].

6. Leave

gemini Output

The following document provides a comprehensive, detailed, and professional Employee Handbook template for [Company Name]. This output is designed to be a robust starting point, requiring customization with company-specific details, legal counsel review, and integration of local, state, and federal laws pertinent to [Company Name]'s operations.


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

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

Version: 1.0


1. Welcome to [Company Name]!

We are thrilled to welcome you to the [Company Name] team! This handbook is designed to be a valuable resource throughout your journey with us, providing essential information about our company culture, policies, benefits, and expectations.

At [Company Name], we believe that our success is built on the talent, dedication, and professionalism of our employees. We are committed to fostering a positive, inclusive, and productive work environment where everyone can thrive.

Please take the time to read this handbook carefully. It outlines the general terms and conditions of your employment and helps ensure a clear understanding of our shared responsibilities.

1.1. Purpose of This Handbook

This handbook serves several key purposes:

  • Guidance: To provide clear guidelines on company policies, procedures, and expectations.
  • Information: To inform you about your rights, responsibilities, and the benefits available to you.
  • Consistency: To ensure fair and consistent treatment for all employees.
  • Culture: To communicate our mission, vision, values, and the culture we strive to maintain.

1.2. Handbook Disclaimer

This Employee Handbook is a summary of [Company Name]'s current policies, procedures, and benefits. It is not an employment contract, expressed or implied, nor does it guarantee employment for any definite period. Employment with [Company Name] is "at-will," meaning that either you or the company may terminate the employment relationship at any time, for any reason, with or without cause or notice, subject to applicable laws.

[Company Name] reserves the right to modify, revoke, suspend, or terminate any policies, procedures, or benefits described in this handbook, in whole or in part, at any time, with or without notice, at its sole discretion, except as otherwise required by law. Any changes will be communicated to employees as promptly as possible.

This handbook supersedes all prior written or oral policies, procedures, and understandings. In the event of any conflict between this handbook and any applicable law, the law will govern.

If you have any questions about the contents of this handbook, please contact your manager or the Human Resources Department at [HR Contact Information].


2. Our Company

2.1. Mission Statement

[Insert Company Mission Statement Here, e.g., "To innovate sustainable solutions that empower our customers and enrich our communities through technology and service excellence."]

2.2. Vision Statement

[Insert Company Vision Statement Here, e.g., "To be the leading provider of intelligent, eco-friendly solutions, setting new industry standards for quality and social responsibility."]

2.3. Our Core Values

Our values are the foundation of our culture and guide our decisions and actions:

  • Integrity: We act with honesty, transparency, and ethical conduct in all our dealings.
  • Excellence: We strive for the highest quality in everything we do, continuously seeking improvement.
  • Collaboration: We believe in teamwork, mutual respect, and shared success.
  • Innovation: We embrace creativity, new ideas, and continuous learning to drive progress.
  • Customer Focus: We are dedicated to understanding and exceeding the expectations of our customers.
  • Responsibility: We are accountable for our actions and committed to making a positive impact on society and the environment.

3. Employment Basics

3.1. Employment At-Will

As stated in the disclaimer, employment with [Company Name] is "at-will." This means that the employment relationship can be terminated by either the employee or [Company Name] at any time, for any lawful reason, with or without cause or notice. No manager or representative of [Company Name], other than [Specific Senior Executive, e.g., the CEO] in a formal written agreement signed by both parties, has the authority to enter into any agreement for employment for a specified period or to make any agreement contrary to the at-will nature of employment.

3.2. Equal Employment Opportunity (EEO)

[Company Name] is an Equal Opportunity Employer and is committed to providing a workplace free from discrimination and harassment. We recruit, hire, train, and promote individuals without regard to race, color, religion, sex (including pregnancy, childbirth, or related medical conditions), sexual orientation, gender identity or expression, national origin, age, disability, genetic information, veteran status, or any other characteristic protected by federal, state, or local law.

This commitment extends to all aspects of employment, including recruitment, hiring, promotions, transfers, compensation, benefits, training, and termination.

3.3. Anti-Discrimination and Anti-Harassment Policy

[Company Name] is dedicated to maintaining a workplace free from all forms of discrimination and harassment, including sexual harassment. We prohibit discrimination or harassment based on any protected characteristic.

Harassment Defined: Harassment includes unwelcome conduct that is based on race, color, religion, sex (including sexual orientation, gender identity, or pregnancy), national origin, age (40 or older), disability, or genetic information. Harassment becomes unlawful where:

  • Enduring the offensive conduct becomes a condition of continued employment, or
  • The conduct is severe or pervasive enough to create a work environment that a reasonable person would consider intimidating, hostile, or abusive.

Sexual Harassment: Includes unwelcome sexual advances, requests for sexual favors, and other verbal or physical conduct of a sexual nature when:

  • Submission to such conduct is made either explicitly or implicitly a term or condition of an individual's employment.
  • Submission to or rejection of such conduct by an individual is used as the basis for employment decisions affecting such individual.
  • Such conduct has the purpose or effect of unreasonably interfering with an individual's work performance or creating an intimidating, hostile, or offensive working environment.

Reporting Procedures: If you experience or witness any form of discrimination or harassment, you are strongly encouraged to report it immediately to your manager, the Human Resources Department, or any member of management with whom you feel comfortable. All complaints will be investigated promptly, thoroughly, and confidentially to the extent possible.

No Retaliation: [Company Name] strictly prohibits retaliation against any employee who reports discrimination or harassment in good faith, participates in an investigation, or opposes discriminatory practices. Any employee found to have engaged in retaliation will be subject to disciplinary action, up to and including termination of employment.

3.4. Workplace Conduct and Professionalism

All employees are expected to conduct themselves professionally and courteously at all times, fostering a respectful and productive work environment. This includes:

  • Treating colleagues, customers, vendors, and visitors with respect.
  • Communicating professionally, whether in person, via email, phone, or other digital channels.
  • Maintaining a positive attitude and contributing constructively to team efforts.
  • Adhering to all company policies and procedures.

4. Code of Conduct

4.1. General Expectations

Employees are expected to uphold the highest standards of integrity, honesty, and ethical behavior. This includes:

  • Acting in the best interest of [Company Name].
  • Complying with all applicable laws, regulations, and company policies.
  • Avoiding conflicts of interest.
  • Protecting company assets and information.

4.2. Confidentiality

During the course of your employment, you may have access to confidential and proprietary information belonging to [Company Name], its customers, and its partners. This information includes, but is not limited to, trade secrets, financial data, customer lists, marketing strategies, product development plans, employee records, and business processes.

  • You are required to maintain the confidentiality of all such information both during and after your employment.
  • Confidential information should not be disclosed to anyone outside the company or to unauthorized personnel within the company.
  • You must not use confidential information for personal gain or to the detriment of [Company Name].

Any breach of this confidentiality policy will result in disciplinary action, up to and including termination, and potential legal action.

4.3. Conflict of Interest

Employees must avoid situations where their personal interests conflict or appear to conflict with the interests of [Company Name]. A conflict of interest may arise when:

  • You or a family member have a financial interest in a competitor, supplier, or customer.
  • You accept gifts, favors, or entertainment from external parties that could influence business decisions.
  • You use company resources or information for personal gain.
  • You engage in outside employment or activities that interfere with your duties at [Company Name] or create a competitive situation.

If you believe a potential conflict of interest exists or may arise, you must disclose it immediately to your manager or the Human Resources Department for review and guidance.

4.4. Ethical Business Practices

[Company Name] is committed to conducting business with the highest ethical standards. This means:

  • Anti-Bribery and Corruption: We strictly prohibit bribery, kickbacks, or any other corrupt practices.
  • Fair Dealing: We will deal fairly with customers, suppliers, competitors, and employees. We will not take unfair advantage of anyone through manipulation, concealment, abuse of privileged information, misrepresentation of material facts, or any other unfair-dealing practice.
  • Accurate Records: All financial and business records must be accurate, complete, and maintained in accordance with company policies and legal requirements.

4.5. Use of Company Property and Resources

Company property, including equipment, vehicles, software, facilities, and supplies, is provided for business use. While incidental personal use may be permitted if it does not interfere with work duties, incur significant cost, or violate other policies, primary use must be for company business.

  • Care and Maintenance: Employees are responsible for the proper care, maintenance, and security of all company property assigned to them.
  • Unauthorized Use: Unauthorized use, removal, or destruction of company property is prohibited and may result in disciplinary action and/or legal prosecution.
  • Return of Property: Upon termination of employment, all company property must be returned immediately.

4.6. Information Technology (IT) and Data Security

[Company Name]'s IT resources (computers, networks, software, internet access, email, etc.) are critical for our operations. All employees are responsible for using these resources responsibly and securely.

  • Acceptable Use: IT resources are primarily for business purposes. Incidental and occasional personal use is permitted provided it does not interfere with work, consume excessive resources, or violate company policy or law.
  • Privacy: While [Company Name] respects employee privacy, employees should have no expectation of privacy when using company IT resources. The company reserves the right to monitor, access, and disclose information stored on or transmitted through its IT systems to ensure compliance with policies, protect company interests, or as required by law.
  • Security:

* Protect your passwords and do not share them.

* Do not install unauthorized software.

* Be vigilant against phishing, malware, and other cyber threats.

* Report any suspected security breaches or vulnerabilities immediately to [IT Department/Designated Contact].

* Adhere to data classification and handling policies for sensitive information.

4.7. Social Media Policy

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

  • Professional Conduct: Do not post content that is harassing, discriminatory, defamatory, threatening, or otherwise inappropriate or offensive.
  • Confidentiality: Do not disclose confidential or proprietary company information on social media.
  • Company Representation: If you identify yourself as a [Company Name] employee on social media, ensure your content is consistent with our values and does not damage the company's reputation. Clearly state that your opinions are your own and not those of [Company Name].
  • Work Time: Personal social media use should not interfere with your work duties or productivity.

4.8. Workplace Violence Prevention

[Company Name] is committed to providing a safe and secure workplace free from violence, threats, and intimidation.

  • Zero Tolerance: Any act or threat of violence, including verbal threats, intimidation, harassment, physical assault, or property damage, will not be tolerated.
  • Reporting: Employees must immediately report any threats, acts of violence, or suspicious behavior to their manager or Human Resources.
  • Weapons Policy: The possession of firearms, knives, or any other weapons on company property (including company vehicles and parking lots) is strictly prohibited, except as required by law for authorized security personnel.

4.9. Drug-Free Workplace Policy

[Company Name] is committed to maintaining a safe, healthy, and productive work environment. The unlawful manufacture, distribution, dispensing, possession, or use of illegal drugs, or the abuse of alcohol or prescription drugs, on company premises, during work hours, or while conducting company business, is strictly prohibited.

  • Alcohol: While moderate consumption of alcohol may be permitted at authorized company events, employees are expected to act responsibly and professionally. Being under the influence of alcohol to an extent that impairs job performance or poses a safety risk is prohibited.
  • Testing: [Company Name] reserves the right to conduct drug and alcohol testing as permitted by law, including pre-employment, reasonable suspicion, post-accident, and random testing.
  • Consequences: Violation of this policy will result in disciplinary action, up to and including termination of employment.

5. Compensation and Benefits Overview

This section provides a general overview of benefits. Specific details, eligibility requirements, and enrollment instructions are provided separately through the Human Resources Department and benefit plan documents. In case of any discrepancy, the official plan documents will govern.

5.1. Pay Periods and Overtime

  • Pay Schedule: Employees are paid [weekly/bi-weekly/semi-monthly] on [Day of Week/Specific Dates].
  • Method of Payment: Payments are made via direct deposit.
  • Overtime: Non-exempt employees are eligible for overtime pay at one and one-half times their regular rate of pay for all hours worked over 40 in a workweek, as required by law. All overtime must be pre-approved by your manager. Exempt employees are not eligible for overtime pay.

5.2. Health and Wellness Benefits

[Company Name] is proud to offer a comprehensive benefits package to eligible employees, designed to support your health and well-being.

  • Medical Insurance: [Briefly describe, e.g., "Multiple plans offered through [Provider Name] with employer contribution."].
  • Dental Insurance: [Briefly describe, e.g., "Coverage for preventative, basic, and major services."
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);}});}