Artificial IntelligenceSoftware EngineeringWeb DevelopmentDeveloper Experience

Did I Use AI to Build This Blog? Yes, and I Don't See Anything Wrong with That!

You may have wondered about this while browsing this blog:

Did I use artificial intelligence to build this website?

The simple answer is yes.

And I don't see anything wrong with admitting that. We live in a time when AI tools have become part of developers' everyday workflows. Ignoring these tools just to prove that you can write everything manually is not necessarily a smart decision.

But there is another question I believe is more important:

Does using AI mean I no longer need to think like a developer?

My answer is no.

There is a significant difference between using AI to help turn your ideas into a real application and handing over the entire project idea, decisions, design, and implementation to a tool, then simply copying the result and publishing it.

This article is not an attempt to prove that everything on this website was written manually. Nor is it a defense of using AI for absolutely everything.

It is an honest attempt to discuss how these tools can be used, what they can offer developers, and where their role should end so that human judgment can take over.


The Problem Is Not Using AI, but How You Use It

Imagine opening an AI tool and writing:

Create a modern, minimal, professional developer portfolio using Next.js, with a beautiful hero section, projects, skills, contact form, and a dark theme.

You will probably get a result that looks good.

It might include an attractive hero section, a dark background, project cards, a skills section, and a few visual effects.

But ask yourself:

  • Does this website actually reflect the developer's personality?
  • Does its content represent their experience and interests?
  • Are the design choices appropriate for them?
  • Can they understand the code that was generated?
  • Can they maintain and extend the website when needed?

The answer to some of these questions might be no.

The reason is simple: the tool received a generic description and produced a generic solution that matched it.

The problem is not that AI generated the code. The problem is that the result may have nothing to do with the person it is supposed to represent.

Anyone can ask an AI tool to create a portfolio. But what makes one website different from another is not simply using Next.js or adding attractive visual effects.

It is the details and decisions behind it.

A Website Is More Than a Collection of Components

When I think about a portfolio, I don't see it as just a page containing contact information, projects, and skills.

I see it as a space where I can express how I think, what I am interested in, the technical subjects I am learning, and the projects I am working on.

That is why making a website visually attractive is not enough.

It needs meaningful content, a clear identity, and a consistent user experience.

There is a difference between displaying a Projects section filled with attractive cards and presenting projects whose challenges and engineering decisions you can actually explain.

The same applies to a blog.

I didn't want my blog to be just a list of links sending visitors to an external platform. I wanted the articles to be part of my own website, where I could control how they are displayed, how readers experience them, and how code examples are formatted.

That is why I decided to use MDX with Next.js, allowing me to write and display articles directly on my own website.

It may seem like a small technical detail, but it reflects a decision connected to the user experience and the purpose of the website.

Where Did I Use AI While Building This Blog?

I used AI as an assistant throughout different stages of the development process.

However, using it did not mean letting it decide everything.

1. Turning Ideas into Actionable Steps

Sometimes you have a clear idea of what you want to achieve, but you don't know the best way to implement it.

For example, I wanted to move my articles from DEV Community to my own portfolio.

That idea leads to several technical questions:

  • Where should the articles be stored?
  • Do I need a database?
  • Should I use MDX or a content management system?
  • How should each article get its own URL?
  • How should Arabic and English content be handled?
  • How can I generate SEO metadata for each article?

This is where AI can help explore different options and compare their advantages and disadvantages.

But choosing the right solution should depend on the project's size, its requirements, and your ability to maintain it.

In my case, I didn't need to build a backend or an admin dashboard to manage articles. Using local MDX files was a simple and suitable solution for a personal blog.

2. Getting Help with Writing and Organizing Code

One useful application of AI is getting help with writing parts of the code, refactoring them, or suggesting simpler ways to implement a feature.

But there is a difference between receiving ready-made code and understanding what it does.

When I work with new code, I don't just want to know where to put it.

I want to understand:

  • What problem does it solve?
  • Why did we choose this approach?
  • Are there alternatives?
  • How does this change affect the rest of the project?
  • Will I be able to maintain it in the future?

These questions matter because code you don't understand can eventually become a burden when you need to modify it.

3. Improving the User Experience and Design

I also used AI assistance to improve some visual and functional details.

Examples include working with the Thmanyah Sans Arabic font, formatting code blocks using Shiki, and creating code containers that display the programming language along with three colored dots resembling desktop code editor windows.

These details were not random additions.

The goal was to create a better reading experience, especially when an article contains long code examples.

It is also important to understand that having AI involved does not eliminate the need for visual review and practical testing.

A tool may suggest a design that looks good in code, but the final judgment comes after running the website and seeing the actual result.

4. Getting Help with Debugging and Solving Errors

One of the areas where AI can save time is understanding error messages.

For example, while configuring MDX, I encountered a problem related to loading mdx-components.tsx, and I received this error:

Code snippet
Code
React.default.createContext is not a function

The solution was not simply making random changes to the code.

We needed to review the file location, understand how Next.js discovers it, correct its location, and restart the development server.

This demonstrates an important point:

AI can help you identify the cause of a problem, but you must verify the diagnosis and the solution in your actual development environment.

A suggestion that looks correct is not necessarily the right solution for your project.


When Does Using AI Become a Problem?

I don't think the problem starts when AI writes a large portion of the code.

