Repo Visualization Agent

blueprint-technical Repo Visualization

No English README summary found. Start by reading key entry files.

55files scanned
16directories
.jsondominant file type

Architecture Map

Start with the shape before touching code.

File Mix

.json
15
.js
15
.css
5
.md
4
.png
4
.svg
4
.html
3
.ico
2

Top-Level Tree

./.github/workflows/lint.yml
./README.md
./function/README.md
./function/backend/package-lock.json
./function/backend/package.json
./function/eslint.config.js
./function/index.html
./function/package-lock.json
./function/package.json
./function/public/vite.svg
./function/src/app.js
./function/src/index.css
./function/src/index.js
./infra/bin/cdk.json
./infra/bin/index.js
./infra/lib/repo-creator-stack.js
./infra/package-lock.json
./infra/package.json
./package-lock.json
./package.json
./repo-ui/README.md
./repo-ui/package-lock.json
./repo-ui/package.json
./repo-ui/public/favicon.ico
./repo-ui/public/index.html
./repo-ui/public/logo192.png
./repo-ui/public/logo512.png
./repo-ui/public/manifest.json
./repo-ui/public/robots.txt
./repo-ui/src/App.css
./repo-ui/src/App.js
./repo-ui/src/App.test.js
./repo-ui/src/index.css
./repo-ui/src/index.js
./repo-ui/src/logo.svg
./repo-ui/src/reportWebVitals.js
./repo-ui/src/setupTests.js

Agent Reading Order

These files are the first tour stops.

function/backend/frontend/src/index.js

Core execution surface likely to coordinate the main behavior.

18 lines
function/src/index.js

Core execution surface likely to coordinate the main behavior.

39 lines
infra/bin/index.js

Core execution surface likely to coordinate the main behavior.

16 lines
repo-ui/src/index.js

Core execution surface likely to coordinate the main behavior.

12 lines
README.md

Human-facing overview. Read this before touching code.

1 lines
package.json

Node scripts, package metadata, and workflow clues.

7 lines
function/src/app.js

Implementation surface likely to contain core behavior.

45 lines

Guardrails

Where an agent should slow down.

Risk Areas

CI/workflow automation can publish, deploy, or mutate external state.

  • .github/workflows/lint.yml

Safe First Tasks

  1. Read README and agent instruction files before editing.
  2. Run the cheapest available verification command before and after changes.
  3. Start with docs, examples, or tests before touching core implementation.

Exact Code, Plain English

Use real snippets as the trust anchor.

function/backend/frontend/src/index.js:7
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
  <React.StrictMode>
    <App />
  </React.StrictMode>
);

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();
Plain English

This snippet is a likely implementation anchor. Read it with nearby imports and callers before changing it.

function/src/index.js:3
const { Octokit } = require("@octokit/rest");

exports.handler = async (event) => {
  const repoName = event.queryStringParameters?.repo;

  if (!repoName) {
    return {
      statusCode: 400,
      body: JSON.stringify({ error: "Missing 'repo' parameter" }),
    };
  }
Plain English

This snippet is a likely implementation anchor. Read it with nearby imports and callers before changing it.

infra/bin/index.js:2
const cdk = require('aws-cdk-lib');
const { RepoCreatorStack } = require('../lib/repo-creator-stack');

// Create a new CDK app
const app = new cdk.App();

// Instantiate your RepoCreatorStack
new RepoCreatorStack(app, 'RepoCreatorStack', {
  // Uncomment and set env if you want to lock deployment region/account
  // env: { 
  //   account: process.env.CDK_DEFAULT_ACCOUNT, 
  //   region: process.env.CDK_DEFAULT_REGION 
Plain English

This snippet is a likely implementation anchor. Read it with nearby imports and callers before changing it.

repo-ui/src/index.js:6
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
  <React.StrictMode>
    <App />
  </React.StrictMode>
);
Plain English

This snippet is a likely implementation anchor. Read it with nearby imports and callers before changing it.

function/src/app.js:3
function App() {
  const [name, setName] = useState("");
  const [result, setResult] = useState("");

  const createRepo = async () => {
    try {
      const res = await fetch(
        `https://abc123.execute-api.us-east-1.amazonaws.com/prod/create?name=${encodeURIComponent(
          name
        )}`,
        { method: "POST" }
      );
Plain English

This snippet is a likely implementation anchor. Read it with nearby imports and callers before changing it.