Overview
Ask Claude Code to build a small native macOS app that opens Markdown files read-only, keeping start-up quick by limiting features and measuring launch time after each change.
Problem or Objective
More in Coding and Code Review
AI Agents and Models
Tools and Integrations
- Tools
- Claude Code · Git
- Prerequisites
- A Mac with Apple's developer tools installed and Claude Code with a plan or API key.
How It Works
Install Claude Code and Apple's developer tools, then start in an empty Git repository. Describe the app in plain language: a read-only viewer that opens .md files from Finder or the command line, renders headings, lists, tables, code blocks and images, follows the system light or dark appearance, and reloads when the file changes on disk. Ask Claude to propose the project structure and the rendering approach before writing code, including any third-party library and its licence. Have it write a small script that measures launch time for a sample file and run it after each change, so you can see which features slow start-up. Let Claude build, run the tests and fix compile errors, and review each set of file changes before you commit. Finish by asking it to register the app for the .md file type and to write a short README with build steps.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Claude Code.
- Connect the toolsConnect the tools this workflow relies on: Claude Code, Git.
- Check the prerequisitesA Mac with Apple's developer tools installed and Claude Code with a plan or API key.
- Gather your detailsCollect what the prompt asks for: App name, Markdown elements to support, Sample file for timing, Launch time target.
- Run the starter promptPaste the starter prompt below into Claude Code and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at code.claude.com before you rely on it.
Practical Starter Prompt: Build a read-only Markdown viewer for my Mac
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Build a native macOS app called [App name] that opens Markdown files read-only. It must render [Markdown elements to support], follow the system appearance and reload when the file changes. Before writing code, propose the project structure and rendering approach, including any library and its licence, and wait for my approval. Add a script that measures launch time with [Sample file for timing] and run it after each change. Keep launch under [Launch time target] on my machine, escape raw HTML in documents, and show me the changes for review before each commit.Approve the proposed structure and library before Claude writes code, review each set of changes before committing, and rerun the launch-time script yourself on a cold start.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. Anthropic's Claude Code overview says it reads your codebase, edits files, runs commands and helps you build features from plain-language descriptions, and the README describes it as an agentic coding tool in the terminal. The pages do not mention macOS apps or Markdown rendering, and Apple's tools and any library you choose were not verified here, so start-up speed depends on your design choices and measurements.
Limitations and Considerations
Rendering Markdown with embedded web content can run scripts from a file; ask for HTML in documents to be escaped or sanitised and keep the viewer read-only. Check the licence of any Markdown library before you distribute the app. Building and signing a Mac app needs Apple's developer tools, and distributing it outside your own machine may need an Apple developer account; check the current requirements. Measure launch time the same way each time, with the same sample file, before trusting any improvement. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
AI Agent Repository
Source code of the agent that does the work.
Official Website
The official site of the main tool or project in this use case.
Visit Website (opens in a new tab)code.claude.com
Related Videos
About anthropics/claude-code
The SECRET Claude Code Upgrade That Has Everyone Going Nuts (Full Guide) (opens in a new tab)
The title names the project, the description links the project website.
Watch on YouTube (opens in a new tab)About anthropics/claude-code
The only Claude Code guide you'll ever need (Opus 4.5) (opens in a new tab)
The title names the project, the description links the project website.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- Overview - Claude Code Docs (opens in a new tab)
Project documentation · code.claude.com · Undated · Source checked 25 Nov 2026, 11:57 UTC
What this source supports
- Claude Code is an agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools.
- Claude Code helps you build features, fix bugs, and automate development tasks; describe what you want in plain language.
- anthropics/claude-code README (opens in a new tab)
Project documentation · github.com · Undated · Source checked 25 Nov 2026, 11:59 UTC
What this source supports
- Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows through natural language commands.