It starts when a developer loses the ability or willingness to evaluate what the tool produces.

There are a few signs that indicate an unhealthy relationship with AI tools.

When You Accept Every Suggestion Without Understanding It

If a tool suggests using a new library, do you actually need it?

If it suggests changing the project architecture, do you understand the impact of that change?

If it generates a complex function, can you explain and modify it?

Copying code without understanding it may save implementation time today, but it could increase maintenance costs tomorrow.

When Every Project Starts Looking the Same

If you rely on generic prompts to build websites, you may end up with components, designs, and content that look similar to thousands of other websites.

The website might be technically sound, but it provides little evidence of its owner's personality.

I don't think the solution is to avoid common design patterns entirely. It is to understand when they are appropriate and when a project needs decisions that are more closely connected to its actual goals.

When You Replace Learning with Code Generation

You might be able to use AI to create an application with many interfaces, components, and features.

But does having a working application automatically make you a better programmer?

Not necessarily.

The ability to build an application is not the only measure of experience.

There is a difference between using a ready-made solution and understanding why it works, and being able to modify that solution when requirements change.


AI Does Not Replace Engineering Thinking

Software engineering is not simply about writing code.

Before writing a single line, there are several decisions to make:

  • Identifying the problem.
  • Understanding the requirements.
  • Choosing an appropriate design.
  • Defining component responsibilities.
  • Thinking about unexpected cases.
  • Considering security and performance.
  • Planning for maintenance and future development.

AI can help you explore these areas and suggest solutions, but you should not assume that its first suggestion is the best engineering decision.

Consider a simple example.

Imagine that you want to build a personal blog.

You could choose:

  1. Store articles in local MDX files.
  2. Store them in a database.
  3. Use an external content management system.

All three options can be correct in different contexts.

But the real question is not: Which technology is more popular?

It is: Which solution fits the project's size, usage requirements, and the amount of maintenance I can handle?

For a personal blog that doesn't need an admin dashboard or multiple content editors, local MDX files may be simpler and more appropriate.

This kind of thinking is what makes an engineering decision reasonable, rather than simply choosing the most popular technology.


How Do I Think Developers Should Use AI?

I believe the best approach is to treat AI as a collaborative assistant, not as a replacement for the developer's role.

There are several principles I consider important.

1. Start with the Problem, Not the Tool

Don't begin by saying that you want to use a particular library.

Start by identifying the problem you are trying to solve.

Then look for the simplest solution that meets the requirements.

2. Provide Context

The clearer your project description and requirements are, the more relevant the suggestions will be.

Don't ask a tool to write a component without explaining what it does, which technologies are being used, and what constraints exist in the project.

3. Ask for Explanations Behind Decisions

Don't just accept the code.

Ask why a particular approach was chosen, what alternatives are available, and what problems might arise.

4. Test What You Receive

Run the code.

Try different scenarios.

Review errors.

Make sure the result actually meets the requirements.

Don't treat a successful build as the only evidence that the application is correct.

5. Never Give Up on Learning

Use AI to understand concepts you don't know, not simply to skip them.

Sometimes it is better to ask for a gradual explanation instead of requesting a complete solution.

6. Keep the Final Decision Yours

A tool can suggest several solutions, but you should choose the one you understand, can justify, and can maintain.

That is part of your responsibility as a developer.


Should We Hide Our Use of AI?

I don't see a reason for developers to claim that they built everything without assistance, especially when using these tools has become a normal part of modern development workflows.

Using AI does not automatically make a project less valuable.

However, we should not claim knowledge or expertise that we don't actually have.

It is better to be transparent about the tools you used and be able to explain the decisions and results you reached.

Ultimately, what matters is not only who wrote a particular line of code, but whether you understand what you published, whether you take responsibility for its quality and correctness, and whether you can maintain and improve it.


This Blog Is an Example of the Idea

When you look at this blog, you may see a collection of pages, components, and visual styles.

But behind them are a series of small, connected decisions:

  • Choosing how articles should be stored.
  • Moving the reading experience inside the website.
  • Supporting Arabic and English content.
  • Choosing an Arabic font that fits the website's identity.
  • Improving the way code examples are displayed.
  • Connecting articles to practical references and projects.

None of these decisions came from a single prompt to an AI tool.

The idea evolved through defining what I wanted, discussing possible approaches, trying changes, discovering errors, and fixing them.

That is the difference I wanted to highlight.

AI can help build a website, but it should not be the only thing deciding what makes that website worth visiting.

The content, decisions, goals, and the way the experience is presented are what give it an identity.


Conclusion: Use AI, but Never Stop Thinking

Yes, I used AI to build this blog.

And I don't see anything wrong with that.

But I don't believe a project's quality should be measured by how much code was written by a human compared to how much was generated by a tool.

What matters more is the quality of decisions, understanding the system, evaluating the results, and taking responsibility for what gets published.

Don't let AI think for you.

Use it to help you think better, explore options you might not have known about, understand problems, and accelerate implementation.

Learn how to ask questions, review results, test solutions, and reject an unsuitable suggestion even when it looks convincing.

I don't want to build a project that anyone could get by writing a single prompt. I want to use the tools available to build something that reflects my ideas, interests, and the way I think as a software developer.

And to me, that is the best way to use AI.