Skip to content

Docs/documentation standard compliance - #204

Open
MGibson1 wants to merge 4 commits into
mainfrom
docs/documentation-standard-compliance
Open

MGibson1 wants to merge 4 commits into
mainfrom
docs/documentation-standard-compliance

Conversation

@MGibson1

@MGibson1 MGibson1 commented Aug 4, 2026 •

Copy link
Copy Markdown
Member

📔 Objective

Ensure compliance with new README requirements from the get-go. (see documentation standards PR)

This repository is only responsible for initializing repositories in a good state, so the actual long-term requirements of READMEs are kept in contributing-docs

A created repo should not ship a README about
being a template, so the file is now the skeleton that new repos start
from: what the repo is, a Getting started section linking the
contributing site, a Structure map for monorepos, and Related
repositories.

Commenting decisions were made based on what is true of an initialized repository. Git hooks remain rendered, but instructions on updating linters do not
@github-actions

github-actions Bot commented Aug 5, 2026 •

Copy link
Copy Markdown

🤖 Bitwarden Claude Code Review

Overall Assessment: APPROVE

This PR rewrites README.md and .claude/CLAUDE.md into skeletons that follow the documentation standard. Each file carries a template-guidance comment to delete when a new repo is set up. The existing Git hooks instructions stay, and the linter-customization notes move into an HTML comment. The changed Claude configuration was scanned for credentials and committed local settings and is clean; both earlier review threads are resolved, and no new findings came up.

Comment thread .claude/CLAUDE.md

@withinfocus withinfocus 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.

You have a bold set of expectations for the Claude instructions but the init plugin should cover us.

@withinfocus

Copy link
Copy Markdown
Contributor

What's the latest here?

@MGibson1
MGibson1 marked this pull request as ready for review October 15, 2026 19:12
@MGibson1
MGibson1 requested review from a team as code owners October 15, 2026 19:12
@MGibson1

Copy link
Copy Markdown
Member Author

Those expectations were pulled from the linked confluence doc. Doing it this way allows us to remove confluence read requirements from automated initial documentation.

I don't see anything in here I'd like to change, this was draft waiting on plugins to update and those are now moving again. I'm comfortable moving this forward again, now.

@MGibson1
MGibson1 enabled auto-merge (squash) October 15, 2026 20:18
@github-actions

github-actions Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Claude Code validation

Result: Pass

Reviewed the one changed Claude file, .claude/CLAUDE.md, from the PR-head snapshot in .claude-pr/. The security scan is clean — no credentials, sensitive paths, or directives that loosen the harness — and the guidance comment addresses the human customizing the repo rather than attempting to direct this review. The previous round's finding (a pointer to a non-existent .claude/CONTRIBUTING.md) no longer appears at the head, and nothing new cleared the filter; the empty section headings are deliberate placeholders for bitwarden-init, not missing content.

Not covered: The external link on line 8 (github.com/bitwarden/ai-plugins/.../bitwarden-init) and its claim that the listed headings are the exact ones that plugin requires could not be verified — WebFetch was not permitted in this run. The on-disk reference and import checks did run and found nothing dangling.

Comment thread .claude/CLAUDE.md Outdated
Comment thread .claude/CLAUDE.md Outdated
@MGibson1
MGibson1 requested a review from withinfocus October 15, 2026 20:56
Comment thread .claude/CLAUDE.md

@SaintPatrck SaintPatrck Oct 16, 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.

💭 Some of these sections don't look like they'd meet the "information Claude always needs in every session" bar. We intentionally ask that CLAUDE.md be lean so that we don't introduce unnecessary context into every session. They're asking for details that are better suited as Skills or Rules.

Where documentation lives contradicts what the template is requiring, primarily because it "gives a second home" to much of what it's asking for. Some explicitly called out in the contributing docs.

A quick scan of bitwarden-init does not route anything to Rules or Skills, so everything gets dumped here. It doesn't appear to look for or respect README or any other docs/ that may exist and no instructions to not duplicate them in CLAUDE.md. I've not personally run bitwarden-init on any repos, and none of our existing ones appear to have used it either. If it's not updated to align with our documentation standards, I'm hesitant to suggest using this. It's just going to create tech-debt that someone has to cleanup.

In a new repo, would bitwarden-init even produce anything of value until a meaningful amount of source code is present. Someone using this template has no guidance on when to run bitwarden-init to get value from it.

@SaintPatrck SaintPatrck Oct 16, 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 was able to find a few repos that used the template, and they mostly validate my concerns. Repeating documentation that has drifted, instructions that are clearly task-specific, and rules that only apply to specific files/paths. Several are pretty long too, ranging from 700 to 1500 lines, and were never reviewed by the AI team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-review Request a Claude code review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants