answer
AGENTS.md16k starsChanged 15 months agoApache-2.0View on GitHub
Apache Answer combines a Go backend with a React/TypeScript frontend. cmd/answer is the executable entry point; internal/ contains controllers, services, repositories, schemas, and migrations. Shared Go utilities live in pkg/, and extension interfaces live in plugin/. Frontend pages, components, stores, and API clients are under ui/src/; static assets are in ui/public/, and production output is embedded from ui/build/. Translations live in i18n/, configuration examples in configs/, and deployment resources in charts/. Go tests generally sit beside their implementation; repository integration…
- Reads credentials
Trending
Quiet since July.thin dataabout the whole repository
Who's talking about apache/answer
- invopop/jsonschema“Consider removing easyjson dependency due to security risks”GitHub · Dec 4, 2025 · 4 reactions
- @technews4869.bsky.social“github.com/apache/a... GitHub - apache/answer: A Q&A platform software for teams at any scales. Whether …”Bluesky · Jan 11, 2025 · 2 likes
- @golangoss.bsky.social“answer (⭐️ 15596) A Q&A platform software for teams at any scales. Whether it's a community forum, help …”Bluesky · Jul 14, 2026 · 1 likes
- @golangoss.bsky.social“answer (⭐️ 15524) A Q&A platform software for teams at any scales. Whether it's a community forum, help …”Bluesky · May 28, 2026 · 1 likes
- HumanSecurity/marshmallow“Consider removing easyjson dependency due to security risks”GitHub · Nov 10, 2025 · 1 reactions
The biggest 5 of 9 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 9
Talked about on GitHub and Bluesky (9 times).
On GitHub · 5
- Dec 4, 2025Consider removing easyjson dependency due to security risks — invopop/jsonschema4 reactions · 1 comment
- Nov 10, 2025Consider removing easyjson dependency due to security risks — HumanSecurity/marshmallow1 reaction · 2 comments
- May 10, 2025docs(cmd): align command usage with v1.5.1 — apache/answer-website1 reaction
- May 6, 2025Update docs of command usage statements. — apache/answer-website1 reaction
- Apr 12, 2026Feature: support memory vector search plugin — apache/answer-plugins0 reactions
On Bluesky · 4
- Jan 11, 2025github.com/apache/a... GitHub - apache/answer: A Q&A platform software for teams at any scales. Whether it's a community forum, help… — @technews4869.bsky.social2 likes and reposts
- Jul 14, 2026answer (⭐️ 15596) A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management… — @golangoss.bsky.social1 likes and repost
- May 28, 2026answer (⭐️ 15524) A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management… — @golangoss.bsky.social1 likes and repost
- Jan 12, 2025A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can… — @charmalloc.bsky.social1 likes and repost
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,196 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
The file
We split this AGENTS.md into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
Use Go 1.25+, Node.js matching ui/package.json (^20.19.0 || >=22.12.0), and pnpm 9.7.0.
- Very specific: line 15
Before cd ui && pnpm start (Vite, port 3000), set REACT_APP_API_URL=http://localhost:8080/ in ui/.env.development.local, matching your …
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Repository Guidelines
Project Structure & Module Organization
Apache Answer combines a Go backend with a React/TypeScript frontend. cmd/answer is the executable entry point; internal/ contains controllers, services, repositories, schemas, and migrations. Shared Go utilities live in pkg/, and extension interfaces live in plugin/. Frontend pages, components, stores, and API clients are under ui/src/; static assets are in ui/public/, and production output is embedded from ui/build/. Translations live in i18n/, configuration examples in configs/, and deployment resources in charts/. Go tests generally sit beside their implementation; repository integration tests live in internal/repo/repo_test/.
Build, Test, and Development Commands
Use Go 1.25+, Node.js matching ui/package.json (^20.19.0 || >=22.12.0), and pnpm 9.7.0. make lint also requires Docker or Podman installed and running for the ASF header formatter.
make generate: install generators, regenerate Go code/API documentation, and tidy modules.make ui: install frontend dependencies and build the UI.make build: regenerate code and build theanswerexecutable../answer init -C ./datathen./answer run -C ./data: initialize and run locally.- Before
cd ui && pnpm start(Vite, port 3000), setREACT_APP_API_URL=http://localhost:8080/inui/.env.development.local, matching your backend address. This overrides the checked-in private proxy target; restart Vite after changes. make test: run repository integration tests.go test ./...: run the full Go test suite.make lint: regenerate code, check ASF headers, and run golangci-lint.cd ui && pnpm lint: run ESLint with automatic fixes;pnpm prettierformats frontend sources.
Coding Style & Naming Conventions
Format Go with gofmt; use tabs and conventional exported PascalCase names. Follow existing snake_case Go filenames and package organization. Frontend code uses two spaces, single quotes, trailing commas, and an 80-column Prettier target. Use PascalCase component directories and follow neighboring files. Respect .editorconfig, ESLint, and ASF license headers. Regenerate generated files through tooling rather than editing them manually.
Testing Guidelines
Use Go's testing package and existing Testify assertions. Name files *_test.go and functions TestXxx. Add regression coverage for changed behavior. Repository tests default to SQLite; MySQL/PostgreSQL variants use TEST_DB_DRIVER and Docker. No fixed coverage threshold or frontend test script is configured; verify UI changes with pnpm build and browser checks.
Commit & Pull Request Guidelines
Follow history's conventional prefixes: fix:, feat:, build:, test:, or chore:, with optional scope, such as fix(security): enforce visibility. Keep commits focused. Follow the PR template: link the issue with Fixes #... and describe proposed changes. Include validation results and screenshots for visible UI changes. Review generated changes before committing; CI checks linting and unexpected generated diffs.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

