Header image

Atomic Design In Software Development

16/12/2024

689

Linh Nguyen D. Q.

Hello everyone! I’m Linh, a front-end developer passionate about discovering effective methods for system development. When I first entered the tech industry, I faced challenges organizing UI components logically and reusable. This experience motivated me to seek strategies to optimize my workflow while ensuring that the products I developed were easy to scale and maintain.

Recently, I explored the concept of Atomic Design, which has become a guiding principle for me in tackling these challenges more systematically and scientifically. This approach has significantly influenced my design thinking. Through this article, I aim to inspire you and offer a fresh perspective if you’re also looking for solutions for your systems.

Taking Cues From Chemistry

Looking for a way to build and create a design system reminds me of developments in other fields and industries. Many areas, such as design and architecture, have developed smart modular systems to produce incredibly complex things like airplanes, ships, and skyscrapers.

These thoughts take me back to my school days in chemistry labs. The idea is that all matter—whether solid, liquid, gas, simple, or complex—is made up of atoms. These atoms bond to form molecules, which combine into more complex organisms, eventually creating everything in our universe.

Similarly, systems built up from smaller components are more logical and connected. We can break the entire system into basic building blocks and work from there. That’s the core idea of atomic design.

What Is Atomic Design?

Atomic Design is an interface design methodology that focuses on creating a system of components rather than entire pages. Introduced by Brad Frost in 2013, this approach emphasizes using small, independent elements that can be reused and combined to form a cohesive whole. This strategy facilitates quicker product development, promotes a unified interface, and simplifies maintenance.

“Atomic Design is a methodology where designers prioritize creating individual components and then combine them, rather than designing entire pages.”

Atomic Design can enhance the design development process, promoting consistency, adaptability, and efficiency across projects. By applying the principles of Atomic Design, developers and designers can collaborate within a cohesive design system, ultimately delivering a scalable and high-quality user experience.

what is atomic design? Atomic design is an interface design methodology

Atomic Design organizes components into five levels, progressing from simple to complex, as illustrated above:

  • Atoms: These are the most basic components, such as HTML tags like buttons, inputs, labels, and icons.
  • Molecules are combinations of two or more atoms that create more complex components. For example, a form group consists of an input and a label.
  • Organisms are more complex UI components of multiple molecules and/or atoms. For instance, a form can comprise several form groups and buttons.
  • Templates are layout frameworks created from organisms and molecules. They define how these components are arranged on a page but do not contain actual data or content; they represent an abstract structure.
  • Pages: These are specific instances of templates where real content is added to create complete web pages or applications. Pages include all necessary components—atoms, molecules, organisms, and templates—along with specific content for end users to interact with.

In the following sections, we will explore each level of Atomic Design in detail.

Atoms

Similar to atoms in nature, these elements may seem abstract, but they are the foundational building blocks of all our user interfaces. In web interfaces, atoms are the fundamental HTML elements, such as labels, inputs, and buttons. As the smallest components, they cannot be broken down any further. Atoms can also be abstract concepts, including colors, fonts, and even more intangible UI aspects, like animations.

Atomic design includes 5 elements

Molecules

When we combine atoms, things become more interesting and tangible. Molecules are groups of atoms that bond together and serve as the minor basic units of a compound. They possess unique properties and act as core elements within our design system.

For example, when atoms like labels, inputs, or buttons stand alone, they are useless. However, when combined into a form, they can work effectively together.

Molecules can be simple or complex and designed for reuse or one-time use. A molecule can have multiple variants (similar to components in a Variant in Figma) intended for different contexts or interactions (such as hover, pressing, or after a delay).

Organisms

Molecules provide us with building blocks to combine to create organisms. Organisms are groups of molecules that come together to form a more complex and complete structure.

Organisms can consist of similar or different elements. For instance, a website header might include a logo, menu, and search box. When you visit the category page of most e-commerce websites, you’ll see product listings displayed in a grid format, composed of smaller components like images, titles, captions, etc.

Molecules provide us with building blocks to combine to create organisms

Templates

Templates are combinations of organisms that create complete pages. They focus on the basic content structure rather than the final content. Templates help clearly define important properties such as image sizes and text lengths, thereby establishing an effective system for managing dynamic content and ensuring alignment with the design.

