Hi,everybody.
I came across a little question when I create the CAD model with WizardHole Feature. Just as follows, there are several sketch features in the feature design tree. However, part of these is attached with a parentheses containing a minus sign. In my opinion, it's a sketch that is not used to create other feature, I don't know if it's right. So, can someone answer what does this sign mean, and how can I recognize these sketches in the feature tree by the SolidWorks API? Thaks a lot.

It's an unconstrained sketch, so some elements of it are not fully dimensioned.
Side note, this should have been submitted as a Question post type, not an Idea post type.
Hello. The minus sign means that the sketch is under-defined. It it lacking either enough geometric constraints or dimensions to fully lock down the size/shape/orientation of the sketch entities..
In the case of the Hole Wizard example that you shared in the screen capture, the first sketch of the pair is the point sketch that locates the holes. Thus, the hole locations need to be located so that they don't move around when you edit that sketch and drag the points by clicking on them.
Visually, all the entities in a fully defined sketch will be black in color. Under-defined entities in a sketch will be blue in color. Keep in mind that a black entity might still have blue endpoints. For example, you sketch a vertical line and add a length dimension. It appears black but the endpoint is blue. You can drag the line around on the screen. When you drag it to the origin, the endpoints turn black. It is now fully defined in size (the dimension), orientation (the vertical constraint), and location (it is pinned coincident to the origin).
I hope this helps clarify things for you.
PS - For future postings, it is better to use the Question posting to ask technical questions. You'll get a lot more visibility on them. Idea posts are for suggesting software enhancements or forum/community improvements.
If you use the Hole Wizard to create slots (I don't know if this is the case here or not), then even if the points you place to define the locations are fully defined, the sketch may still show as not fully defined. That's because by default the construction line that controls the slot length is placed horizontal, but doesn't have a horizontal constraint. And to make it worse, the dimension usually covers it, so it's not readily apparent.
I try to remember to move the dimension out of the way and apply the Horizontal relation to the sketched line, but occasionally forget. One time when that happened I later edited something higher in the tree, and the slots were suddenly at a weird angle.
This is not an idea for enhancement so marking as out. You can still see this and engagements can continue – it just won't be part of the funnel. Please re-add as a Question if you still need help. Thank you.
Also mentioned in Help > FeatureManager Design Tree Conventions
https://help.solidworks.com/2021/English/SolidWorks/sldworks/c_FeatureManager_Design_Tree_Conventions.htm