Skip to content

Conversation

@jabrena
Copy link
Owner

@jabrena jabrena commented Sep 17, 2025

Rationale for this change

Develop article from a topic present in a system prompt

What changes are included in this PR?

Added the behaviour
Tested with the creation of few articles

Are these changes tested?

Yes

Are there any user-facing changes?

No

Summary by CodeRabbit

  • New Features

    • Introduced an “Article writer” behavior to transform system prompts into polished technical articles.
  • Documentation

    • Published new blog posts: JFR profiling, Java Generics guide, AI-driven Java course, and Memory Leak Detection course.
    • Refreshed homepage, archive, feed, and multiple tag pages (including new jfr and java-25); migrated links to date-based URLs.
    • Updated README to include the Article writer behavior.
  • Chores

    • Upgraded Java to 25 in CI workflows and SDK configuration; docs updated to note Java 25 requirements.

@coderabbitai
Copy link

coderabbitai bot commented Sep 17, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

Introduces a new “Behaviour Article Writer” system-prompt (XML and accompanying docs), registers it in the prompt inventory, and updates documentation to reference it. Upgrades Java in CI and SDKMAN settings. Adds multiple new blog posts and reorganizes site content, archives, tags, feed, and index with new pages and adjusted paths.

Changes

Cohort / File(s) Summary
Behaviour prompt: Article Writer
system-prompts-generator/src/main/resources/behaviour-article-writer.xml, .cursor/rules/behaviour-article-writer.md, system-prompts-generator/src/test/java/info/jab/pml/SystemPromptsInventory.java
Adds a structured behaviour spec for article generation (XML resource and Markdown docs) and registers it in the inventory list.
Java version updates (tooling/CI)
.github/workflows/maven.yaml, .sdkmanrc, AGENTS.md
Bumps GitHub Actions Java to 25 in select jobs; switches SDKMAN Java from 25-amzn to 25-graalce; updates docs to state Java 25 requirement.
README behaviour list
README.md
Replaces two bullets with a new “Article writer” behaviour description and example.
Site generator: new blog sources
site-generator/content/blog/2025/09/*.md
Adds four new Markdown posts: memory leaks course, AI system prompts course, generics course guide, and JFR profiling article (tagged, dated, authored).
Docs: new blog pages
docs/blog/2025/09/*.html
Publishes static HTML for the four new blog posts (JFR, generics, AI prompts course, memory leaks course).
Docs: archive and homepage
docs/archive.html, docs/index.html, docs/2/index.html
Reorganizes archive to date-based URLs, updates homepage “Latest Posts,” and adds a new docs/2 index page.
Docs: feed updates
docs/feed.xml
Updates timestamps and entries; adds September 2025 posts; migrates older entries to date-based paths.
Docs: tag pages (added/updated)
docs/tags/java-25.html, docs/tags/jfr.html, docs/tags/*.html (advanced-patterns, ai-development, async-profiler, blog, crtp, educational-design, enterprise, flamegraph, generics, java, memory-leak, performance, profiling, progressive-learning, security, system-prompts, type-safety, validation, variance)
Adds new tag pages (java-25, jfr) and updates many tag listings to include new posts, reorder content, and shift from module-centric to blog-centric previews with new metadata.
Docs: path depth adjustments
docs/blog/2025/07/prompt-quality-framework.html, .../release-0.8.0.html, .../release-0.9.0.html, docs/blog/2025/09/release-0.10.0.html
Adjusts relative asset/link paths from ../../ to ../../../ to reflect deeper directory structure.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  actor Dev as Developer
  participant SPG as System Prompts Generator
  participant Inv as Inventory
  participant BA as Behaviour: Article Writer
  participant SG as Site Generator
  participant Docs as Static Site

  Dev->>SPG: Run generation
  SPG->>Inv: Load baseNames()
  Inv-->>SPG: ["...", "behaviour-article-writer", "..."]
  SPG->>BA: Apply behaviour to prompt
  BA-->>SPG: Structured article content (ANALYZE→PUBLISH)
  SPG-->>SG: Emit content for site
  SG->>Docs: Build HTML pages
  Docs-->>Dev: Updated blog, tags, feed
Loading
sequenceDiagram
  autonumber
  participant GH as GitHub Actions
  participant Setup as setup-java
  participant Maven as Maven Build
  participant Lint as Markdown Validator

  GH->>Setup: java-version: '25' (build jobs)
  Setup-->>GH: JDK 25 provisioned
  GH->>Maven: Build examples / generate site
  GH->>Lint: Validate Markdown (Java 24 step unchanged)
  Lint-->>GH: Validation result
  Maven-->>GH: Build result
Loading

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~60 minutes

Possibly related PRs

Poem

In moonlit repos I hop and compile,
Java 25 purrs with Graal’s sleek style.
New prompts bloom, an article quill—
Tags reshuffled, feeds refill.
From JFR tales to leaks we chase,
I stamp the site with whiskered grace.
Commit, carrot, merge—embrace! 🥕🐇

✨ Finishing touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/behabior-write-article

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 3f2a124 and 0a3da9f.

📒 Files selected for processing (44)
  • .cursor/rules/behaviour-article-writer.md (1 hunks)
  • .github/workflows/maven.yaml (1 hunks)
  • .sdkmanrc (1 hunks)
  • AGENTS.md (1 hunks)
  • README.md (1 hunks)
  • docs/2/index.html (1 hunks)
  • docs/archive.html (1 hunks)
  • docs/blog/2025/07/prompt-quality-framework.html (5 hunks)
  • docs/blog/2025/07/release-0.8.0.html (5 hunks)
  • docs/blog/2025/07/release-0.9.0.html (5 hunks)
  • docs/blog/2025/09/jfr-modern-java-profiling.html (1 hunks)
  • docs/blog/2025/09/mastering-java-generics-comprehensive-course-guide.html (1 hunks)
  • docs/blog/2025/09/mastering-java-with-ai-system-prompts-course.html (1 hunks)
  • docs/blog/2025/09/mastering-memory-leak-detection-comprehensive-course.html (1 hunks)
  • docs/blog/2025/09/release-0.10.0.html (5 hunks)
  • docs/feed.xml (4 hunks)
  • docs/index.html (2 hunks)
  • docs/tags/advanced-patterns.html (1 hunks)
  • docs/tags/ai-development.html (1 hunks)
  • docs/tags/async-profiler.html (2 hunks)
  • docs/tags/blog.html (5 hunks)
  • docs/tags/crtp.html (1 hunks)
  • docs/tags/educational-design.html (1 hunks)
  • docs/tags/enterprise.html (1 hunks)
  • docs/tags/flamegraph.html (1 hunks)
  • docs/tags/generics.html (2 hunks)
  • docs/tags/java-25.html (1 hunks)
  • docs/tags/java.html (3 hunks)
  • docs/tags/jfr.html (1 hunks)
  • docs/tags/memory-leak.html (7 hunks)
  • docs/tags/performance.html (2 hunks)
  • docs/tags/profiling.html (1 hunks)
  • docs/tags/progressive-learning.html (1 hunks)
  • docs/tags/security.html (1 hunks)
  • docs/tags/system-prompts.html (2 hunks)
  • docs/tags/type-safety.html (1 hunks)
  • docs/tags/validation.html (3 hunks)
  • docs/tags/variance.html (1 hunks)
  • site-generator/content/blog/2025/09/jfr-modern-java-profiling.md (1 hunks)
  • site-generator/content/blog/2025/09/mastering-java-generics-comprehensive-course-guide.md (1 hunks)
  • site-generator/content/blog/2025/09/mastering-java-with-ai-system-prompts-course.md (1 hunks)
  • site-generator/content/blog/2025/09/mastering-memory-leak-detection-comprehensive-course.md (1 hunks)
  • system-prompts-generator/src/main/resources/behaviour-article-writer.xml (1 hunks)
  • system-prompts-generator/src/test/java/info/jab/pml/SystemPromptsInventory.java (1 hunks)

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@jabrena jabrena merged commit 0aa4dc9 into main Sep 17, 2025
10 of 11 checks passed
@jabrena jabrena deleted the feature/behabior-write-article branch September 17, 2025 20:02
This was referenced Sep 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant