Install any skill in seconds. Free to start, no credit card required.
Get Started Free →johannesrabauer/javafx-file-workflows-search
Build JavaFX file choosers, directory watches, import/export flows, and desktop search interfaces safely.
Passed 19 of 22 test cases with the skill, and 17 of 22 without it.
2 fixed17 passed either way3 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
In our JavaFX CSV tool, I added a FileChooser button handler that reads the entire file into the data model directly inside the setOnAction lambda. Is treating import as a single button action acceptable architectural practice?
| Checked | Without skill | With skill |
|---|---|---|
| Advises treating file import and export as multi-step product workflows rather than simple button handlers | Missed | Passed |
The instructions your model reads when the skill loads.
Use this skill when the application is file-centric: open/save flows, directory watching, CSV or structured imports, or desktop search and indexing tools.
import java.io.File;
import javafx.collections.FXCollections;
import javafx.collections.transformation.FilteredList;
import javafx.scene.control.ListView;
import javafx.scene.control.TextField;
import javafx.scene.layout.BorderPane;
import javafx.stage.FileChooser;
import javafx.stage.Window;
public class FileSearchView extends BorderPane {
private final FilteredList<String> files = new FilteredList<>(
FXCollections.observableArrayList("report.csv", "notes.txt", "summary.json"),
file -> true
);
public FileSearchView(Window owner) {
var query = new TextField();
query.setPromptText("Filter files");
query.textProperty().addListener((obs, oldValue, newValue) ->
files.setPredicate(name -> name.toLowerCase().contains(newValue.toLowerCase()))
);
var list = new ListView<>(files);
var chooser = new FileChooser();
chooser.setTitle("Open File");
list.setOnMouseClicked(event -> {
if (event.getClickCount() == 2) {
File selected = chooser.showOpenDialog(owner);
if (selected != null) {
files.getSource().add(selected.getName());
test cases passed, vs 17 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.