Skip to content

Split the README into a user guide and AGENTS.md - #40

Merged
aragners merged 1 commit into
intel:mainfrom
aragners:smaller-readme
Nov 26, 2026
Merged

aragners merged 1 commit into
intel:mainfrom
aragners:smaller-readme

Conversation

@aragners

Copy link
Copy Markdown
Contributor

The README had grown to over 800 lines. Most of it explained how the extension works inside, which made it hard for users to find how to install, start and configure it. It is also the extension's Marketplace page.

The README now covers only what users need. The source layout, the DAP to TCF mapping and the details of each feature move to AGENTS.md, which coding agents read by default and developers can read too. It also lists the build commands and the conventions of the repo.

@aragners
aragners requested a review from a team as a code owner November 26, 2026 09:48
Comment thread README.md Outdated
Comment on lines +22 to +23
Build a `.vsix` as described in [Building](#building), then in VS Code run
**Extensions: Install from VSIX...** and select the generated file.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a note (nothing to do now): Eventually we'll change this to just point to the extension marketplace and move this to the "Development" section (called ## Building below). Looks good for now.

Comment thread AGENTS.md Outdated

## Commands

Requirements: Node.js (>= 20) and npm.

@emanuelen5 emanuelen5 Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI, we only test with Node.js v24 in CI. And v24 is the version I run locally, at least. So not sure if this is correct anymore.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll update it to say 24.

Comment thread AGENTS.md Resolved
Comment thread README.md Outdated
Comment on lines +177 to +180
## Contributing

See [CONTRIBUTING.md](CONTRIBUTING.md). Build and test with `npm run build`
and `npm run check`; [AGENTS.md](AGENTS.md) describes the implementation.

@emanuelen5 emanuelen5 Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can remove this section from the README. The contribution guidelines are clearly visible from the front page of the repo.

image

Comment thread README.md
Comment on lines 29 to 36
```sh
npm ci # install dependencies from package-lock.json
npm run build # type check and bundle the extension into out/
npm run check # type check and run the unit tests
npm run package # build and package simics-target-debug-<version>.vsix
npm ci # install dependencies
npm run build # type check and bundle the extension
npm run check # type check and run unit tests
npm run watch # rebuild on changes
npm run compile:production # minified bundle without source maps
npm run package # create a .vsix file
```

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's enough for a user to run

npm ci
npm run package

after a user has cloned the repo for the first time.

The rest is really just development documentation, which you can get help from the AI to understand instead.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, this section (## Building) is about development. I'd move that to the end of the README (after "Contributing" is now). Most people will probably want to use the extension rather than start building it, and read about its features.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But right now, before we provide a binary or add it to marketplace, users will have to build it in order to use it.
I agree with minimizing the amount of npm commands shown.

Comment thread README.md Outdated
Comment on lines +22 to +23
Build a `.vsix` as described in [Building](#building), then in VS Code run
**Extensions: Install from VSIX...** and select the generated file.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would change this section so it it doesn't need to point to another section. I think that is easier to read:

Suggested change
Build a `.vsix` as described in [Building](#building), then in VS Code run
**Extensions: Install from VSIX...** and select the generated file.
Build the `.vsix` by running
```sh
npm ci
npm run package
```
Then in VS Code run
**Extensions: Install from VSIX...** and select the generated file.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I do this I can disregard the comment above about moving development last, right? Building is part of Installation until we can provide a package.

The README had grown to over 800 lines. Most of it explained how the
extension works inside, which made it hard for users to find how to
install, start and configure it. It is also the extension's
Marketplace page.

The README now covers only what users need. The source layout, the
DAP to TCF mapping and the details of each feature move to AGENTS.md,
which coding agents read by default and developers can read too. It
also lists the build commands and the conventions of the repo.

Signed-off-by: Andreas Ragnerstam <andreas.ragnerstam@intel.com>

@emanuelen5 emanuelen5 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks!

@aragners
aragners merged commit bf48b77 into intel:main Nov 26, 2026
5 checks passed
@aragners
aragners deleted the smaller-readme branch November 26, 2026 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants