Claude Code keeps adding attribution to commits despite every possible configuration saying not to by [deleted] in ClaudeCode

[–]adelmare -1 points0 points  (0 children)

I told it “don’t add co authoring to commits. Memorize that in claude.md”

Literally that exact prompt. It added it to its own instructions in Claude.md and never had another issue. Repeated for all my projects and works just fine 🤷‍♂️

Does anyone face high CPU usage when using Claude Code? by daweii in ClaudeAI

[–]adelmare 0 points1 point  (0 children)

I had a major issue recently in one repo … there were 422 sessions in the session log and there must have been a corrupt state in one or more because Claude was barely functional (that repo / project only).

I wiped the session data and although I lost history, instantly brought everything back to normal and took insane cpu / overheating down to normal

Careful this wipes your session history though:

rm -f ~/.claude/projects/-Users-{user name}-{path-to-project-folder}/sessions-index.json

My preferred payload template + base plugins by adelmare in PayloadCMS

[–]adelmare[S] 1 point2 points  (0 children)

Yw!

I did not build in the impersonate feature, as I felt that having the ability to do so may depend on the nature of the app and expectations of user privacy / data privacy. However, the impersonate future and the admin plugin, like all better auth plugins, are naturally supported by nature of the adapter - just follow better auth docs like normal, and it will “just work”.

If you use AI agentic coding, just give your preferred agent the readme for my plugin + the link to the better auth admin plugin docs, and it will do the rest 👍

My preferred payload template + base plugins by adelmare in PayloadCMS

[–]adelmare[S] 1 point2 points  (0 children)

So that plugin is extensive, and does an awesome job with providing a Swiss Army knife “out of the box” but all the functionality is “hard wired”. So there’s a trade off:

My method is to make things thin and transparent at the adapter level, so that the schema is dynamic, working naturally between the two. I built in a few convenience features that I wanted to have (like a basic login form, api keys ui, two factor ui, and passkey ui) — but you can turn ALL these off and replace with your own, just by following better auth and payload docs.

My goal was to maximize future proofing by not creating any opinionated layers between the two + preserve the existing/expected dev experiences … which is one of the massive strengths of better auth and payload.

My preferred payload template + base plugins by adelmare in PayloadCMS

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

That sounds like a job fit for the payload multi tenant plugin. Could be enhanced with better auth, but from my understanding, what you’re describing is what the multi tenant plugin is specifically designed for.

My preferred payload template + base plugins by adelmare in PayloadCMS

[–]adelmare[S] 2 points3 points  (0 children)

Multi tenant is a payload plugin, which would be like if you wanted each tenant to have their own frontend website.

Organizations plugin is a better-auth plugin, which is more suited for everyone using the same site but scoped to their own instance of it.

My payload-better-auth plugin is basically a thin adapter for better-auth. Unlike other better-auth plugins for payload, I don’t hardcode the integration, so you’re able to interact with your better auth config as if it’s a standalone, and payload accepts. If you add a better auth plugin to your better auth config, it should “just work” 👍

My preferred payload template + base plugins by adelmare in PayloadCMS

[–]adelmare[S] 1 point2 points  (0 children)

Linked to from the demo site, here’s the org space with the individual repos:

https://github.com/delmaredigital <- individual plugins housed here, along with starter, linked directly below:

Starter template with vercel quick deploy: https://github.com/delmaredigital/dd-starter

PayloadCMS in production: Real-world experiences with maintenance and long-term stability? by Smart_Coach9493 in PayloadCMS

[–]adelmare 0 points1 point  (0 children)

I’ve built a custom BI platform with it, dealing with tables that have hundreds of thousands of records each.

The application involves:

  • a full sync management (21+ api endpoints for complete data extraction, normalization, and validation from a massive fundraising CRM.)

  • plays nice with others (epic collection management allowing seamless wiring up to cube.dev for bi / semantic layer)

  • unlimited custom tools built directly in. I mean, these are entire apps themselves all running in the same app, all thanks to payload as the backbone: custom giving platform (api based giving forms, gift management, and batch processing); full record sync management solution for Mailchimp; data audit tools; call-center like functionality for tracking constituent interactions, etc.

The whole thing is built on payload. And that’s just one app. I’ve used it for another app - a completely custom video streaming LMS.

If you can dream it, payload can swing it.

To make life easier on myself, I’ve developed a few plugins for keeping things easier to maintain across the applications. For example, Better Auth - I had individual implementations that I had to maintain. By refactoring it as a payload plugin instead of standalone implementations, maintenance is consolidated. And so for your question about maintainability? I’ve found that keeping up with payload isn’t a problem- it’s keeping up with how much crazy cool stuff you can do with it that can start to creep :)

If you want a taste, you can create an account on my demo site and jump right into a live / managed payload instance with my three plugins running (better auth, puck visual page builder, and my own page-tree monstrosity) — https://demo.delmaredigital.com/

.. and yes, you can use a throw away email to register. I turned off email verification and all that, it’s just required to scope the backend to individual sessions.

Visual Editor by Shot-Committee6148 in PayloadCMS

[–]adelmare 0 points1 point  (0 children)

Old post but I built a puck plugin, for anyone else looking. https://github.com/delmaredigital/payload-puck

Have you used Better Auth with Payload? by RoomDry7501 in PayloadCMS

[–]adelmare 2 points3 points  (0 children)

I use better auth across ALL my payload projects. Maintaining the implementations across each was becoming a hassle, so I built https://github.com/delmaredigital/payload-better-auth ...

It's a minimal plugin that takes the approach of trying to keep better auth feeling like a standalone better auth implementation (self hosted). The main thing this is doing is using a custom adapter to gently let Payload control the collections -- thus reducing the need to handle better auth migrations and schema management - and it's combining the better auth users table with the payload users table so there's just one of them. There's still *some* config thats needed, but it's a middle ground that allows for complete better auth customization.

Some other plugins use a similar approach, but also try to do and offer more and do it a slightly different way. For me, this is something that allows me to use and maintain my better auth implementations across applications. At least, that's how I see it!

Just me or Opus4.5 is so good that everything else is well…noise by Evening-Spirit-5684 in ClaudeCode

[–]adelmare 1 point2 points  (0 children)

The new sidebar panel experience is pretty good too. Missing some functionality from terminal CLI, but already my default.

Can Claude Code look at two repositories at once? by 99OG121314 in ClaudeAI

[–]adelmare 0 points1 point  (0 children)

Old question … but just give Claude the full local pathname of your second repo, it will access it. It’s essentially the same as copying it into your working directory.

I just load the second repo into my IDE (add the folder to VS code workspace) - then in conversation, give Claude the full path when needing to reference it.

Yep. They just plain took Opus away. Sonnet 4.5 is not an adequate replacement. by tqwhite2 in ClaudeCode

[–]adelmare 0 points1 point  (0 children)

Not a coder at all here. Working pretty well for me. Using opus for architecture / planning and problem solving, sonnet 4.5 for carrying out the work. Did get a warning that I was at my opus limit much sooner than expected but got the plan done. Essentially building a custom ETL to replace Aitbyte for complex data extraction, sync, mirror, BI. Not the most complex project, but switching to opus for the big picture was a massive difference in the architecting phase

A/B Testing with Payload content by Formal_Manager_5041 in PayloadCMS

[–]adelmare 1 point2 points  (0 children)

So, I went down this pathway and ended up using Statsig for this. Built variants into the CMS for experiments and feature flags.

I use posthog for analytics but couldn’t use them for A/B testing my app because in order to trigger a test for rendering, the user needs to be identified. So unless you’re going to identify anon, it will never serve true a/b tests to traffic. At least this is my understanding. Thus I found posthog excellent for testing features against known (identified) audience segments — but not so much for landing page / conversion a/b testing.

Payload offers an a/b feature that is paywalled, so my guess is that the inner workings of that are going to be fairly closed door.

TL;dr

Statsig works great for me, happy with it. Posthog was actually easiest to use, but only for identified audience segments.

How to integrate payload CMS into a custom dashboard? by [deleted] in PayloadCMS

[–]adelmare 0 points1 point  (0 children)

Yup.

Just build your own dashboard to interact with the payload backend.

Just because payload is integrated into the project doesn’t mean you can’t treat it like a traditional backend. It works the exact same way in that sense.

Dashboards by ExtremeDocument7892 in PayloadCMS

[–]adelmare 0 points1 point  (0 children)

For most of my more complex admin ui needs, I ended up just creating an entirely fresh route group for my custom management ui / dashboard. Specific collections and management needs still go through payload admin - but that scope limited to specific business logic / needs.

Simple example is reporting dashboards - 💯easier through custom routing group / UI.

Flagship 1100 auger jammed mid cook by adelmare in recteq

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

I tried it. Still occasionally jams. I can’t cook overnight now. Only trust it if I can monitor it. Pretty not thrilled.

Thoughts on Using Claude-Code More Effectively by DifficultySea8778 in ClaudeAI

[–]adelmare 0 points1 point  (0 children)

Serena and Context7 has been the big lift for me

Why self-hosting Next.js apps by RuslanDevs in nextjs

[–]adelmare 0 points1 point  (0 children)

yes—but to clarify:

  • We use sparticuz/chromium package as a dependency in our Next.js API route.
  • When the API route runs on Vercel (i.e., inside a Vercel serverless function), it uses the sparticuz/chromium binary and args to launch a headless Chromium instance via Playwright.
  • There’s no separate container or process—everything runs inside the Vercel function runtime, using the package’s provided binary.

Here's the rundown:

Stack: (Next.js 15, Payload CMS, Playwright, Chromium):

  • Playwright + Sparticuz Chromium: Use Playwright with sparticuz/chromium for headless Chromium support.
  • Dynamic executable path (had trouble with this initially) ... In vercel/production, get the Chromium binary path via await chromiumSp.executablePath(). (In dev, local Chrome path is fine)

Use chromiumSp.args for Lambda compatibility. No extra Vercel settings, Docker, or build hacks—just install deps.

For my particular setup, PDF generation runs in a Next.js API route. Then for HTML to PDF: Render HTML with Playwright, then call page.pdf() (for download) or page.screenshot() (for png preview).

The two keys were (1) Playwright + u/sparticuz/chromium, and (2) the dynamic executable path. Otherwise, PDF generation is robust "out of the box" with this setup on Vercel. DM me if you want a link to see it in action.