“You can create good experiences without knowing the content. What you can’t do is create good experiences without knowing your content structure. What is your content made from, not what your content is?”

Templates are combinations of organisms that create complete pages

Pages

Pages are specific instances of templates. Placeholder content is replaced with representative content to depict what end users will see accurately. In simpler terms, pages are templates filled with real data for presentation purposes, offering the most realistic view of the design. Developers and designers will test how templates work with actual content, allowing designers to return and adjust to molecules, organisms, and templates as needed.

Templates in the atomic design

>>> Maybe you are interested:

Benefits Of Applying Atomic Design In User Interface (UI) Design

Consistency

Atomic Design utilizes a modular approach, ensuring each interface element adheres to a consistent design language. When a component, such as a button or color, is modified or updated, these changes are automatically reflected across all pages, maintaining uniformity throughout the product. This consistency is crucial for large and complex design teams, where smooth and synchronized updates are essential.

Reusability

Reusability is one of the most significant advantages of Atomic Design. By defining basic components in a standardized way, you can reuse them throughout different contexts and parts of the product.

Due to this reusability, designers and developers can quickly integrate complex interfaces from standardized small components. For example, a button designed according to the standards can be used on various pages, from the homepage to product pages and forms, without needing to be recreated. This not only minimizes repetitive work but also ensures consistency across the entire design system.

Atomic Design’s reusability also promotes flexibility. It allows for easy updates or replacements of a component across the system without changing every detail on each page.

Maintainability

Atomic Design enables designers and developers to efficiently monitor and modify specific interface parts without impacting the entire system. The team can directly adjust the associated atoms or molecules when updates are required for a component, such as a button or color. These changes will automatically be reflected across all instances of that component. This approach reduces errors, minimizes repetitive tasks, and ensures that updates are consistently applied throughout the system.

Scalability

Like maintainability, Atomic Design allows designers and developers to expand the system by adding new components at the appropriate levels without disrupting the overall structure. For instance, if a new type of button or content combination is needed, the team can create new atoms or molecules and seamlessly integrate them into existing organisms and templates.

This method enables a system to quickly scale from a small application to larger, more complex products with many new pages and features while maintaining structural integrity. Atomic Design’s scalability ensures that products can evolve continuously and improve while minimizing the effort required for updates or adjustments to meet new demands. This helps products quickly adapt to changing user needs and market conditions.

A prime example of successfully implementing Atomic Design principles in UI design is the Shopee UI Design System. Shopee is building its interface systems based on Atomic Design principles to maintain consistency across its entire product range. By applying Atomic Design to fundamental components such as buttons, colors, and font families (Atoms), as well as groups of components like product lists (Molecules) and elements like navigation bars or product carousels (Organisms), Shopee enhances development speed through the reuse of standardized components, ensuring a consistent interface across multiple platforms.

Reality Use-Cases

Atomic Design is a robust methodology for creating user interfaces (UI) that has been extensively utilized in various open-source projects. Below are some notable systems that SupremeTech has adopted and incorporated into its client solutions:

Shopify Polaris Design System

Shopify uses Polaris to create a consistent interface for all applications related to Shopify. Similar to Shopee UI, Shopify Polaris applies the levels of Atoms, Molecules, and Organisms from Atomic Design into its design system. This helps Shopify enhance development efficiency and maintain long-term product quality.

MedusaJS

As an open-source e-commerce platform, MedusaJS implements atomic design to organize the UI components for its Storefront and Admin Dashboard.

Storefront UI: When building the Shopify Storefront interface for Medusa.js projects, Atomic Design helps organize UI components hierarchically.

1. Atoms:

  • Button:  Add to Cart button, View Product button.
  • Text: Product title, price.
  • Icon: Shopping cart icon, search icon.

2. Molecules:

  • Product Card: Includes an image, title, price, and Add to Cart button.
  • Navbar: Contains the logo, menu links, and search bar.

3. Organisms:

  • Product Grid: A grid of product cards.
  • Header: Combines the logo, navigation bar, and mini cart.

4. Templates: Product detail pages or product category pages.

5. Pages: Homepage, checkout page.

Admin Dashboard: Medusa.js also requires an admin UI to manage products, orders, and customers. Atomic Design helps organize the admin interface.

1. Atoms:

  • Input: Input fields (product name, price).
  • Button: Save, Delete, or Add product buttons.
  • Badge: Displays order status (completed, processing).

2. Molecules:

  • Search Bar: Search input field with a button and icon.
  • Table Row: A row in a data table (product, order).

3. Organisms:

  • Data Table: Displays a list of products or orders.
  • Sidebar: Navigation menu for sections like Products and Orders.

4. Templates: Product list page with sidebar and data table.

5. Pages: Product management page, order management page.

By applying Atomic Design, MedusaJS achieves:

  • Component reusability: UI components like buttons, forms, or cards can be reused in both the storefront and admin dashboard.
  • Easy expansion: When adding new features (e.g., wishlist or promotional modules), you can combine existing Atoms, Molecules, and Organisms.
  • Consistency assurance: Atomic Design ensures that components are uniformly designed from the admin interface to the storefront.
  • Facilitated collaboration: Design and development teams can collaborate on a transparent hierarchical system.

Wrapping Up

Atomic Design is a valuable method in design and development; fundamentally, it serves as a framework for building user interfaces. The immediate benefits include time and cost savings, improved product consistency, enhanced team collaboration, support for accessibility efforts, and strategic long-term initiatives. These reasons drive organizations to adopt design systems. Mastering the core principles of modern design systems will help you grow as a designer or developer.

Related Blog

recap Hackathon AI-driven event of SupremeTech

Our culture

