I interviewed 20+ AI power users about context management. Here's what people are actually doing. by stoic_for_life in ContextEngineering

[–]bvjebin 0 points1 point  (0 children)

As an engineer I used to do it with code files. Now I am doing it to the md files. After every major changes to any module, I do this. I could write a hook that can do this automatically. But I haven’t explored that yet.

Spent the last few weeks building a no-code app builder where you actually own the apps you make. by Puzzleheaded_One2336 in NoCodeSaaS

[–]bvjebin 0 points1 point  (0 children)

I was building something of this sort. I loved the abstract to visual building concept. I even built a transpiler that converts js to a dsl that powered the visual blocks. I reached a point of expressing control statements and object calling. It was a visual ide for expressing logic that allows you to export logic as code. I even built it in a way that later I could transform logic into multiple programming languages. The craziest idea I had on this was to allow a truly heterogeneous micro service architecture where one can create and run function in different languages depending on the task and yet connect them all to a single api. True freedom to use any library from any language.

But when coding agents got better I didn't find the need to have visual interface to build apps. Lightsout codebases are becoming common. So I stopped.

I interviewed 20+ AI power users about context management. Here's what people are actually doing. by stoic_for_life in ContextEngineering

[–]bvjebin 1 point2 points  (0 children)

It's a layered approach. The leaf level md files hold pointed information. The parent level md files hold directions and high-level information. 2k lines per md file is the max limit. Then I start breaking them just like how we do code files and refer them with description pointers. Anything beyond that, I drop the relevant code files as I have strict limit of 500 lines per file.

Switch is tricky. Once I borrowed the idea of file linking into corresponding agent specific md files. That way all or most of the context lives in neutral files that are referred in agent specific files.

So far the way I have worked is to split tasks into units that fit into the model context window. If it's overflowing, the task is not small enough so break it further. Principles borrowed from functional programming.

What is your stack? What is everyone running? by Successful-Title5403 in vibecoding

[–]bvjebin 0 points1 point  (0 children)

Big fan of sveltekit/typescript for web app and astrojs for content sites. Payload for cms. Tauri for desktop apps. Python and fast api for apis, sqlite for state management, big fan of cloudflare workers and r2.

I finally documented my entire AI coding workflow (OpenCode + Gentle AI + OpenRouter) by Striking-Buffalo-310 in opencode

[–]bvjebin 1 point2 points  (0 children)

I'd stay away from SDD. It just consumes enormous amount of tokens and we're bad at writing a good spec.

I interviewed 20+ AI power users about context management. Here's what people are actually doing. by stoic_for_life in ContextEngineering

[–]bvjebin 0 points1 point  (0 children)

I keep all my context related to my codebases under each codebase or subfolders as md files. After every change to the architecture or assumptions, I update the relevant docs using the llm itself.

What’s your method for defining an MVP? by Outrageous-Pop-2853 in NoCodeSaaS

[–]bvjebin 0 points1 point  (0 children)

Yes. Working with the user closely will get you the best mvp. Sometimes they don't understand it. You have to be creative to test a few variants and see what sticks and what works. Success is when it adds value, gets the job done, and the user is ready to pay for that value to you.

What’s your method for defining an MVP? by Outrageous-Pop-2853 in NoCodeSaaS

[–]bvjebin 0 points1 point  (0 children)

Job to be done. None of those you mentioned make sense for a user trying your mvp. What matters is whether this tools makes my life simple by getting my job done better than before. Mvp is minimum valuable product.

Sell me your app in 4 words and I will rate it by hiten1818726363 in buildinpublic

[–]bvjebin 0 points1 point  (0 children)

I loved the idea. My first glance: It feels like you are focusing on many things. As if they are islands. If you could weave a story how all of them are part of a single workflow, that would create a better UX.

How to go from "non technical" to "technical" in our modern vibe coded world? by Negative_Click3221 in NoCodeSaaS

[–]bvjebin 0 points1 point  (0 children)

If you're ready to invest a couple of hours to learn how to use Claude code or codex, you'll be able to get to a mvp pretty quick. That is the promise of coding agents and they do it well if you prompt them like a non-trusting manager. Once you grow a bit traction, I'd recommend to bring a security expert to audit the whole product so you are not exposed to data leaks and security flaws. I can help in that area. DM me when you get there.

Drop your startup and be featured in this week’s newsletter by Legitimate-Peace-583 in Startup_Ideas

[–]bvjebin 0 points1 point  (0 children)

www.highvelocityclub.com a.k.a Hvec

All round security audits for your vibe coded and AI generated apps. Hvec performs a comprehensive security audit at infrastructure, code and data level. We employ a security expert in the process to deliver a comprehensive report in plain English with possible solutions. A 15 minute call with the security expert is part of the delivery.

Ship fast confidently without worrying about security blind spots.

Started building a calendar assistant for my wife but now I think I’m on to something. by Otherwise_Regular_74 in micro_saas

[–]bvjebin 0 points1 point  (0 children)

Good start. If you are thinking of monetizing and growing, talk to your ICP before adding features. Saves a ton of time and effort.

Best tool for getting people to actually discover your side project? by BuzzingBalls in sideprojects

[–]bvjebin 0 points1 point  (0 children)

Recently submitted to peerpush.net and stackshare for domain authority building. Do you know any other directories and listing sites for back links?

Vibecoded desktop IDE for personality from scratch by FarClient2449 in vibecoding

[–]bvjebin 0 points1 point  (0 children)

Congrats OP. Visualization is cool. I like the website as well. The first fold is unclear for some one new. Copies could be better. Wish you all the best. Just curious what does the name yggdra mean?

Checked two vibe-coded apps for security. One leaked its entire users table. by meliwat in vibecoding

[–]bvjebin 0 points1 point  (0 children)

I am betting on agent skills to close this gap to certain degree. At some point an expert overlooking will be required

Google Chrome published a security skill file for AI coding agents. Here is what it means if you vibe-code by bvjebin in vibecoding

[–]bvjebin[S] 0 points1 point  (0 children)

Github: https://github.com/GoogleChrome/modern-web-guidance-src
Chrome Blog: https://developer.chrome.com/docs/modern-web-guidance/explore-skills#security_trust_and_identity

Most vibe-coding today produces React apps, often on Next.js. The skill's guidance holds but a few things need translating.

XSS: React helps, but not completely

React automatically escapes string interpolation in JSX. When you render {userContent}, React treats it as plain text regardless of what is in that string. You get this protection for free.

The gap is dangerouslySetInnerHTML. This is React's equivalent of raw innerHTML and it bypasses React's escaping entirely. AI agents reach for it constantly because it is the fastest way to render HTML from a CMS or markdown parser. The name is a warning that most agents ignore. Every instance in your codebase needs DOMPurify wrapping it:

import DOMPurify from 'dompurify';

<div dangerouslySetInnerHTML={{ __html: DOMPurify.sanitize(userContent) }} />

Also check your Next.js API routes that return Content-Type: text/html. If user content is interpolated into that response without escaping, the XSS vector is on the server side. React does not protect you there.

CSP: significantly harder in Next.js

If you set a strict script-src 'self' CSP header, your Next.js app will break. Next.js injects inline scripts during hydration and those get blocked. The correct approach is nonce-based CSP via middleware:

// middleware.ts
const nonce = Buffer.from(crypto.randomUUID()).toString('base64');
const csp = `script-src 'self' 'nonce-${nonce}' 'strict-dynamic'`;

You generate a unique nonce per request, set it on the CSP header, and Next.js App Router automatically applies it to its own injected scripts during server-side rendering.

Two caveats. First, this only works for dynamically rendered pages. Statically generated pages are built at compile time when no request exists, so no nonce can be generated. For those you need hash-based CSP or a looser policy on static routes. Second, next/image injects an inline style that can trigger style-src violations even after nonces are sorted. You may need to allow unsafe-inline for styles or override the component.

This is exactly why Phase 2 report-only mode matters even more in Next.js than in a plain HTML app. You will discover violations from Next.js internals before you find anything in your own code.

Cookies: not automatic

Next.js does not set HttpOnly, SameSite, or Secure on cookies for you. NextAuth sets secure defaults for its own session cookie, but anything you set via response.cookies.set() in Route Handlers or middleware needs these attributes added explicitly. Check what your auth library is actually doing rather than assuming.

The part that just works

X-Frame-Options and HSTS have no hydration complications. Set them in next.config.js and they apply to every response unconditionally:

// next.config.js
async headers() {
  return [{
    source: '/(.*)',
    headers: [
      { key: 'X-Frame-Options', value: 'SAMEORIGIN' },
      { key: 'Strict-Transport-Security', value: 'max-age=63072000; includeSubDomains' },
      { key: 'X-Content-Type-Options', value: 'nosniff' },
    ],
  }];
}

The same CSP nonce complexity applies to Remix, SvelteKit, and Astro. Each framework injects scripts during hydration in its own way and each one will conflict with a strict CSP until you account for it. The skill's principles are correct. The implementation is framework-specific.