agentleFS
JetBrainsKnown publisherJetBrains/teamcity-documentation/CLAUDE.md

teamcity-documentation

CLAUDE.md29 starsChanged 9 months agoApache-2.0View on GitHub

Source for the TeamCity Help site, built with JetBrains Writerside. There are two published documentation instances that share the same topics/ source: Build runs through the JetBrains Writerside IDE plugin or the Writerside build tool. The build configuration is in cfg/build-script.xml. There is no local CLI build command for this project — previews and validation happen inside the Writerside IDE plugin (IntelliJ-based). Topics are Markdown files with Writerside extensions. Every topic must start with: Cross-references use the bare topic filename…

  • In this repositoryOne other file it gives its agents.

The file

We split this CLAUDE.md into the rules it gives an agent

4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    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
  1. Distinctive:

    When content differs between On-Premises and Cloud, add the instance filter immediately after the paragraph or element:

    line 54
  2. Very specific:

    Place images in images/. Reference them by filename only (no path prefix).

    line 76
  3. Very specific:

    When renaming or moving a topic, add a <rule> to redirection-rules.xml pointing old URLs to the new topic's accepts-web-file-names-ref or …

    line 80
  4. Distinctive:

    Avoid: "please", "simply", "a.k.a", "in question"

    line 98

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

What this repo is

Source for the TeamCity Help site, built with JetBrains Writerside. There are two published documentation instances that share the same topics/ source:

  • tc — TeamCity On-Premises (tc.tree, web path /teamcity/2026.3/)
  • tcc — TeamCity Cloud (tcc.tree, web path /teamcity/cloud/2026.3/)

Building

Build runs through the JetBrains Writerside IDE plugin or the Writerside build tool. The build configuration is in cfg/build-script.xml. There is no local CLI build command for this project — previews and validation happen inside the Writerside IDE plugin (IntelliJ-based).

Project structure

PathPurpose
topics/All documentation source files (.md and .topic)
images/Screenshots and static images referenced by topics
media/Videos and animated assets
tc.treeTOC/navigation for TeamCity On-Premises
tcc.treeTOC/navigation for TeamCity Cloud
writerside.cfgWriterside project root config (instances, vars, dirs)
v.listReusable text variables (e.g. product-version)
c.listCategory definitions
g.listTag definitions
labels.listLabel definitions
stylechecks.xmlEnforced terminology rules
redirection-rules.xmlURL redirect mappings for renamed/moved pages
cfg/Build scripts and auxiliary config

Authoring topics

File format

Topics are Markdown files with Writerside extensions. Every topic must start with:

[//]: # (title: Page Title)
[//]: # (help-id: Optional Help ID)

Cross-references use the bare topic filename (no path, no extension needed for the title):

See [](other-topic.md) for details.
[Custom link text](other-topic.md)

Instance-specific content

When content differs between On-Premises and Cloud, add the instance filter immediately after the paragraph or element:

This sentence applies only to on-premises.
{instance="tc"}

This one applies only to cloud.
{instance="tcc"}

Omitting {instance=...} means the content appears in both.

Navigation trees

To make a new topic visible, add a <toc-element> entry to tc.tree and/or tcc.tree. Topics not in any tree are unreachable from the published site even if they compile.

Variables

Reference variables defined in v.list as %variable-name%. The current product version variable is product-version (currently 2026.3).

Images

Place images in images/. Reference them by filename only (no path prefix). Dark-mode variants follow the naming convention filename_dark.png and are automatically switched by Writerside.

Redirects

When renaming or moving a topic, add a <rule> to redirection-rules.xml pointing old URLs to the new topic's accepts-web-file-names-ref or ID so existing external links don't break.

Style rules (stylechecks.xml)

The style checker enforces these (selected important ones):

  • click not "click on"
  • checkbox not "check-box" or "check box"
  • dialog not "dialog box" or "dialogue"
  • for example not "e.g."
  • that is not "i.e."
  • and so on not "etc."
  • plugin not "plug-in"
  • popup not "pop-up"
  • list not "drop-down list" or "list box"
  • option not "radio button"
  • field not "text box"
  • filename not "file name" or "file-name"
  • Avoid: "please", "simply", "a.k.a", "in question"

Branches

  • 2026.3 is the main branch (PRs target here)
  • Feature/version branches like 2026.3-build-chains are used for in-progress work on specific versions or topics

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.