+0

    SupremeTech’s AI Hackathon 2025: A blend of Product-Focused Spirit and AI-assisted Development

    On September 6–7 of 2025, we hosted our very first AI-Driven Development Hackathon. Ten teams, all made up of SupremeTech members, stepped out of their daily routines to take on real business challenges. Within just 22 hours, they brainstormed, coded, and pitched solutions showcasing their creative application of AI-powered tools. This Hackathon was more than a competition. It was an opportunity for SupremeTech’s members to experiment with AI in practical ways, strengthen their teamwork, and grow into product builders in the AI era. And, of course, they get themselves a chance to win VND 100,000,000 in prize money. Real business challenges from retail & tourism industries Before jumping into the final pitches of 10 teams, let’s take a look at the challenges that will later inspire their creativity. Some of them are quite familiar topics, while others might be a bit more challenging and out-of-the-box.  As CEO Mr. Bình explained: “When shaping the problem statement, I wanted to balance three things. First, it had to be close enough to our real business so that outcomes could have practical value. Second, it needed to challenge teams to apply AI meaningfully not just add AI as a decoration, but use it to create efficiency or new capability. And third, it should be simple and open enough so that everyone, regardless of role, could participate and learn something from the process.” Though this Hackathon centers the theme of “AI-Driven Development”, each challenge was designed to be: Close to real business needs so that outcomes could have practical applicationsAI-driven, but in a practical and meaningful way, to create efficiency or new capabilitiesOpen enough for all roles to participate, learn, and contribute Now, let’s dive into the details of each challenge.  Omnichannel E-Commerce & Loyalty App for Retail Brands This is one of SupremeTech’s current areas of expertise and key services. By including it as a challenge topic, teams worked on solutions that are highly applicable to existing clients, directly supporting our clients’ business growth.  For participants who face this challenge, it could be both a blessing and a curse. We’ve been building and managing a variety of EC and loyalty systems for clients. But when it comes to building a new one using AI, replicating the past experience may not be a smart choice. Judges, for sure, would want to see some real enhancements in the development process empowered by AI, not to mention the creativity in the strategic approach to this very familiar topic.  The original statement requires teams to develop an application that solves the problem of disconnected retail experiences. The solution should unify online and offline shopping while deeply integrating loyalty programs and personalization.  There could be a huge number of variations coming up from this statement. Stay tuned for the highlight performance!  Destination and Experience Management System for Tourism Managing group travel is a complex task often disturbed by miscommunication and inefficiencies. In a tourism hub like Da Nang, where businesses host frequent tours and events for a very large group of travelers, the ability to streamline logistics and improve participant engagement directly impacts customer satisfaction.  For companies, such apps not only reduce operational headaches but also enhance the overall brand experience they deliver. It can even drive sales if well structured and managed. In this statement, teams are required to develop a platform that streamlines group trip management. The solution should enable organizers to coordinate transportation, schedules, and interactions in one place, instead of relying on scattered tools like messenger apps.  The topic reflects SupremeTech’s own company trip pain points and has strong application potential for Da Nang’s tourism and hospitality businesses. Talent & Performance Management System for HR Apart from two industries above, in the third problem statement, we aimed to tackle the challenges of every human-driven company like ourselves.   When it comes to an integrated platform that not only tracks performance but also supports continuous growth and recognition, there’s very few choices.  This statement requires teams to develop an application that solves the problem of fragmented performance management. The solution should integrate goal setting, performance tracking, continuous feedback, and talent development into a single platform, helping organizations build a transparent culture where employees are recognized and aligned with business goals. How teams build the product is as important as the product itself Just as important as what teams built was how they built it. The Hackathon wasn’t only about coming up with clever ideas, it was about proving that execution, process, and teamwork are just as critical as the final product.  Many teams leaned on AI not just as a tool but as a true co-pilot: using AI-assisted frameworks to prototype faster, automating repetitive tasks, automating testing, and finding smarter ways to accelerate Agile development. What stood out was how teams adapted their workflows to make the most of AI. Some rethought their sprint planning with AI-driven insights. Others applied AI models to cut down on development cycles. And many discovered new ways to collaborate more effectively by letting AI handle the heavy lifting.  The Hackathon turned into a live experiment in how AI can reshape the way we build software. Creativity isn’t just in the idea itself, but in the entire journey of bringing it to life. Perspectives from the leaders and the participants From leadership: The Hackathon aligned employees with real client challenges, ensuring that innovation can directly contribute to business value. It proved that AI can be embedded into everyday problem-solving, not just theoretical projects. As Vice President Mr. Vĩ shared: “AI has already been selectively applied in SupremeTech’s real projects, depending on client expectations and suitability. In many cases, it helps optimize software production costs and shorten time-to-market. Through this Hackathon, I hope to spread the AI-assist mindset to a larger part of the company, so that AI gradually becomes embedded across all projects: enhancing efficiency, improving quality, and ultimately bringing benefits to both clients and the company. This year’s Hackathon focuses more on unlocking internal strength and setting a direction for the future. If everything goes according to plan, we will publish AI-assisted development as a new service offering. It is a clear statement that AI is being strategically applied at SupremeTech to deliver tangible value to our clients.” From participants: The challenge statements sparked two different but equally positive reactions.  Some teams loved how practical and relevant they were by mirroring the real projects we handle at SupremeTech. This gave them the perfect chance to not only test AI-assisted development but also to build solutions that might one day become our next official product. On the other hand, many appreciated how broad the challenges were. It leaves space for bold ideas and limitless creativity. With that freedom, participants could push boundaries, think like product owners, and imagine possibilities beyond the usual project scope. Conclusion The SupremeTech AI Hackathon 2025 proved to be more than an internal competition. From a business perspective: Participants gained experience and insights that sharpened their ability to think with a business mindset, ensuring their solutions were tied to real market needs. From a technical perspective: The event introduced an AI-assisted development process and innovative frameworks that can be applied immediately in client projects. By turning challenges into opportunities, the Hackathon reinforced SupremeTech’s positioning as a future-ready partner, capable of combining innovation, culture, and technical excellence to deliver AI-driven value to clients.

    10/09/2025

    83

    Quy Huynh

    Our culture

    +0

      SupremeTech’s AI Hackathon 2025: A blend of Product-Focused Spirit and AI-assisted Development

      10/09/2025

      83

      Quy Huynh

      Hackathon AI SupremeTech 2025

      Our culture

      +0

        A to Z about SupremeTech’s AI Hackathon 2025: Why We Do It and What to Expect

        This September 6–7, SupremeTech will host its first AI-Driven Development Hackathon, a landmark event designed to inspire teams to embrace artificial intelligence as a core part of how we work, innovate, and grow. The Hackathon is not just a competition. It is a statement of SupremeTech’s belief that learning and innovation are the backbone of both personal and organizational growth. Through this event, our engineers and product teams will have the opportunity to experiment, challenge themselves, and use AI to reimagine the way they work. By fostering creativity and adaptability, the Hackathon aims to enhance work efficiency today while leading the way for AI-assisted development as a core strength of our future. Why Hackathon Matters Now There are several ways companies may choose to approach and apply AI in their working process: training, workshop,… For SupremeTech we want to inspire our developers with a fun blend of innovative and competitive experiences. Hackathon is exactly the format we’re looking for. They compress ideation, experimentation, and execution into an intensive timeframe, creating an environment where bold ideas can quickly turn into actionable solutions. Furthermore, the high pressure of time would foster teamwork, collaboration and bonding to the next level. At SupremeTech, the AI Hackathon 2025 will serve as: A safe space to test AI ideas from concept to execution.A platform to help employees step out of their comfort zones and practice product-building skills.An accelerator of cross-functional teamwork, where developers, designers, and product leaders work together with AI as a co-pilot.A signal to clients and partners that SupremeTech is forward-looking, innovation-driven, and committed to AI adoption. SupremeTech AI Hackathon 2025 Overview Message & Objective:To raise awareness of the importance of continuous learning, growth, and self-breakthrough, enabling each individual to move forward together in collective progress. Format:The main theme of this Hackathon is “AI-Driven Development” focusing on how teams can utilize AI tools to build solutions and solve real-world problems.  Teams will have 22 hours to complete their challenge, followed by a 30-minute demo and pitching session to the judges. Results will be announced after the competition. Evaluation Criteria:Projects will be assessed across four dimensions: Business Value: Market fit, feasibility, economic efficiency, and contribution to SupremeTech’s brand.Engineering Quality: Coding standards, scalability, maintainability, security, and UI/UX design.Technical Execution: Completion of core features, testing outcomes, innovative use of AI tools, and potential for future expansion.Presentation & Pitching: Clarity of communication, demo quality, time management, team passion, and user experience. Main Business Domains Covered: The Hackathon challenges will center on the Retail sector, with a strong emphasis on Omnichannel and Luxury Retail Businesses. Within this domain, teams will explore AI-driven solutions in three key areas: Customer ExperienceMobile OrderingCustomer Data What Leaders Think About This AI Hackathon To provide insight into the vision behind the Hackathon, we spoke with its three leaders of SupremeTech, who directly run this initiative: Mr. Bình (CEO), Mr. Vĩ (Vice President), and Mr. Đào (CTO). Mr. Bình, CEO of SupremeTech “2025 is a turning point for us, a second-time startup for SupremeTech. The industry is moving very fast with AI, and I want our people to be at the front line of this change, not just following behind.” For Mr. Bình, the Hackathon is about more than prototypes. It is about building a culture where innovation and continuous learning are second nature. He hopes the event will give SupremeTech members the awareness that AI is not some distant future, but a tool they can apply today to enhance their work. To clients and partners, the Hackathon demonstrates that SupremeTech is serious about innovation and ready to bring AI-driven value into real projects. Mr. Vĩ, Vice President of SupremeTech From his perspective, the Hackathon plays a strategic role in long-term talent development. “Hopefully, through this AI hackathon, we will contribute to spreading the AI-assist mindset to a large number of company members, thereby popularizing AI in all projects at SupremeTech. In order to improve efficiency and quality, optimize costs to bring benefits to customers and the company.” He expects to see teams not only moving fast but also integrating AI across the entire development process. Beyond internal growth, the Hackathon sends a message to clients: SupremeTech is building a strategic roadmap for AI-assisted development that will optimize costs, shorten delivery time, and raise product quality. Mr. Đào, CTO of SupremeTech When judging, Mr. Đào will look for a balance between creativity and practical application. Both, he believes, are equally important. “The role of developers will not change much, but their skills will. Engineers will need to level up, becoming more capable as they learn to work alongside AI.” For him, the Hackathon represents a chance for teams to explore while ensuring their ideas can translate into real-world impact. >>> Read more related articles: How a Hackathon Changed My Life – A Personal Story from the CEO of SupremeTechHow Could You Join a Hackathon Without Knowing This? Our Developers Are Preparing for D-Day As the countdown to September 6 approaches, excitement is building across SupremeTech. Teams are forming, ideas are being exchanged, and strategies are taking shape. For our developers, this Hackathon is more than just a challenge, it is a chance to step outside their comfort zones, test their skills under pressure. Stay Tuned for Our Upcoming Updates The SupremeTech AI Hackathon 2025 is the beginning of a larger journey. It is about preparing people to work smarter with AI, strengthening a culture of innovation, and ultimately shaping the future of AI-assisted development in SupremeTech and beyond. By creating this space for learning and experimentation, SupremeTech is reaffirming its commitment to being both a reliable partner today and a forward-looking innovator tomorrow. 📩 Read more articles about us here: https://www.supremetech.vn/blog/

        05/09/2025

        106

        Quy Huynh

        Our culture

        +0

          A to Z about SupremeTech’s AI Hackathon 2025: Why We Do It and What to Expect

          05/09/2025

          106

          Quy Huynh

          When Technology Meets a Pioneering Spirit

          Our culture

          +0

            When Technology Meets a Pioneering Spirit

            SupremeTech’s Hackathon 2025 is not just a coding competition, it’s a place where bold ideas are tested, limits are broken, and new connections are formed. Every team carries its own story – about why they joined, their role in the group, or what they expect to gain after this intense yet inspiring journey. Among them, we had the chance to chat with Quang Dũng, a Technical Leader at SupremeTech, who is participating in a Hackathon for the very first time – while also taking on the role of team leader. Usually busy with deadlines and lines of code, this Hackathon is his opportunity to step away from routine work and challenge himself in a completely different way. We listened to his thoughts on challenges, pioneering spirit, and what he hopes to take away from this event. Let’s join SupremeTech and Quang Dũng in this conversation about the Hackathon! Q&A with Quang Dũng 1. Is this your first time joining a Hackathon?Yes, this is my first Hackathon. Everything feels new: the intensity, the pressure, and how teamwork changes under strict time limits. I wanted to experience this firsthand and compare it with the usual way of running projects. 2. What made you decide to sign up for the event?I wanted to challenge myself – to see how far I can go applying AI in real-world work. This is an opportunity for me and my team to pioneer ways of leveraging AI Copilot in a small group project of 3–5 people, while learning new workflows and testing practical applications. And of course, the prizes are also very attractive – hard to resist! Who knows, maybe I can go home and tell my wife that just two days of Hackathon brought back 50 million VND! (laughs). 3. What is your role in the team? If given the choice, what field would you like your project to be applied to?I’m the team leader – responsible for planning, setting the initial direction, and building a sample demo so everyone has a clear vision. In other words, I set the rhythm so the whole team can work smoothly together. If I had the chance to choose a project topic, I’d want it applied to practical areas like booking/reservation systems or internal management tools such as resource and project management. These fields are highly relevant to business needs and can create immediate value. 4. If you had to describe SupremeTech’s AI Hackathon in three words, what would they be? Challenge – Pioneer – Connection. Challenge: because everyone here must push beyond their own limits.Pioneer: because we are applying the latest AI technologies to real-world problems.Connection: connecting people, ideas, and the future of technology. 5. What do you expect to gain from this Hackathon? In my daily work, I’m often involved in project estimation. I expect this event will help me learn how to integrate AI Copilot into product development workflows. That could make estimations more accurate, save time, and improve overall efficiency at the company. In other words, what I look forward to most is not just the prize, but the knowledge and experience that can truly be applied to work. >> Read related articles: How a Hackathon Changed My Life – A Personal Story from the CEO of SupremeTech Closing SupremeTech’s Hackathon is more than a tech playground, it’s an opportunity for each individual to test themselves, learn, and break past their own limits. Stay tuned for the next tech journeys at SupremeTech, where even the smallest ideas can spark big changes!

            22/08/2025

            223

            Our culture

            +0

              When Technology Meets a Pioneering Spirit

              22/08/2025

              223

              tips when joining AI Hackathon

              Knowledge

              +0

                How Could You Join a Hackathon Without Knowing This?

                In the ever-evolving world of programming, the emergence of intelligent support tools is changing the way we write code. Copilot, often described as “AI-powered Pair Programming”, promises to revolutionize the workflow of software developers. In this article, I’ll focus on GitHub Copilot, the AI tool I personally use every day when coding. What is GitHub Copilot? GitHub Copilot is an AI assistant integrated into IDEs (VS Code, IntelliJ IDEA/PyCharm, Neovim) developed by GitHub and OpenAI. It provides context-aware code suggestions as you type, and includes Copilot Chat for Q&A directly inside the IDE. Key Advantages of GitHub Copilot Faster coding: Reduce time spent on repetitive tasks with context-aware suggestions (functions, code blocks, basic tests).Learn new technologies quickly: Get API/syntax examples directly in your IDE; ask further via Copilot Chat.Automate boring work: Scaffold endpoints, write boilerplate, create sample tests, suggest snippets, and ensure consistent formatting.Seamless IDE integration: Works in VS Code, JetBrains, Neovim; suggestions appear as ghost text/inline as you type. Limitations to Keep in Mind Not always accurate: May generate syntax, logic, or performance errors.Solution: Always review, run lint/tests, and benchmark when needed.Security & copyright risks: Could resemble public code or leak if sensitive data is pasted.Solution: Enable “block suggestions matching public code,” avoid entering secrets, follow organizational policies.Risk of dependency: Over-reliance may weaken fundamental coding skills.Solution: Use Copilot for speed, but keep code reviews and tests.Limited domain knowledge: Suggestions may not fit specific business contexts.Solution: Break down requests, add examples/constraints, manually refine critical parts. Quick Start (VS Code) Install extensions: GitHub Copilot and (optional) GitHub Copilot Chat.Log in to GitHub and enable suggestions in Settings.Create a new file, describe requirements in Vietnamese/English within comments or docstrings.Press Tab to accept, Esc to skip. Check IDE shortcuts for more. Simple Examples Just comment your request, and GitHub Copilot will write code for you. Example 1: Utility function to validate email (JavaScript) // Write function isValidEmail(email: string): boolean function isValidEmail(email) { return /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email); } Note: The regex above is basic — adjust according to project needs. Example 2: Quick API skeleton (Node.js/Express) // Create route GET /health that returns { status: 'ok' } app.get('/health', (req, res) => { res.json({ status: 'ok' }); }); Example 3: Basic unit test (Jest) // Write test for sum(a,b): 1+2=3, -1+1=0 test('sum basics', () => { expect(sum(1, 2)).toBe(3); expect(sum(-1, 1)).toBe(0); }); Tips for Using GitHub Copilot Effectively Write clear descriptions/comments: specify input, output, constraints, and examples.Always check & optimize code: run lint/tests, review performance, security.Break down complex requests: guide step by step for more accurate suggestions.Use Copilot Chat to research/explain, but always verify with original docs. Key Notes Enable “block suggestions matching public code” in organizational projects.Avoid pasting secrets (keys, credentials, sensitive data) into prompts. Conclusion GitHub Copilot is an AI assistant that helps you code faster, learn new tech quickly, and automate repetitive tasks — but you still need to review, test, and follow security policies. My Personal Experience Coding with GitHub Copilot Before using GitHub Copilot: Spent lots of time on repetitive, structured code.Slowed down by switching between coding and researching online. When first trying Copilot: Felt efficiency in simple features/functions.Struggled with complex features — Copilot often generated unnecessary code.Spent extra time reviewing Copilot’s output. After long-term use: Significantly reduced time on repetitive tasks (boilerplate, data mapping, simple CRUD, …).More consistent code (naming, structure), better documentation (docs, README) thanks to quick suggestions.Changed workflow: “comment-first” or “test-first” to guide Copilot, using Chat to refine and explain.Formed a risky habit: accepting Copilot’s suggestions too quickly without reviewing. Start Small & Measure Effectiveness Enable Copilot in your IDE, try with a utility function or basic test, turn on the “block public code” filter, and avoid pasting secrets. After one week, measure effectiveness (task completion time, amount of boilerplate written manually, number of minor bugs), then decide how much to apply in projects. Good luck using GitHub Copilot effectively — and may you achieve great success at the Hackathon!

                22/08/2025

                193

                Anh Nguyen T.

                Knowledge

                +0

                  How Could You Join a Hackathon Without Knowing This?

                  22/08/2025

                  193

                  Anh Nguyen T.

                  Customize software background

                  Want to customize a software for your business?

                  Meet with us! Schedule a meeting with us!