Thanks for your interest in contributing! This guide covers how to set up the project and submit changes.
- Node.js 24+
- pnpm 10+
git clone https://github.com/santoshyadavdev/angular-devtools.git
cd angular-devtools
pnpm installapp/ # Devtools UI SPA (Angular + Vite)
src/app.ts # Root component with tab navigation
src/pages/ # Dashboard, Components, Routes, Signals, Injectors
vite.config.ts # Vite config with Analog Angular plugin
packages/
ng-devtools/ # Publishable npm package
src/devframe.ts # defineDevframe() — tool definition
src/overlay.ts # Client script running in user's page
src/rpc/ # Node-side RPC functions
ng-devtools-assets/ # Built SPA assets package
extension/ # Chrome DevTools extension
src/ # Angular host app (demo/playground)
# Devtools UI with live RPC
pnpm devtools:dev
# Build the devtools SPA
pnpm devtools:build
# Run the Angular host app
pnpm start
# Build Chrome extension
pnpm extension:build- Create the function in
packages/ng-devtools/src/rpc/ - Register it in
packages/ng-devtools/src/devframe.ts - Call it from the UI in
app/src/pages/
- Create a component in
app/src/pages/ - Import and add it to
app/src/app.ts(imports array, tabs array, template switch) - Add a card to
app/src/pages/dashboard.ts
Add agent: { description } to any RPC function, or use ctx.agent.registerTool() in the devframe setup.
- Follow the conventions in
AGENTS.md - Use
signal(),computed(),input(),output()— not decorators - Use
@if/@for/@switchcontrol flow — not structural directives - Keep components small with inline templates where practical
pnpm test- Fork and create a branch from
main - Make your changes
- Verify
pnpm devtools:buildsucceeds - Test with
pnpm devtools:dev - Open a PR against
main