Skip to content

Commit 2e95767

Browse files
authored
Improving docs (#91)
* Improving docs * Improving checklist
1 parent de80b73 commit 2e95767

File tree

6 files changed

+21
-316
lines changed

6 files changed

+21
-316
lines changed

CHANGELOG.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,16 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [0.4.0-SNAPSHOT] - Unreleased
8+
## [0.4.0] - 2025-02-23
99

1010
### Added
1111

12-
- PML CLI tool (`pml`) for command-line operations with PML files
12+
- PML CLI tool (`pml`) for command-line operations with PML files (validate and convert commands)
13+
- `description` field in metadata element for PML schema (#89) to support Skills
14+
15+
### Removed
16+
17+
- `instructions` element from PML schema (#89) — use `metadata/description` instead
1318

1419
## [0.3.0] - 2025-11-10
1520

@@ -45,3 +50,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4550

4651
### Deprecated
4752
- `instructions` element in PML schema (marked for deprecation in future releases)
53+
54+
[0.4.0]: https://github.com/jabrena/pml/compare/0.3.0...0.4.0
55+
[0.3.0]: https://github.com/jabrena/pml/compare/0.2.0...0.3.0
56+
[0.2.0]: https://github.com/jabrena/pml/compare/0.1.0...0.2.0

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Java software engineers use XML daily because `Maven` is based on XML and it has
2323

2424
<groupId>info.jab.pml</groupId>
2525
<artifactId>prompt-markup-language</artifactId>
26-
<version>0.3.0</version>
26+
<version>0.4.0</version>
2727
<packaging>pom</packaging>
2828

2929
<name>prompt-markup-language</name>
@@ -144,7 +144,7 @@ In your prompts, you could have to include scripts like in this prompt:
144144
```xml
145145
<?xml version="1.0" encoding="UTF-8"?>
146146
<prompt xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
147-
xsi:noNamespaceSchemaLocation="https://jabrena.github.io/pml/schemas/0.3.0/pml.xsd">
147+
xsi:noNamespaceSchemaLocation="https://jabrena.github.io/pml/schemas/0.4.0/pml.xsd">
148148
<title>Install Java 25 in Cursor Cloud Agent</title>
149149

150150
<role>System Administrator with expertise in Java development environments and package management for Linux systems</role>
@@ -223,7 +223,7 @@ Prompts can be defined in 3 different ways:
223223
```xml
224224
<?xml version="1.0" encoding="UTF-8"?>
225225
<pml-workflow xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
226-
xsi:noNamespaceSchemaLocation="https://jabrena.github.io/pml/schemas/0.3.0-SNAPSHOT/pml-workflow.xsd">
226+
xsi:noNamespaceSchemaLocation="https://jabrena.github.io/pml/schemas/0.4.0/pml-workflow.xsd">
227227
<parallel src="prompt-toc.xml" bindResultType="List_Integer">
228228
<sequence model="default" repository="https://github.com/jabrena/wjax25-demos">
229229
<prompt src="prompt2.xml" bindResultExp="$get()"/>
@@ -238,10 +238,10 @@ The repository provides a CLI tool to convert PML files into Markdown in an easy
238238

239239
```bash
240240
./mvnw clean package
241-
java -jar cli/target/pml-to-md-0.4.0-SNAPSHOT.jar --help
242-
java -jar cli/target/pml-to-md-0.4.0-SNAPSHOT.jar validate cli/src/test/resources/pml/pml-hello-world.xml
243-
java -jar cli/target/pml-to-md-0.4.0-SNAPSHOT.jar convert cli/src/test/resources/pml/pml-hello-world-template.xml --template MESSAGE "Hello World"
244-
java -jar cli/target/pml-to-md-0.4.0-SNAPSHOT.jar convert cli/src/test/resources/pml/pml-hello-world-template-multiple.xml --template MESSAGE "Hello World" CHANNEL "Console"
241+
java -jar cli/target/pml-to-md-0.4.0.jar --help
242+
java -jar cli/target/pml-to-md-0.4.0.jar validate cli/src/test/resources/pml/pml-hello-world.xml
243+
java -jar cli/target/pml-to-md-0.4.0.jar convert cli/src/test/resources/pml/pml-hello-world-template.xml --template MESSAGE "Hello World"
244+
java -jar cli/target/pml-to-md-0.4.0.jar convert cli/src/test/resources/pml/pml-hello-world-template-multiple.xml --template MESSAGE "Hello World" CHANNEL "Console"
245245
```
246246

247247
## Java Bindings

cli/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
<resource>
6969
<directory>../schema/src/main/resources</directory>
7070
<includes>
71-
<include>*.xsd</include>
71+
<include>pml.xsd</include>
7272
</includes>
7373
</resource>
7474
</resources>

cli/src/main/resources/pml.xsd

Lines changed: 0 additions & 294 deletions
This file was deleted.

docs/schemas/0.4.0/pml.xsd

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
<xs:element ref="context" minOccurs="0"/>
1414
<xs:element ref="goal"/>
1515
<xs:element ref="constraints" minOccurs="0"/>
16-
<xs:element ref="instructions" minOccurs="0"/><!-- TODO: To be deprecated in the next releases (29/10/2025) -->
1716
<xs:element ref="steps" minOccurs="0" />
1817
<xs:element ref="examples" minOccurs="0"/>
1918
<xs:element ref="output-format" minOccurs="0"/>
@@ -59,15 +58,6 @@
5958
</xs:complexType>
6059
</xs:element>
6160

62-
<!-- Instructions section -->
63-
<xs:element name="instructions">
64-
<xs:complexType>
65-
<xs:sequence>
66-
<xs:element ref="steps"/>
67-
</xs:sequence>
68-
</xs:complexType>
69-
</xs:element>
70-
7161
<!-- Steps container -->
7262
<xs:element name="steps">
7363
<xs:complexType>

0 commit comments

Comments
 (0)